[ 
http://issues.apache.org/jira/browse/TOMAHAWK-555?page=comments#action_12422211 
] 
            
Rogério Pereira Araújo commented on TOMAHAWK-555:
-------------------------------------------------

<t:dataTable id="tblResultado"
        headerClass="cabecalhoTabela"
        rowClasses="linhaTabelaNormal,linhaTabelaAlternada"
        var="item"
        value="#{bean.result}"
        preserveDataModel="false"
        renderedIfEmpty="false"
        sortable="true"                       
        sortColumn="#{bean.sortColumn}"
        sortAscending="#{bean.sortAscending}"
        preserveSort="true"                              
        rows="10">
                                  
    <t:column defaultSorted="true">
          <f:facet name="header">
              <h:outputText value="ID" />
          </f:facet>
          <h:inputText size="30" value="#{item.ID}" readonly="true"/>
    </t:column> 
</t:dataTable> 

> Sorting doesn't works on columns that doesn't have an UIOuput component inside
> ------------------------------------------------------------------------------
>
>                 Key: TOMAHAWK-555
>                 URL: http://issues.apache.org/jira/browse/TOMAHAWK-555
>             Project: MyFaces Tomahawk
>          Issue Type: Bug
>          Components: Extended Datatable, Column
>    Affects Versions: 1.1.5-SNAPSHOT
>            Reporter: Rogério Pereira Araújo
>
> If i have this column:
>       <t:column defaultSorted="true" sortable="true">
>            <f:facet name="header">
>                <h:outputText value="ID" />
>            </f:facet>
>            <h:inputText size="10" value="Some Value" readonly="true"/>
>       </t:column>
> the sort feature doesn't works.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to