Re: DropDownChoice in ListView

2009-03-21 Thread Alexander Lohse
Thank you very much! Now that I know what to look out for, I think I must have been blind while searching for an answer. But my first reference, this cwiki page, missed out on this: http://cwiki.apache.org/WICKET/listview-with-checkboxes.html I just updated it and added the necessary line!

Re: DropDownChoice in ListView

2009-03-21 Thread Martijn Dashorst
ListView documentation states that you should "setReuseItems(true)" when working in a form or with form components. Martijn On Sat, Mar 21, 2009 at 9:26 PM, Alexander Lohse wrote: > Hi, > > I am encountering a strange problem when adding DropDownChoices to a > ListView. Displaying and retrieving

DropDownChoice in ListView

2009-03-21 Thread Alexander Lohse
Hi, I am encountering a strange problem when adding DropDownChoices to a ListView. Displaying and retrieving values works fine, BUT the values are lost during errorous form submission. The following ListView is added to a form. When the form is submitted successful all ModelObjects are up