Monday, June 6, 2011

ValueListBox custom binding

Hi!

I use ValueListBox field in one of my widget that acts as an editor. I
populate this ValueListBox with the list of objects but I would like
to bind it to a String property of my object model. For example, I
have a list of A objects in the ValueListBox and with the custom
renderer I display A.name in the list. When I change the selected item
in the list I want to copy (when driver.flush is called) only A.code
to the String property of the object that is binded to my widget.

How can I achieve this and is the editor framework appropriate for
such scenarios?

Marko

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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate