Sunday, December 4, 2011

Making Application Add-On ready?

Hi,
i tried for hours making my application "add-on ready". In my root-
app i created some javascript functions on the $wnd variable. Next, I
want so inherit some other applications normal via the "script"-tag.
The other application now should call the javascript function and pass
it a class instance with methods defined in a interface. This
Interface is in a a jar file both projects are compiled with. But the
Destination App (the root app) can't get the parameter correctly, i
cant call my defined functions on it, although the function in the
root-app IS called.
If i try this in one single app with to different classes, first
creating my class, then save it to $wnd.myvariable in one function,
then later get it in a java variable on a second i can sucessfully get
the information out of my class-instance.
I hope you undestood.
May there is another way to dynamically load other standalone
applications who pass gwt-classes via jsni to another gwt-app who
workes with them in Java?

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
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.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate