Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Seam (BIRT) Recipe - sampleReportList.xhtml"
Line 1: | Line 1: | ||
− | < | + | <source lang="xml"> |
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | <!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | ||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
Line 54: | Line 54: | ||
</ui:composition> | </ui:composition> | ||
− | </ | + | </source> |
Latest revision as of 15:46, 12 June 2008
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:s="http://jboss.com/products/seam/taglib" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" template="layout/template.xhtml"> <ui:define name="body"> <h:messages globalOnly="true" styleClass="message"/> <rich:panel> <f:facet name="header">sampleReportList</f:facet> <div class="results"> <h:outputText value="No sampleReport exists" rendered="#{empty sampleReportList.resultList}"/> <h:dataTable id="sampleReportList" var="sampleReport" value="#{sampleReportList.resultList}" rendered="#{not empty sampleReportList.resultList}"> <h:column> <f:facet name="header">Id</f:facet> #{sampleReport.id} </h:column> <h:column> <f:facet name="header">Name</f:facet> <s:link id="sampleReport" value="#{sampleReport.name}" view="/sampleReport.xhtml"> <f:param name="sampleReportId" value="#{sampleReport.id}"/> </s:link> </h:column> </h:dataTable> </div> </rich:panel> <div class="actionButtons"> <s:button id="done" value="Create sampleReport" view="/sampleReport.xhtml"/> <s:button id="report" value="Report" view="/sample.pdf?ReportName=report.rptdesign" /> </div> </ui:define> </ui:composition>