You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by mk...@apache.org on 2007/03/05 00:39:17 UTC
svn commit: r514497 - /myfaces/tomahawk/trunk/core/src/site/xdoc/columns.xml
Author: mkienenb
Date: Sun Mar 4 15:39:17 2007
New Revision: 514497
URL: http://svn.apache.org/viewvc?view=rev&rev=514497
Log:
http://issues.apache.org/jira/browse/TOMAHAWK-917 -- Correcting t:columns example.
Modified:
myfaces/tomahawk/trunk/core/src/site/xdoc/columns.xml
Modified: myfaces/tomahawk/trunk/core/src/site/xdoc/columns.xml
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/site/xdoc/columns.xml?view=diff&rev=514497&r1=514496&r2=514497
==============================================================================
--- myfaces/tomahawk/trunk/core/src/site/xdoc/columns.xml (original)
+++ myfaces/tomahawk/trunk/core/src/site/xdoc/columns.xml Sun Mar 4 15:39:17 2007
@@ -55,12 +55,14 @@
<section name="Usage">
<source xml:space="preserve">
-<t:datatable value="#{rows}" var="row">
+<t:dataTable value="#{rows}" var="row">
<t:columns value="#{cols}" var="column">
- <f:facet name="header" value="#{column.name}"/>
+ <f:facet name="header">
+ <h:outputText value="#{column.name}"/>
+ </f:facet>
<h:outputText value="#{row.columnValue}"/>
</t:columns>
-</t:datatable>
+</t:dataTable>
</source>
</section>
<!-- Syntax -->