Re: GWT app as includable javascript library

2016-04-23 Thread Vassilis Virvilis
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

Re: GWT app as includable javascript library

2016-04-23 Thread Kirill Prazdnikov
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

Re: What needs to be done after a successful login

2016-04-23 Thread jhulford
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

Re: SuperDevMode automatic recompile does not work with external server

2016-04-23 Thread Raphael André Bauer
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