• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

valuelist and jsf

 
Richard Green
Ranch Hand
Posts: 536
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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..
 
Richard Green
Ranch Hand
Posts: 536
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic