I can't derive my Panels from FormComponentPanel because a strict
inheritance hierarchy of Panels is already in place. I've started
playing around with the Panels in question implementing
IFormVisitorParticipant and IFormModelUpdateListener and this seems to
be at least calling the validate and updateModel methods in my Panels
now - I think plain vanilla Panels are ignored by the Form processing
mechanism unless they implement these interfaces?

>-----Original Message-----
>From: Wilhelmsen Tor Iver [mailto:[email protected]]
>Sent: Monday, 11 April 2011 11:11 PM
>To: [email protected]
>Subject: RE: Form composed of Panel components
>
>Look into org.apache.wicket.markup.html.form.FormComponentPanel<T>
>
>- Tor Iver
>
>-----Original Message-----
>From: Chris Colman [mailto:[email protected]]
>Sent: 11. april 2011 15:08
>To: [email protected]
>Subject: Form composed of Panel components
>
>I have a complex form that I choose to break down into logical sub
Panel
>components and then add them as children to the Form.
>
>The sub Panels themselves then have FormComponents like text fields and
>DropDownChoice components added to them. Will the normal
validate/update
>mechanism simply work like that or do I need to override some methods
in
>my Panel classes or make the Panel classes implement certain interfaces
>(eg., IFormVisitorParticipant etc.,)?
>
>Chris Colman
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [email protected]
>For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to