why would clicking on a tab cause a form to submit? how should wicket know to do this? what if you have two forms in a tab - which should be submitted?

if you want this you will have to override protected TabbedPanel.WebMarkupContainer newLink(String linkId, final int index) and add the formsubmit logic in there somehow.

-Igor




On 4/18/06, Stefan Lindner < [EMAIL PROTECTED]> wrote:
Dear Wicket Gurus,

what should happen, if I klick on a tab of an AjaxTabbedPanel? The
generated HTML code looks like this:

        <form
action="">:inputForm::IFormSubmitListener" method="post"
id="seiteninhalt_tabs_panel_inputForm"><input type="hidden"
name="seiteninhalt_tabs_panel_inputForm:hf:0"
id="seiteninhalt_tabs_panel_inputForm:hf:0"/>

But when a tab link is selected, no "onSubmit" method of the form is
called. I was expectiong to see the onSubmit mehtod to be called when
swiothing between AJAX tabs. Am I wrong? What are AjaxTabbedPanels are
for?


-------------------------------------------------------
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?cmdlnk&kid0944&bid$1720&dat1642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to