There's no real advantage of using StateHolder over Serializable. Whichever one you like is fine. Neither will initialize/preserve your managed properties without your intervention. You may as well stick with Serializable if you've already got that in place.
On 11/18/05, Mario Ivankovits <[EMAIL PROTECTED]> wrote: > Mike Kienenberger wrote: > > Well, you can either implement StateHolder and restore the values in > > restoreState > If I implement StateHolder the bean will be created using the default > faces routines, right? > So this will initialize the properties as described by the > managed-property, isnt it? > > This will be great, I'll try this. > > If this works, next thing will be to create some helper class which will > create/read the save/restoreState structure using reflection and > skipping transient members. > > Thanks! > --- > Mario > >

