You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Matthias Wessendorf <ma...@apache.org> on 2007/11/16 19:23:04 UTC
Re: Documentation error: Trinidad
fixed it in SVN
thx,
Matthias
On Nov 16, 2007 12:47 PM, Neil Pitman <ne...@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