• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

Icefaces AUTO SORT TABLE example

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!
 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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">
<ice:outputText 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">
<ice:outputText value="Invoice Number"/>
</f:facet>
<ice:inputText value = "#{search.invoiceNo}" rendered="true" styleClass="default"/>
</ice:column>
<ice:column>
<f:facet name="header">
<ice:outputText 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">
<ice:outputText value="Dollar Value"/>
</f:facet>
<ice:inputText value="#{search.invoiceammount}" rendered="true" styleClass="default"/>
</ice:column>
<ice:column>
<f:facet name="header">
<ice:outputText 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Venu. But I am particularly looking at implementing icefaces composite component - <ice-cc:autoSortTable>

Any ideas?

Thanks!
 
Everyone is a villain in someone else's story. Especially this devious tiny ad:
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic