public String getXhtmlContent(boolean isTest) throws Exception { Project project = context.getProject(); Application application = context.getApplication(); Buf buf = new Buf(); buf.putLine("<?xml version=\"1.0\" encoding=\"UTF-8\"?>"); buf.putLine(); buf.putLine( "<!DOCTYPE composition PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">"); buf.putLine(); buf.putLine("<ui:composition"); buf.putLine(" xmlns=\"http://www.w3.org/1999/xhtml\""); buf.putLine(" xmlns:h=\"http://java.sun.com/jsf/html\""); buf.putLine(" xmlns:f=\"http://java.sun.com/jsf/core\""); buf.putLine(" xmlns:c=\"http://java.sun.com/jstl/core\""); buf.putLine(" xmlns:ui=\"http://java.sun.com/jsf/facelets\""); buf.putLine(" xmlns:s=\"http://jboss.com/products/seam/taglib\""); buf.putLine(" xmlns:a4j=\"http://richfaces.org/a4j\""); buf.putLine(" xmlns:rich=\"http://richfaces.org/rich\""); buf.putLine(" xmlns:aries=\"http://aries.org/jsf\">"); buf.putLine(); buf.putLine1("<script type=\"text/javascript\">"); buf.putLine1( " var userListTableHighlighter = new org.aries.view.table.UserSelectHighlighter('#fff', '#ddecff', '#eeeeff');"); buf.putLine1("</script>"); buf.putLine(); buf.putLine1("<a4j:outputPanel id=\"userListTablePanel\">"); buf.putLine1(" <ui:include src=\"userListMenu.xhtml\"/>"); buf.putLine(); buf.putLine1(" <rich:panel"); buf.putLine1(" bodyClass=\"panelBody\""); buf.putLine1( " style=\"width: auto; height: auto; max-height: #{globals.screenHeight-198}px; padding: 0px; margin: 0px; border-bottom-width: 0px; overflow: auto; overflow-y: scroll\">"); buf.putLine(); buf.putLine1(" <h:panelGroup"); buf.putLine1(" layout=\"block\""); buf.putLine1(" rendered=\"#{userListManager.userList.rowCount == 0}\""); buf.putLine1( " style=\"width: auto; height: 20px; padding-top: 4px; padding-left: 2px; border: 0px solid #C3BBB6;\">"); buf.putLine1( " <h:outputText styleClass=\"label\" value=\"No records to display\" style=\"font-size: 12px\"/>"); buf.putLine1(" </h:panelGroup>"); buf.putLine(); buf.putLines(1, generateTable()); buf.putLine1(" </rich:panel>"); buf.putLine1("</a4j:outputPanel>"); buf.putLine("</ui:composition>"); return buf.get(); }