Hi,

My problem is simple, yet I can't solve it : I have 2 pages in my web
application. "Page 1" contains a <tr:table/> with page navigation (a
scroller) with items. Clicking on a item leads to "Page 2" which displays
the detail of the clicked item. A bean is associated to each page. I used to
store the DataModel in my "Page 1" Bean and to fetch the current row
(getRowData) in my "Page 2" and display the data. The problem is the my
cluster requires serializable components... DataModel is not.

I've seen a plenty of solutions but they are not detailed enought for me to
understand how to implant them. I would like to know the "right" way to do
this.

A solution I've heard of (not clear enought for me):

> A general JSF solution to this would be to store your data model (or
> whatever collection that drives the datamodel) in a session bean which
will
> serve as a data cache between requests. In the restore view phase - use
the
> cached version; in prerender phase refresh the cached list.  It ain't
pretty
> - but it worked for me.


Thanks in advance!

Reply via email to