Buzz,

I'd really recommend you read the following for some general history
on the issue:
http://martinfowler.com/eaaDev/uiArchs.html

It sounds like you're looking for data binding.

GWT doesn't provide a data binding framework, but as Kozura mentioned,
you can get your own rolling pretty quickly, or check out one of the
number of gwt addons out there that provide such functionality.

Personally I'm not a fan of SmartGWT, but I haven't used it either so
take that opinion with a grain of salt.
If you're interested in GXT, you can use the following
http://code.google.com/p/gxtforms/

Myself, I like the MVP approach, have been using it more and more
recently, and it seems to work out pretty well.

Good luck,
T

On Apr 10, 8:59 am, kozura <[email protected]> wrote:
> 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.

Reply via email to