Take a look here:
http://code.google.com/p/gwt-beans-binding/
you are looking for a binding concept.

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of kozura
Sent: Saturday, April 10, 2010 4:59 PM
To: Google Web Toolkit
Subject: Re: Two way linking?

There's plenty of ways to do this on your own, at the basic level you
can roll your won with events that will notify all widgets that are
associated with a value when that value changes, and make a textbox
extension that will make the right call to modify the value and send
the event.

Or you might consider one of the several extensions to GWT that do
this for you.  The most sophisticated is smartgwt, which also deals
with synching with your data store.  Others you might look at are gwt-
mvc and gwt-mvp.  Disclaimer - I've looked at them but don't actually
use them.

On Apr 9, 11:50 am, "[email protected]" <[email protected]>
wrote:
> I am wondering if there is any way to do this.
>
> I have a object that contains multiple values that the gui will show
> multiple textboxes.
>
> I would like to create a link between the textbox and values.
>
> So if i edit the object value, the textbox will change and if I change
> the textbox the object will change.
>
> Is there a good way to do this?
>
> also other textbox might be linked to same value so if I change the
> value of the object both textbox change and if I change the textbox
> value of either object the object value will change along with the
> other textbox.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to