On Thu, May 31, 2007, Ben Sommerville wrote: > For a form I'd say the best place to create those compound objects > is in the onPrepare method. This will be invoked before any processing/ > rendering occurs. (see the Form component subsection of > http://tapestry.apache.org/tapestry5/tapestry-core/guide/validation.html) > > Another option is the pageAttached method (invoked when page > is attached to the request) which is documented at > http://tapestry.apache.org/tapestry5/tapestry-core/guide/lifecycle.html
Hmm, having tried both these options this leads to the objects being replaced by defaults before the resultpage after a submit is created, thus my submit results (the variables are annotated with "@Persist") get lost. Or am I misunderstanding something completely? Cheers, Martin -- ----------- / http://herbert.the-little-red-haired-girl.org / ------------- =+= Wie verhindert man, dass einem die Geige gestohlen wird? Man legt sie in einen Bratschenkasten... --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]