You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by mnish tosh <mn...@gmail.com> on 2012/04/05 21:01:14 UTC

field values

Hi,

This is the situation:

I have a page with two tabs, on each of these tabs there are form fields.
Some of the fields are the same on both the tabs. What I want to be able to
do is when I click on the tabs back and forth the values of the fields be
automatically taken to the other tab. Is this possible to do in wicket or
is it too much to ask :).

Thank you.

Re: field values

Posted by "Richard W. Adams" <RW...@UP.COM>.
If you can detect the tab switch event, it should be a simple matter to 
copy the field values from one location to the other.




From:   mnish tosh <mn...@gmail.com>
To:     users@wicket.apache.org
Date:   04/05/2012 02:01 PM
Subject:        field values



Hi,

This is the situation:

I have a page with two tabs, on each of these tabs there are form fields.
Some of the fields are the same on both the tabs. What I want to be able 
to
do is when I click on the tabs back and forth the values of the fields be
automatically taken to the other tab. Is this possible to do in wicket or
is it too much to ask :).

Thank you.



**

This email and any attachments may contain information that is confidential and/or privileged for the sole use of the intended recipient.  Any use, review, disclosure, copying, distribution or reliance by others, and any forwarding of this email or its contents, without the express permission of the sender is strictly prohibited by law.  If you are not the intended recipient, please contact the sender immediately, delete the e-mail and destroy all copies.
**

Re: field values

Posted by Martin Grigorov <mg...@apache.org>.
Hi,

On Thu, Apr 5, 2012 at 9:01 PM, mnish tosh <mn...@gmail.com> wrote:
> Hi,
>
> This is the situation:
>
> I have a page with two tabs, on each of these tabs there are form fields.
> Some of the fields are the same on both the tabs. What I want to be able to
> do is when I click on the tabs back and forth the values of the fields be
> automatically taken to the other tab. Is this possible to do in wicket or
> is it too much to ask :).

Share the same model/model object for those form components.

>
> Thank you.



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org