jsinterop @JsFunction: How to get this (context)?

2016-10-09 Thread Stepan Koltsov
Seems like it is not possible. I had to create jsni stub to grab this and pass it as parameter. -- 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

Re: JSNI Question

2016-02-04 Thread Stepan Koltsov
JSNI (you cannot express foo[bar] in jsinterop without JSNI and @JsOverlay). * you cannot catch `this` argument in function callback (which is used heavily in jquery). -- Stepan On Thursday, January 14, 2016 at 2:21:07 PM UTC+3, salk31 wrote: > > NB JSNI is being replaced by JsInterop...

Re: @GwtUnreachable annotation

2015-07-20 Thread Stepan Koltsov
class JreDownloader extends Downloader { > // When this method is not seen by the Compiler all code is still > valid, as the no-op method would be called. > // (it would not turn red in your IDE if you would delete that > overridden method) > @GwtIncompatible > @Overri

Re: @GwtUnreachable annotation

2015-07-20 Thread Stepan Koltsov
provide a super sourced version of > download() that works in the browser with GWT. Because your download() > method is probably in a larger class you should refactor it out into its > own class so you only need to super source as less code as possible. > That should work, but harder

@GwtUnreachable annotation

2015-07-20 Thread Stepan Koltsov
nconditionally throws, thus it is successfully parsed and validated, and that function is later dropped by the GWT optimizer. Any thoughts? -- Stepan Koltsov -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe f

java.util.Date clientside incorrect timezone

2014-11-06 Thread Stepan
hello everyone! I have a strange problem with dates. when i work in dev mode all is ok, but when i work in web mode i have problems on client side. i have this code on the client side(App gwt + gxt). private static Logger log = Logger.getLogger("DateUtils"); . log.log(Level.INFO, to + " "

GWT RequestFactory. Could not locate setter for property id in type ...ui.server.entity.mc.BasketItem at com.google.web.bindery.requestfactory.server.ServiceLayerDecorator die(ServiceLayerDecorator.

2014-10-20 Thread stepan kachan
Hi all, i decided to use GWT Request Factory instead of RPC because of complex type objects in my project. I face this error everytime when i try to remove entity from List. public class BasketItem implements Serializable{ private Integer id; private PaymentState paymentState; publ