All the GWT examples/tutorials talk about GWT client-side code being activated by events such as onPageLoad(). I want to use GWT to create a library that can be invoked by user-written Javascript function calls. Can anyone point me to the information needed to do this?
4 Answers
Before being able to call any GWT code it must be initialized, and I would leave that up the GWT standard procedure for that.
Comments
Thanks for your contributions.
gwt-exporter looks useful in theory, but so far I've failed to get it to work - it seems to be a fine piece of software ruined by poor documentation.
But I think I can probably do what I need using JSNI "by hand", now I'm starting to understand the architecture better.