I have a DropDownChoice that should update some form fields when the user selects an item. My selection-changed-listener code is along the lines of:
form.modelChanging(); T obj = model.getObject(); obj.setFoo(newSelection.getFoo()); obj.setBar(newSelection.getBar()); form.modelChanged(); form.clearInput(); form.visitChildren(); The problem is that without clearInput() the form fields do not update, while with clearInput they do update, but I loose any input also in fields other than FOO and BAR. I need a way to update only FOO and BAR fields and let other fields alone so that they keep their current user input. Thanks in advance for your help. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org