public UISampleResourcesBrowser() throws Exception {
      UIRepeater uiRepeater = createUIComponent(UIRepeater.class, null, null);
      uiRepeater.configure("id", RESOURCE_LIST, RESOURCE_ACTION);

      UIVirtualList virtualList = addChild(UIVirtualList.class, null, null);
      virtualList.setPageSize(10);
      virtualList.setUIComponent(uiRepeater);
    }
 public void loadResources() throws Exception {
   try {
     ResourceBundleService resBundleServ = getApplicationComponent(ResourceBundleService.class);
     org.exoplatform.services.resources.Query lastQuery_ =
         new org.exoplatform.services.resources.Query(null, null);
     PageList pageList = resBundleServ.findResourceDescriptions(lastQuery_);
     UIVirtualList virtualList = getChild(UIVirtualList.class);
     virtualList.dataBind(pageList);
   } catch (Exception e) {
     UIApplication uiApp = Util.getPortalRequestContext().getUIApplication();
     uiApp.addMessage(new ApplicationMessage("UISearchForm.msg.empty", null));
   }
 }