[Wicket-user] Create a form in a panel and use at another page

2006-11-16 Thread Carfield Yim
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

Re: [Wicket-user] Create a form in a panel and use at another page

2006-11-16 Thread Carfield Yim
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

Re: [Wicket-user] Create a form in a panel and use at another page

2006-11-16 Thread Erik van Oosten
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