if you enable listview.reuseitems(true) your values should stick. make
addbutton.defaultformprocessing(false).

the idea here is that reuseitems will cause the comeponentpath of textfields
not change - which will cause their name attribute not to change also -
which will cause them to pick up the submitted value from last request. make
sure that all addbutton.submit does is add a value to the ened of the
listview's model.

-igor

On 7/11/07, Jan Kriesten <[EMAIL PROTECTED]> wrote:


Hi,

update on this topic:

I've found a workaround to update the ListViews childrens Models by
walking the
Components below ListView with an IVisitor and do a updateModel() on all
FormComponents.

The question remains, if there's a way to do this without updating the
Model?

Best regards, --- Jan.



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to