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>

Reply via email to