Re: serialize an object to a hidden field

2007-08-31 Thread Mike Kienenberger
Seems like a strange thing to do, but I guess you'd do it just like t:saveState. You'd point your h:hiddenText (is that the right name?) value to #{bean.objectState} and you'd have getObjectState serialize the object into a string, and setObjectState unserialize the object. On 8/31/07, Costa

Re: serialize an object to a hidden field

2007-08-31 Thread Costa Basil
Thank you. I need to pass some objects from a page to a dialog opened from that page and I do not want to use session objects. Mike Kienenberger [EMAIL PROTECTED] wrote: Seems like a strange thing to do, but I guess you'd do it just like t:saveState. You'd point your h:hiddenText (is that the

Re: serialize an object to a hidden field

2007-08-31 Thread Mike Kienenberger
If you're using client-side state saving, it's not using a session object. It's using a hidden field. Note also that if you're using server-side state saving and JSF 1.1, then you can't have multiple pages open at the same time for the same session. It's not supported. It does work with