Hello,

And this
               <h:column>
                   <f:facet name="header">
                       <t:panelGroup styleClass="standardTable_Column">
                           <t:panelGrid columns="1">
                               <t:commandSortHeader
columnName="articlenumberCustomer" arrow="true" immediate="true">
                                   <h:outputText id="column2"
value="#{curriculo_labels['sort_number_buyer']}" />
                               </t:commandSortHeader>
                           </t:panelGrid>
                       </t:panelGroup>
                   </f:facet>
                   <t:commandLink title="#{abrufe.itemNumberBuyer}"
value="#{abrufe.itemNumberBuyer}" action="go_schedule_details">
                       <f:param name="itemNumberBuyer" value="#{
abrufe.itemNumberBuyer}"/>
                   </t:commandLink>
               </h:column>

Hier I have a a component commandSortHeader with the columnName

Is these not right?


2007/3/26, Simon Kitching <[EMAIL PROTECTED]>:

Edney Imme wrote:
> Hello Simon
>
> sortAscending = PagedDeliverySchedulesort.ascending  will return true.
>
> and by          sortColumn i need do input a string. ?

Yes.

public void setAscending(boolean state) {this.ascending=state;}
public boolean getAscending() { return ascending;}

public void setSortColumn(String columnName) {
   this.sortColumn=columnName;
}

public String getSortColumn() {
   return columnName;
}

then the method that is referred to by the datatable "value" attribute
needs to look at this.ascending and this.columnName and return its data
in the appropriate order.

Regards,

Simon




--
Att.
Edney Marcel Imme

Reply via email to