Hello,

Suppose that you have a simple one to one relationship for example:
Patient has an Address.
Since an Address can be used somewhere else in the code, for adding a
new one, you  have to create a simple AdressPanel with a form
inside...

So, how can I reuse this component in the PatientPanel ? because in
this Panel I will also have a form, with also a submit button..
For the model, I think I can do something like
add(new AddressPanel(new PropertyModel(patientModel,"address"))

but how the form can be merged ?

Thanks for help

Arnaud

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to