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">
-&lt;t:datatable value="#{rows}" var="row"&gt;
+&lt;t:dataTable value="#{rows}" var="row"&gt;
     &lt;t:columns value="#{cols}" var="column"&gt;
-        &lt;f:facet name="header" value="#{column.name}"/&gt;
+        &lt;f:facet name="header"&gt;
+            &lt;h:outputText value="#{column.name}"/&gt;
+        &lt;/f:facet&gt;
         &lt;h:outputText value="#{row.columnValue}"/&gt;
     &lt;/t:columns&gt;
-&lt;/t:datatable&gt;
+&lt;/t:dataTable&gt;
             </source>
         </section>
         <!-- Syntax -->