Re: T5: pass value between components in different pages

2008-05-06 Thread DavidWei
Thanks for your suggestion. Actually it is not caused by session timeout, because by default session timeout is 30 min. In my case, I refresh page just after 10 min. I think the way I was doing somehow the value/reference of value was cleared by T5. joshcanfield wrote: > > Instead of persisting

Re: T5: pass value between components in different pages

2008-05-05 Thread Josh Canfield
Instead of persisting the id in the component, why not keep the id in the page's context and pass it to the component as a @Parameter? If you store stuff in the session then your component needs to be smart about what to do when the @Persist'd object is null after a session timeout. On Mon, May 5

T5: pass value between components in different pages

2008-05-05 Thread DavidWei
I have two pages, list and edit pages. Each page contains one or more components. From list page, I use an actionlink to pass the item id as Long to edit page, which I have a setter to set this id in the component which I like to use (in which I persist this passed id). Everything is working we