You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by Apache Wiki <wi...@apache.org> on 2005/06/01 00:04:06 UTC

[Myfaces Wiki] Update of "UIColumn and UIData" by RigelKentaurus

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Myfaces Wiki" for change notification.

The following page has been changed by RigelKentaurus:
http://wiki.apache.org/myfaces/UIColumn_and_UIData

New page:
<h:dataTable id="books" columnClasses="column1Css,column2Css" headerClass="headerCss" rowClasses="rowCss"
  value="#{managedBean.aList}" var="item">   
	<h:column>

	<f:facet name="header">
		<h:outputText  value="Header content here" />
	</f:facet>

	<h:column>
		<f:facet name="header">Table column title</f:facet>
		<h:outputText value="#{item.property}" />
	</h:column>

	<h:column>
		<f:facet name="header">Table column title</f:facet>
		<h:outputText value="#{item.property2}" />
	</h:column>

	<f:facet name="footer">
		<h:outputText  value="Footer content here" />
	</f:facet>

</h:dataTable>