Friday, March 23, 2012

Several Observers in one Class.

Hi there !

Have a simple GWT's TextBox, using getText() and setText() manipulations via Observers.
Have one onClick event, and try to fetch some values from 2 Observers (simply modifying TextBox with Observer's internal setText(), getText() ), but unsuccessful, TextBox keeps it's old values.
I could notify updated TextBox's values inside the Observer, but how to deliver these TextBox's updated values via onClick event ?
Is there any specific use of Observer pattern in GWT ?
How to link several Observers on one event ?

Thank you all for useful feedback ! :)


--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/rPrdghzhHXYJ.
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.

No comments:

Post a Comment