myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthias Wessendorf" <mat...@apache.org>
Subject Re: Documentation error: Trinidad
Date Fri, 16 Nov 2007 18:23:04 GMT
fixed it in SVN

thx,
Matthias

On Nov 16, 2007 12:47 PM, Neil Pitman <neil.pitman@mahjongmania.com> wrote:
> I'm not sure where to report this minor error.
>
> In http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_table.html,
> the sorting heading has the following example:
>
>   <tr:table value="...">
>       <tr:column sortProperty="firstname" sortable="true">
>         <f:facet name="header">
>           <tr:outputText value="Firstname" />
>         </f:facet>
>         ...
>       </tr:column>
>       <tr:column>
>         <f:facet name="header" sortProperty="lastname" sortable="true">
>           <tr:outputText value="Lastname" />
>         </f:facet>
>         ...
>       </tr:column>
>     </tr:table>
>
> The sortProperty and sortable attributes belong to the tr:column, not
> the f:facet. It should be:
>
>  <tr:table value="...">
>       <tr:column sortProperty="firstname" sortable="true">
>         <f:facet name="header">
>           <tr:outputText value="Firstname" />
>         </f:facet>
>         ...
>       </tr:column>
>       <tr:column sortProperty="lastname" sortable="true">
>         <f:facet name="header">
>           <tr:outputText value="Lastname" />
>         </f:facet>
>         ...
>       </tr:column>
>     </tr:table>
>
>



-- 
Matthias Wessendorf

further stuff:
blog: http://matthiaswessendorf.wordpress.com/
mail: matzew-at-apache-dot-org

Mime
View raw message