On Friday, June 8, 2012 2:04:37 PM UTC+2, zorro wrote: > > "gwt-2.4.0/doc/helpInfo/jsoRestrictions.html" comes with GWT > distribution. So far best readable document on the topic. However, a bit of > disappointment. b/c It implies I can not implement callbacks in a neat way > and in general. > > The example you pointed me two days ago is no more relevat, since it > breaks all the RULES. > > https://code.google.com/p/gwt-in-the-air/source/browse/trunk/src/net/ltgt/gwt/browserplus/core/client/BrowserPlus.java#145 >
Not as long as Callback is not a JSO. > From gwt-2.4.0/doc/helpInfo/jsoRestrictions.html: > > 4. JSO classes cannot have instance fields. -- this is waht callbacks are > about. > > 2. An interface type may be implemented by at most one JSO subtype. -- > this excludes possibility of having a general interface for callbacks > > Why the hell are you trying to have your callback extend JavaScriptObject ?! Maybe you need to give more details on what you're trying to achieve. -- 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/-/ys-0hlfMjGIJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.