http://www.gwtproject.org/doc/latest/DevGuideCodingBasicsJSNI.html#calling
Notice that the reference to the exported method has been wrapped in a call
to the $entry function. This implicitly-defined function ensures that the
Java-derived method is executed with the uncaught exception handler
insta
What is $entry ? Why not just $wnd.myJsMethod = function(str) ... ?
четверг, 21 апреля 2016 г., 9:53:57 UTC+3 пользователь Vassilis Virvilis
написал:
>
>
> public static native void exportJSNI(MyJavaObject that) /*-{
> $wnd.myJsMethod = $entry(function(str) {
>
> th...@c
If you can funnel your remote calls through a single remote implementation
(.ie you can have your async interfaces extend from a common abstract
class), you can throw an authentication exception when the user's
credentials have expired, catch it client side and toss up a login dialog
over top o
Ah! - there is another gwt plugin :) Good to know! My missing link was
that I did not know that SuperDevMode creates a special nocache.js
file. Once I knew that it was simple to fix.
I'll try your plugin asap...
Thanks!
Raphael
On Fri, Apr 22, 2016 at 5:56 PM, Thomas Broyer wrote:
> Assuming t