BTW, is Trinidad's concept of "processState" trying to solve the same problem?
Naresh -----Original Message----- From: Naresh Bhatia [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 29, 2006 11:16 PM To: MyFaces Discussion Subject: RE: Saving state in page Tom, Great links - just what I was looking for. I really liked an embedded reference to http://bugs.sakaiproject.org/confluence/pages/viewpage.action?pageId=498 1&showComments=true. Thanks so much. Naresh -----Original Message----- From: Tom Innes [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 29, 2006 2:17 PM To: 'MyFaces Discussion' Subject: RE: Saving state in page Take a look at these two wiki pages 1. saveState Component - Very Good provided you are not using Re-Direct. http://wiki.apache.org/myfaces/SaveState 2. The sandboxes conversation Component - I currently use this one in my application http://wiki.apache.org/myfaces/ConversationTag Tom -----Original Message----- From: Naresh Bhatia [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 29, 2006 1:52 PM To: MyFaces Discussion Subject: Saving state in page I have a very basic JSF question - how to save state in a page? I have the following situation, Page A navigates to page B through a link. The link has a request parameter in it, say productId=12. How do I make page B remember that it was invoked with productId=12? I do not want to use managed beans with session scope (trying to avoid session scope all together). I can think of two ("traditional") approaches: a) save the productId in a hidden form variable (h:inputHidden) making it available when the page is posted back b) add the productId as a request parameter on links on the page. Are there other ways to do this - perhaps there is a preferred JSF way? Is javax.faces.STATE_SAVING_METHOD somehow related to this? Thanks. Naresh

