Re: LoadableDetachableModel#load() called twice

2009-08-21 Thread jWeekend
Warren, Unless you are indirectly calling load() yourself, eg by calling getObject(), on your LDM) during form processing it's Wicket converting the selected item (by choice id) to the actual choice object, by matching the id against the list of choices, calling load() on your LDM in the

RE: LoadableDetachableModel#load() called twice

2009-08-21 Thread Warren Bell
...@clarksnutrition.com] Sent: Friday, August 21, 2009 12:43 PM To: users@wicket.apache.org Subject: RE: LoadableDetachableModel#load() called twice Ok, I see what is happening. I am using one of the selected choice objects in the onSubmit and then adding a new choice object to the list. In order