Thanks very much! On Dec 13, 2007 4:27 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> instead of returning ajaxfallbacklink return ajaxsubmitlink > > or use javascript tabs rather then serverside tabs > > -igor > > > On Dec 13, 2007 10:18 AM, Daniel Wu <[EMAIL PROTECTED]> wrote: > > > > Hi, > > How can I keep the state of the fields of a tab (DropDownChoice and > > TextField fields) when I switch tabs? I've already read the topic > > > http://www.nabble.com/How-to-save-page-values-between-AjaxTabbedPanel-tab-change--td12638034.html#a12638407 > > but I couldn't find a newtablink method to be overridden. > > > > I have a class that extends AjaxTabbedPanel and overrides the method > > newLink(), returning a AjaxFallbackLink, which I override the onClick() > > method, because I need the AjaxRequestTarget object: > > > > protected WebMarkupContainer newLink(String linkId, final int index) { > > return new AjaxFallbackLink(linkId) { > > public void onClick(AjaxRequestTarget target) { > > //--- Do stuff here > > } > > } > > } > > > > Can anyone help me to keep the state of the fields? > > > > Thanks! > > -- > > View this message in context: > http://www.nabble.com/Keep-state-of-values-between-AjaxTabbedPanel-tab-change-tp14321715p14321715.html > > Sent from the Wicket - User mailing list archive at Nabble.com. > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >