[Wicket-user] Create a form in a panel and use at another page
Look like there is problem of submitting a form that belong to a panel that used at another page. But look like when I press submit, the page look like just refresh and even I just throw an Exception at onSubmit method it don't fail: public final void onSubmit() { throw new RuntimeException(); } Am I not suppose to put a form in a Panel? - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Create a form in a panel and use at another page
Sorry all, ignore this, just notice it is because I am using RequiredTextField() but one field is missing. However, how can I let user know some require field is missing? Is there any predefine ID for the user to like span wicket:id=messages/span that will output the error message to user? On 11/16/06, Carfield Yim [EMAIL PROTECTED] wrote: Look like there is problem of submitting a form that belong to a panel that used at another page. But look like when I press submit, the page look like just refresh and even I just throw an Exception at onSubmit method it don't fail: public final void onSubmit() { throw new RuntimeException(); } Am I not suppose to put a form in a Panel? - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Create a form in a panel and use at another page
Hallo Carfield, You can add a feedback panel to your panel: code: add(new FeedbackPanel(feedback)); html: div wicket:id=feedback/div Erik. Carfield Yim schreef: Sorry all, ignore this, just notice it is because I am using RequiredTextField() but one field is missing. However, how can I let user know some require field is missing? Is there any predefine ID for the user to like span wicket:id=messages/span that will output the error message to user? -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user