jQuery in Action, 2nd edition*
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 Android Security Essentials Live Lessons this week in the Android 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!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Icefaces AUTO SORT TABLE example
 
Similar Threads
Best AJAXable component in JSF ???
datatable in icefaces
Which one to use for AJAX in JSF???
how to get browser name in a icefaces
Code for replacing 'get' and 'set' method