aspose file tools*
The moose likes JSF and the fly likes Icefaces AUTO SORT TABLE example Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Icefaces AUTO SORT TABLE example " Watch "Icefaces AUTO SORT TABLE example " New topic
Author

Icefaces AUTO SORT TABLE example

Srilakshmi Jayanthi
Greenhorn

Joined: Oct 29, 2007
Posts: 4
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

Joined: Jun 08, 2010
Posts: 16
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>


venubabu.ravi
Srilakshmi Jayanthi
Greenhorn

Joined: Oct 29, 2007
Posts: 4
Thanks Venu. But I am particularly looking at implementing icefaces composite component - <ice-cc:autoSortTable>

Any ideas?

Thanks!
 
wood burning stoves
 
subject: Icefaces AUTO SORT TABLE example
 
Similar Threads
Which one to use for AJAX in JSF???
Best AJAXable component in JSF ???
Code for replacing 'get' and 'set' method
datatable in icefaces
how to get browser name in a icefaces