This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Icefaces AUTO SORT TABLE example

 
Srilakshmi Jayanthi
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Can anyone please give me a small working example of ICEFaces composite component AutoSortTable. I am looking for a basic implementation.

Any help is greatly appreciated.

Thanks!
 
Venu Babu Ravi
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The follwing is just sample for how to display list using ice faces dataTable.

<ice:dataTable value="#{workFlow.searchParameterList}" var = "search">
<ice:column>
<f:facet name="header">
<iceutputText value="Vendor name"/>
</f:facet>

<ice:selectInputText id="vendorName" styleClass="default"
value="#{search.vendorName}"
valueChangeListener="#{invoiceList.searchVendorList}">
<f:selectItems value="#{invoiceList.invoiceBeanDto.vendorMatchPossibilities}" />
</ice:selectInputText>
</ice:column>
<ice:column>
<f:facet name="header">
<iceutputText value="Invoice Number"/>
</f:facet>
<ice:inputText value = "#{search.invoiceNo}" rendered="true" styleClass="default"/>
</ice:column>
<ice:column>
<f:facet name="header">
<iceutputText value="Invoice Date"/>
</f:facet>
<ice:selectInputDate id="invoiceDate"
value = "#{search.invoiceDate}" popupDateFormat="MM/dd/yyyy" renderAsPopup="true" styleClass="default"/>
</ice:column>
<ice:column>
<f:facet name="header">
<iceutputText value="Dollar Value"/>
</f:facet>
<ice:inputText value="#{search.invoiceammount}" rendered="true" styleClass="default"/>
</ice:column>
<ice:column>
<f:facet name="header">
<iceutputText value="Action"/>
</f:facet>
<ice:commandButton value="Search Invoice" action="#{workFlow.searchWorkBasket}"></ice:commandButton>
</ice:column>
</ice:dataTable>
 
Srilakshmi Jayanthi
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Venu. But I am particularly looking at implementing icefaces composite component - <ice-cc:autoSortTable>

Any ideas?

Thanks!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic