Parent Directory | Revision Log | Patch
--- myfaces/site/tlddoc/x/dataTable.html 2005/05/08 15:47:03 169137 +++ myfaces/site/tlddoc/x/dataTable.html 2005/05/08 15:50:34 169138 @@ -75,148 +75,166 @@ <td><b>Name</b></td><td><b>Required</b></td><td><b>Request-time</b></td><td><b>Type</b></td><td><b>Description</b></td> </tr> <tr valign="top"> -<td>id</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td>Every component may have an unique id. Automatically created if omitted.</td> +<td>align</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> </tr> <tr valign="top"> -<td>rendered</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td>If false, this component will not be rendered.</td> +<td>bgcolor</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> </tr> <tr valign="top"> <td>binding</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td>Component binding.</td> </tr> <tr valign="top"> -<td>dir</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> -</tr> -<tr valign="top"> -<td>lang</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> -</tr> -<tr valign="top"> -<td>style</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> +<td>border</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> </tr> <tr valign="top"> -<td>title</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> +<td>cellpadding</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> </tr> <tr valign="top"> -<td>styleClass</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td>Corresponds to the HTML class attribute.</td> +<td>cellspacing</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> </tr> <tr valign="top"> -<td>onclick</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> +<td>columnClasses</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> </tr> <tr valign="top"> -<td>ondblclick</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> +<td>datafld</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> </tr> <tr valign="top"> -<td>onmousedown</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> +<td>dataformatas</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> </tr> <tr valign="top"> -<td>onmouseup</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> +<td>datasrc</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> </tr> <tr valign="top"> -<td>onmouseover</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> +<td>dir</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> </tr> <tr valign="top"> -<td>onmousemove</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> +<td>enabledOnUserRole</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td> + If user is in given role, this component will be rendered + normally. If not, no hyperlink is rendered but all nested + tags (=body) are rendered. + </td> </tr> <tr valign="top"> -<td>onmouseout</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> +<td>first</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> </tr> <tr valign="top"> -<td>onkeypress</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> +<td>footerClass</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> </tr> <tr valign="top"> -<td>onkeydown</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> +<td>forceId</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td>If true, this component will force the use of the specified id when rendering.</td> </tr> <tr valign="top"> -<td>onkeyup</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> +<td>forceIdIndex</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td> + If false, this component will not append a '[n]' suffix (where 'n' is the row index) to components + that are contained within a "list." This value will be true by default and the value will be ignored if + the value of forceId is false (or not specified.) + </td> </tr> <tr valign="top"> -<td>align</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> +<td>frame</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> </tr> <tr valign="top"> -<td>border</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> +<td>headerClass</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> </tr> <tr valign="top"> -<td>bgcolor</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> +<td>id</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td>Every component may have an unique id. Automatically created if omitted.</td> </tr> <tr valign="top"> -<td>cellpadding</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> +<td>lang</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> </tr> <tr valign="top"> -<td>cellspacing</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> +<td>onclick</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> </tr> <tr valign="top"> -<td>datafld</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> +<td>ondblclick</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> </tr> <tr valign="top"> -<td>datasrc</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> +<td>onkeydown</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> </tr> <tr valign="top"> -<td>dataformatas</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> +<td>onkeypress</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> </tr> <tr valign="top"> -<td>frame</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> +<td>onkeyup</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> </tr> <tr valign="top"> -<td>rules</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> +<td>onmousedown</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> </tr> <tr valign="top"> -<td>summary</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> +<td>onmousemove</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> </tr> <tr valign="top"> -<td>width</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> +<td>onmouseout</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> </tr> <tr valign="top"> -<td>value</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td>Supported types see JSF Spec 4.1.3</td> +<td>onmouseover</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> </tr> <tr valign="top"> -<td>var</td><td>true</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> +<td>onmouseup</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> </tr> <tr valign="top"> -<td>rows</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> +<td>preserveDataModel</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td> + Indicates whether the state of the whole DataModel should be saved and + restored. + Default: false + </td> </tr> <tr valign="top"> -<td>first</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> +<td>preserveSort</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td> + Indicates whether the state of the sortColumn and sortAscending attribute + should be saved and restored and written back to the model during the + update model phase. + Default: true + </td> </tr> <tr valign="top"> -<td>columnClasses</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> +<td>previousRowDataVar</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td> + A parameter name, under which the previous RowData Object is set in request scope + similar to the rowIndexVar and rowCountVar parameters. + Mind that the value of this request scope attribute is null in the first row + or when isRowAvailable returns false for the previous row. + </td> </tr> <tr valign="top"> -<td>footerClass</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> +<td>rendered</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td>If false, this component will not be rendered.</td> </tr> <tr valign="top"> -<td>headerClass</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> +<td>renderedIfEmpty</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td> + Indicates whether this table should be rendered if the underlying DataModel is + empty. + You could as well use rendered="#{not empty bean.list}", but this one causes + the getList method of your model bean beeing called up to five times per + request, which is not optimal when the list is backed by a DB table. + Using renderedIfEmpty="false" solves this problem, because the MyFaces + extended HtmlDataTable automatically caches the DataModel and calles the + model getter only once per request. + Default: true + </td> </tr> <tr valign="top"> <td>rowClasses</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> </tr> <tr valign="top"> -<td>forceId</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td>If true, this component will force the use of the specified id when rendering.</td> +<td>rowCountVar</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td> + A parameter name, under which the rowCount is set in request scope + similar to the var parameter. + </td> </tr> <tr valign="top"> -<td>forceIdIndex</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td> - If false, this component will not append a '[n]' suffix (where 'n' is the row index) to components - that are contained within a "list." This value will be true by default and the value will be ignored if - the value of forceId is false (or not specified.) +<td>rowIndexVar</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td> + A parameter name, under which the current rowIndex is set in request scope + similar to the var parameter. </td> </tr> <tr valign="top"> -<td>enabledOnUserRole</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td> - If user is in given role, this component will be rendered - normally. If not, no hyperlink is rendered but all nested - tags (=body) are rendered. - </td> +<td>rows</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> </tr> <tr valign="top"> -<td>visibleOnUserRole</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td> - If user is in given role, this component will be rendered - normally. If not, nothing is rendered and the body of this tag - will be skipped. - </td> +<td>rules</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> </tr> <tr valign="top"> -<td>preserveDataModel</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td> - Indicates whether the state of the whole DataModel should be saved and - restored. - Default: false +<td>sortAscending</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td> + Value reference to a model property that gives the current sort direction. </td> </tr> <tr valign="top"> @@ -225,51 +243,33 @@ </td> </tr> <tr valign="top"> -<td>sortAscending</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td> - Value reference to a model property that gives the current sort direction. - </td> +<td>style</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> </tr> <tr valign="top"> -<td>preserveSort</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td> - Indicates whether the state of the sortColumn and sortAscending attribute - should be saved and restored and written back to the model during the - update model phase. - Default: true - </td> +<td>styleClass</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td>Corresponds to the HTML class attribute.</td> </tr> <tr valign="top"> -<td>renderedIfEmpty</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td> - Indicates whether this table should be rendered if the underlying DataModel is - empty. - You could as well use rendered="#{not empty bean.list}", but this one causes - the getList method of your model bean beeing called up to five times per - request, which is not optimal when the list is backed by a DB table. - Using renderedIfEmpty="false" solves this problem, because the MyFaces - extended HtmlDataTable automatically caches the DataModel and calles the - model getter only once per request. - Default: true - </td> +<td>summary</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> </tr> <tr valign="top"> -<td>rowIndexVar</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td> - A parameter name, under which the current rowIndex is set in request scope - similar to the var parameter. - </td> +<td>title</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> </tr> <tr valign="top"> -<td>rowCountVar</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td> - A parameter name, under which the rowCount is set in request scope - similar to the var parameter. - </td> +<td>value</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td>Supported types see JSF Spec 4.1.3</td> </tr> <tr valign="top"> -<td>previousRowDataVar</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td> - A parameter name, under which the previous RowData Object is set in request scope - similar to the rowIndexVar and rowCountVar parameters. - Mind that the value of this request scope attribute is null in the first row - or when isRowAvailable returns false for the previous row. +<td>var</td><td>true</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> +</tr> +<tr valign="top"> +<td>visibleOnUserRole</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td> + If user is in given role, this component will be rendered + normally. If not, nothing is rendered and the body of this tag + will be skipped. </td> </tr> +<tr valign="top"> +<td>width</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> +</tr> </table> <br> <p></p>
infrastructure at apache.org | ViewVC Help |
Powered by ViewVC 1.1.26 |