So you want to click on one tab , and that should actually result in the form submit? wicket extensions TabbedPanel uses Link and not SubmitLink. So when you click on a tab , it does not submit your form and hence you lose out on the data.
----------------------------------- Igor, I'm just thinking out loud ..so all this might be stupid. Anyways , Is this correct - Get TabbedPanel to use SubmitLink instead of Link. and SubmitLink.onSubmit() call getForm.process( ) --> this should update his form But since SubmitLink can be used only within a Form, the tabbed panel has to be added within a Form? - That is something Stefan has to ensure? ----------------------------------- Also, I guess in ITab.getPanel( ) , you have to ensure that you return the Panel that you submitted earlier using SubmitLink and not a new one as it is done normally. On 3/29/06, Stefan Lindner <[EMAIL PROTECTED]> wrote: > I use Wicket 1.2beta2 and I have the followin question: > I have a TabbedPanel with several tabs (according to the example). Each Panel > contains an InputForm. Weh I change from one pane to another by klicking at > the tab label I receive no onSubmit event and the input is lost. is there a > way to make the tab label act as a submit button for the form? Oder is there > any other mechanism to do such things? > Thanks in advance and thaky you for Wickt. > > -- -- karthik -- ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
