I am trying to preserve user mods between tab selections without submitting
(as I have an AjaxTabbedPanel embedded within a single form).  My use case
is:  system displays tabbed panel with 3 tabs... user makes necessary
modifications to any of the three tabs... user submits the changes.

I am able to achieve this to some degree using a tip from this post:
http://javathoughts.capesugarbird.com/2007/06/embedding-form-inside-wicket.html,
but it does not seem to work with components backed by a detachable model.

I could actually use a solution where there is no Ajax involved... each tab
selected simple "unhides" the data already on the page, in which all data is
part of the same form.  This is probably what you mean when you said "...use
javascript tabs", but not sure how to specify javascript vs. serverside tabs
in Wicket.



igor.vaynberg 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?...
> 

-- 
View this message in context: 
http://www.nabble.com/Keep-state-of-values-between-AjaxTabbedPanel-tab-change-tp14321715p16144951.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]

Reply via email to