You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by im...@apache.org on 2006/03/02 13:34:16 UTC

svn commit: r382365 - /myfaces/tomahawk/trunk/examples/simple/src/main/webapp/optDataTable.jsp

Author: imario
Date: Thu Mar  2 04:34:14 2006
New Revision: 382365

URL: http://svn.apache.org/viewcvs?rev=382365&view=rev
Log:
adjusted sample to debug TOMAHAWK-170

Modified:
    myfaces/tomahawk/trunk/examples/simple/src/main/webapp/optDataTable.jsp

Modified: myfaces/tomahawk/trunk/examples/simple/src/main/webapp/optDataTable.jsp
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/trunk/examples/simple/src/main/webapp/optDataTable.jsp?rev=382365&r1=382364&r2=382365&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/examples/simple/src/main/webapp/optDataTable.jsp (original)
+++ myfaces/tomahawk/trunk/examples/simple/src/main/webapp/optDataTable.jsp Thu Mar  2 04:34:14 2006
@@ -69,10 +69,14 @@
 			var="currentCountry"
 			value="#{countryList.countries}"
 			preserveDataModel="true">
+			<f:facet name="header">
+				<h:outputText value="The Table Header" />
+			</f:facet>
 			<h:column>
 				<f:facet name="header">
 					<h:outputText
 							value="#{example_messages['label_country_name']}"
+							rendered="#{countryForm.renderHeader}"
 							/>
 				</f:facet>
 				<f:facet name="footer">
@@ -98,6 +102,9 @@
 				<h:outputText value="#{currentCountry.isoCode}" />
 			</h:column>
 
+			<f:facet name="footer">
+				<h:outputText value="tHE tABLE fOOTER" />
+			</f:facet>
 		</t:dataTable>
 
 		<f:verbatim>