Hi,

you can clean up your page using a CompundPropertyModel for your form and a Model for dropDownChoice. I would make a chain of models passing Model to CompoundPropertyModel:

model = new Model(configType);//for dropDownChoice
CompoundPropertyModel cpm = new CompoundPropertyModel(model) //for form

Then change the id of your FormComponents in accordance with the name of the field they should read/write. In this way you don't need the code inside onUpdate, just leave 'target.add(form);'

Also, the drop down is not part of the form. Here's the HTML:


--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/DropDownChoice-selection-won-t-update-form-fields-tp4413980p4414035.html
Sent from the Users forum mailing list archive at Nabble.com.

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



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

Reply via email to