Re: DropDownChoice getting value into the model

2008-04-27 Thread Russell Webb
odel(phone, "network"), networksList); but the following doesn't FormComponent networks = new DropDownChoice("network", new BoundCompoundPropertyModel(phone), networksList); I've tried stepping into the code but can't resolve the issue. Can anyone confirm or

Re: DropDownChoice getting value into the model

2008-04-24 Thread Russell Webb
I am experiencing something similar. My LoadableDetachableModel is wrapped with a CompoundPropertyModel. Submitting a TexTField acquires the AttachedCompoundPropertyModel whose setObject() acquires the target object and persists changes. CompoundPropertyModel$AttachedCompoundPropertyModel(Ab

Link and Submit behaviour

2008-01-14 Thread Russell Webb
Got a question on what the expected behaviours are from a link and a button both of which have their response page set to the same page (onClick & onSubmit respectively). I took these form items from the Cheesr example in 'Wicket in Action' and I have used both of these on the second tab on an