File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes valuelist and jsf Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "valuelist and jsf" Watch "valuelist and jsf" New topic
Author

valuelist and jsf

Richard Green
Ranch Hand

Joined: Aug 25, 2005
Posts: 536
I trying to display large volume of search results (1000-3000 rows) on my JSF page. And here are my options:-

1.DisplayTag and JSF
DisplayTag is a popular candidate. Matt Raible has posted an example of JSF-DisplayTag integration. But I read somewhere that the performance degrades and the page takes more than 40 seconds to load when there are more than 2000 search results. It makes sense, as the search results are stored in the session in this approach.

2.ValueListHandlerTag and JSF
This tag uses the ValueListHandler J2EE pattern. But I could not find any examples of how to integrete this with JSF. Has any one tried this before?

3.Custom JSF Compoenent
Similar to the option above. Except that it would involve me writing a custom jsf component that uses the ValueListHandler pattern (call a stateful session bean to fetch the rows for the current page).

4.MyFaces DataTable
http://www.irian.at/cagatay-validation-sandbox/selectOneRow.jsf
Havn't used this before. Is it any good?

So, these are the options I have. Any suggestions..


MCSD, SCJP, SCWCD, SCBCD, SCJD (in progress - URLybird 1.2.1)
Richard Green
Ranch Hand

Joined: Aug 25, 2005
Posts: 536
Oh, I read that Display Tag 1.1 supports valuelisthandler pattern. but I am yet to see any examples using that.
http://displaytag.sourceforge.net/11/tut_externalSortAndPage.html
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: valuelist and jsf