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)); } }