Not completely sure what you're getting at, would RefreshingView help you?
http://wicket.apache.org/apidocs/1.4/org/apache/wicket/markup/repeater/RefreshingView.html
From: Alexandru Artimon aarti...@dgfoundation.org
To: users@wicket.apache.org
Date: 03/04/2011 08:31 AM
Subject:
Not really,
I want to find out what you guys do when in a form you add a new item to
a collection(where the items are passed to a LDM and then showed). Do
you save first the item and then pass it to a LDM? Or do you use a plain
model? Or maybe something else?
I'm trying to see that I'm not
Hi,
I use a custom refreshingview which uses a LDM for existing items, and a
serializing model for new items. When converting the input in my custom
refreshingview (which is the component that owns the list) I handle
both types of models. On refresh (re-display) it replaces the
serializing
: Alexandru Artimon aarti...@dgfoundation.org
To: users@wicket.apache.org
Date: 03/04/2011 09:14 AM
Subject:Re: LoadableDetachableModel small issue
Not really,
I want to find out what you guys do when in a form you add a new item to
a collection(where the items are passed to a LDM
Bas,
This is what I wanted to find out if you guys use a different model for
new items(before saving them).
I had previously headed in the wrong way by not using LDM so I wanted to
be sure I'm doing it correctly now.
Thanks,
Alexandru
On 03/04/2011 04:19 PM, Bas Gooren wrote:
Hi,
I use a
Well, I'm not sure if I'm using the most desireable solution, but this
is what works for us after some years of wicket experience.
I certainly would not pre-insert new items, because that means that all
constraints are out the window.
Bas
Op 4-3-2011 15:33, Alexandru Artimon schreef:
Bas,