You may want to use GWT 2.8.0-SNAPSHOT and the new JsInterop annotations; as your usecase maybe is just not supported with the "old" annotations.
On Monday, October 26, 2015 at 11:10:28 AM UTC+1, Brian Pedersen wrote:
        -- On Monday, October 26, 2015 at 11:10:28 AM UTC+1, Brian Pedersen wrote:
I have a dispatch method, exposed through JsInterop, which can take various kinds of payloads.Once called from native javascript, I need to cast the payload, but this doesn't quite work as I would like it too.Here is a simplified example.GWT:
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
 
No comments:
Post a Comment