You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by mb...@apache.org on 2005/09/01 11:05:15 UTC
svn commit: r265676 -
/myfaces/forrest/trunk/content/xdocs/tomahawk/extDataTable.xml
Author: mbr
Date: Thu Sep 1 02:05:12 2005
New Revision: 265676
URL: http://svn.apache.org/viewcvs?rev=265676&view=rev
Log:
add doc for missing t:datatable attributes
Modified:
myfaces/forrest/trunk/content/xdocs/tomahawk/extDataTable.xml
Modified: myfaces/forrest/trunk/content/xdocs/tomahawk/extDataTable.xml
URL: http://svn.apache.org/viewcvs/myfaces/forrest/trunk/content/xdocs/tomahawk/extDataTable.xml?rev=265676&r1=265675&r2=265676&view=diff
==============================================================================
--- myfaces/forrest/trunk/content/xdocs/tomahawk/extDataTable.xml (original)
+++ myfaces/forrest/trunk/content/xdocs/tomahawk/extDataTable.xml Thu Sep 1 02:05:12 2005
@@ -71,9 +71,27 @@
[ forceIdIndexFormula="value-binding" ]
[ sortColumn="value-binding" ]
[ sortAscending="value-binding" ]
- [ preserveSort="{true|false}" ] >
- standard dataTable body (<h:column> tags and optional "header" and "footer" facets)
- </t:command_sortheader>
+ [ preserveSort="{true|false}" ]
+ [ renderedIfEmpty="{true|false}" ]
+ [ rowIndexVar="variable name" ]
+ [ rowCountVar="variable name" ]
+ [ previousRowDataVar="variable name" ]
+ [ rowId="value-binding" ]
+ [ rowOnClick="javascript" ]
+ [ rowOnDblClick="javascript" ]
+ [ rowOnMouseDown="javascript" ]
+ [ rowOnMouseUp="javascript" ]
+ [ rowOnMouseOver="javascript" ]
+ [ rowOnMouseMove="javascript" ]
+ [ rowOnMouseOut="javascript" ]
+ [ rowOnKeyPress="javascript" ]
+ [ rowOnKeyDown="javascript" ]
+ [ rowOnKeyUp="javascript" ] >
+ standard dataTable body (<h:column> tags
+ and optional "header" and "footer" facets)
+ <t:column>
+ <t:columns>
+ <t:command_sortheader/> inside column header or footer
<t:dataTable>
</source>
</section>
@@ -88,6 +106,34 @@
<code>sortColumn="value-binding"</code><br/>
<code>sortAscending="value-binding"</code><br/>
<code>preserveSort="{true|false}"</code><br/>
+ <code>renderedIfEmpty="{true|false}"</code> - Indicates whether this
+ table should be rendered if the underlying DataModel is empty.<br/>
+ <code>rowIndexVar="variable name"</code> - A parameter name, under
+ which the current rowIndex is set in request scope similar to the
+ var parameter.<br/>
+ <code>rowCountVar="variable name"</code> - A parameter name,
+ under which the rowCount is set in request scope similar to the
+ var parameter.<br/>
+ <code>previousRowDataVar="variable name"</code> - A parameter name,
+ under which the previous RowData Object is set in request scope
+ similar to the rowIndexVar and rowCountVar parameters.<br/>
+ <code>rowId="value-binding"</code> - The id to use for <tr>
+ elements that are generated by the table.<br/>
+ <br/>
+ Each event handler must evaluate to a javascript code which is
+ executed on the client side. The event handler are used for the
+ <tr> tag of the row.<br/>
+ You can use value-bindings for row specific event handler.<br/>
+ <code>rowOnClick="javascript"</code><br/>
+ <code>rowOnDblClick="javascript"</code><br/>
+ <code>rowOnMouseDown="javascript"</code><br/>
+ <code>rowOnMouseUp="javascript"</code><br/>
+ <code>rowOnMouseOver="javascript"</code><br/>
+ <code>rowOnMouseMove="javascript"</code><br/>
+ <code>rowOnMouseOut="javascript"</code><br/>
+ <code>rowOnKeyPress="javascript"</code><br/>
+ <code>rowOnKeyDown="javascript"</code><br/>
+ <code>rowOnKeyUp="javascript"</code><br/>
</note>
</section>