Hello,
I want to use FormComponentPanels in forms to deal with more complex
model-objects. I think it should be possible to chain the Model of every
FormComponentPanel to the Model of the Form. So every FormComponent has
automatically the right data in its Model when it changes. But somehow I
show us your code.
-igor
On Tue, May 5, 2009 at 10:04 AM, Marc Hauptmann wrote:
> Hello,
>
> I want to use FormComponentPanels in forms to deal with more complex
> model-objects. I think it should be possible to chain the Model of every
> FormComponentPanel to the Model of the Form. So every For
t null. Perhaps I did not use the Models correctly ...?
--
View this message in context:
http://www.nabble.com/Example-for-FormComponentPanel-best-practice-for-reusable-form-components-tp23391811p23393211.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
ue);
> cityField.add(StringValidator.lengthBetween(0, 50));
>
> this.add(streetField);
> this.add(postcodeField);
> this.add(cityField);
> }
> }
>
> After submitting the whole form (with an AjaxButton) the A
> this.add(streetField);
> this.add(postcodeField);
> this.add(cityField);
> }
> }
>
> After submitting the whole form (with an AjaxButton) the Address-Property
at
org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java:876)
--
View this message in context:
http://www.nabble.com/Example-for-FormComponentPanel-best-practice-for-reusable-form-components-tp23391811p23395642.html
Sent from the Wicket - User mailing list archive at N
.onFormSubmitted(Form.java:876)
> --
> View this message in context:
> http://www.nabble.com/Example-for-FormComponentPanel-best-practice-for-reusable-form-components-tp23391811p23395642.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---