When using ListViews in Forms, you have to be carefull that you set the optimizeItemRemoval property of the ListView to true (this is false by default). If you don’t do this, the components are removed and readded (new instances) everytime, and you will not see any invalid input if your form did not validate.
Set this property e.g. like:
private final class MyListView extends ListView <http://www.google.com/search?q=allinurl%3Alistview+java.sun.com&bntl=1> { private MyListView(String <http://www.google.com/search?q=allinurl%3Astring+java.sun.com&bntl=1> id) { super(id); setOptimizeItemRemoval(true); } ...
It might be a good idea to subcribe to the Wiki changes RSS: http://wicket.sourceforge.net/wiki/feed.php
We're more and more using it to have immediate documentations like how-to and faq documents.
Regards,
Eelco
------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click _______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
