Hi, ÃÂ ÃÂ ÃÂ I'm trying to make a custom component. It shows list of items, usercan check the checkboxs then click delete buttonto delete all selected items, or can click add button to go to an add itempage.
ÃÂ ÃÂ ÃÂ At first I test it alone in a form, it work ok, but later when Itry it in real work that the form might contains some required fieldsor some validations, I got a problem that when some required fields notset or some inputs not valid then I click add/delete, error messagewill shown up, of course it is not good idea to fill and validate allother fields first before using this component. ÃÂ ÃÂ ÃÂ So I have to do setDefaultFormProcessing(false) on add button anddelete button. but now I face the problem that my selected checkboxsnot update their models , so I can't remove the selected items, even Itry form.updateFormComponentModels(); but they still not updated. ÃÂ ÃÂ ÃÂ I can't find out what I do wrong and how to solve it, so I attachsource code of my component and simple test page here and need somebodykindly help me solve this, Thanks you. ÃÂ ÃÂ ÃÂ P.S. ÃÂ ÃÂ ÃÂ - I'm using wicket 1.2.4, tomcat 5.5, java 5 ÃÂ ÃÂ ÃÂ - something has been removed (javascript, css, img) to make thecode more simple and concerned with the problem only Blackzabaha --------------------------------- Give spam the boot. Take control with tough spam protection in the all-new Yahoo! Mail Beta.
TestWicketComponent.rar
Description: 1540935311-TestWicketComponent.rar
------------------------------------------------------------------------- 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