serialize an object to a hidden field

2007-08-31 Thread Costa Basil
How do I serialize an object in a hidden field (as opposed to using saveState and having its state meshed somewhere else along with the other components)? Thanks - Be smarter than spam. See how smart SpamGuard is at giving junk email the boot

Re: serialize an object to a hidden field

2007-08-31 Thread Mike Kienenberger
Basil [EMAIL PROTECTED] wrote: How do I serialize an object in a hidden field (as opposed to using saveState and having its state meshed somewhere else along with the other components)? Thanks Be smarter than spam. See how smart SpamGuard is at giving junk

Re: serialize an object to a hidden field

2007-08-31 Thread Costa Basil
(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 Basil wrote: How do I serialize an object in a hidden field (as opposed to using saveState and having its state meshed

Re: serialize an object to a hidden field

2007-08-31 Thread Mike Kienenberger
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 Basil wrote: How do I serialize an object