Several Observers in one Class.

4 views
Skip to first unread message

Max

unread,
Mar 23, 2012, 8:58:17 AM3/23/12
to google-we...@googlegroups.com
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 ! :)


Reply all
Reply to author
Forward
0 new messages