Re: How to bind essential singletons in multi-module GIN app and avoid duplicate binding

2016-10-26 Thread Thomas Broyer
I don't know if it's supported by GIN but Guice has a requireBinding to prevent the second case. And if the user of your lib has to use GIN it's not abnormal to ask them to bind a few things. You can provide GinModules that bind them if you like so they only have to compose them in their

The type AbstractRequestContext.MyConstraintViolation must implement the inherited abstract method ConstraintViolation.getExecutableParameters()

2016-10-26 Thread Zied Hamdi
Hi, I'm compiling a multi gwt project with gradle. I have the following error Compiling module fr.onevu.vume.Customer Tracing compile failure path for type 'com.google.web.bindery.requestfactory.shared.impl.AbstractRequestContext' [ERROR] Errors in

Re: The type AbstractRequestContext.MyConstraintViolation must implement the inherited abstract method ConstraintViolation.getExecutableParameters()

2016-10-26 Thread Jens
You have validation-api-1.1.0 and validation-api-1.0.0.GA on classpath. GWT is only compatible to validation-api-1.0.0.GA. -- J. -- 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,

Re: Google Plugin for Eclipse Mars

2016-10-26 Thread Piotr Morgwai Kotarbinski
This plugin, although soon to be deprecated, worked ok for many ppl. Now they are suddenly forced to migrate without any warning... Does anybody has a cash of last available version for eclipse 4.5 (mars) maybe? Thanks! On Wednesday, October 19, 2016 at 12:01:29 AM UTC+7, Brandon Donnelson

Re: GWT 2.8.0 released

2016-10-26 Thread Piotr Morgwai Kotarbinski
great news! thanks to everybody who made this happen! On Saturday, October 22, 2016 at 2:21:41 AM UTC+7, Daniel Kurka wrote: > > Hi all, > > I am very happy to announce GWT 2.8.0 on behalf of the GWT steering > committee and the GWT team at Google. > > You can download the release from

Re: HowTo use GWT EvenBus to schedule OpenEvent -> CloseEvent sequence

2016-10-26 Thread vitrums
Thank you for quick responses. It seems that we all resorted to Scheduler and control our custom events by tweaking the intrinsic logic of browser's event loop. I thought I could completely miss some obvious solution. On Wednesday, October 26, 2016 at 7:51:19 PM UTC+3, vitrums wrote: > > [

Unchanged transient field received as null on server using RequestFactory - how to force to send?

2016-10-26 Thread TimOnGmail
Hi all... So I have a situation where we have an entity persisted with JPA on the server: public class MyEntity ... { > private String field1; > private String field2; > @Transient > private String myTransientField; > } ... and we have a proxy: public class MyEntityProxy ...

Re: How to bind essential singletons in multi-module GIN app and avoid duplicate binding

2016-10-26 Thread vitrums
Yes indeed, I don't provide an entry point for my lib-like module. However, there're handfull of other singletons one might have a necessity to have an access to (EventBus was just an example). E.g. com.google.gwt.core.client.Scheduler. Prior to GIN we had a sole option to obtain an instance

Re: Google Plugin for Eclipse Mars

2016-10-26 Thread Brandon Donnelson
The Google Plugin for Eclipse is still available. The new Cloud Tools Plugin for Eclipse will be out soon. https://developers.google.com/eclipse/docs/download On Wed, Oct 26, 2016 at 8:08 AM Piotr Morgwai Kotarbinski wrote: > This plugin, although soon to be deprecated,

Re: chrome 53 freezes my GWT 2.7 app

2016-10-26 Thread Matt Sutterlin
I was actually about to open a new topic on this exact issue till i found this. We have a rather gwt large app, where we are at the point of setting

Re: Google Plugin for Eclipse Mars

2016-10-26 Thread Brandon Donnelson
If you're looking for the GWT features, use this plugin instead. It is has replaced the GPE plugin. https://marketplace.eclipse.org/content/gwt-eclipse-plugin On Wed, Oct 26, 2016 at 10:45 AM Brandon Donnelson wrote: > The Google Plugin for Eclipse is still available.

How to bind essential singletons in multi-module GIN app and avoid duplicate binding

2016-10-26 Thread vitrums
[ Original post on StackOverflow http://stackoverflow.com/questions/40132219/how-to-bind-essential-singletons-in-multi-module-gin-app-and-avoid-duplicate-bin ] It's a simple selfdescriptive question (subj). Anyway, just to give an example. We have a main app module and some visual

HowTo use GWT EvenBus to schedule OpenEvent -> CloseEvent sequence

2016-10-26 Thread vitrums
[ Original post on StackOverflow http://stackoverflow.com/questions/40130383/howto-use-gwt-evenbus-to-schedule-openevent-closeevent-sequence ] Say we have few handlers for both events. The goal is to make sure, that all *OpenEvent handlers*finish before any of *CloseEvent handlers* start

Re: How to bind essential singletons in multi-module GIN app and avoid duplicate binding

2016-10-26 Thread Jens
Sounds like your visual components act as libraries, thus not having their own GWT entry point. IMHO your visual components should not provide bindings for classes they do not own. That means app wide singletons like an EventBus must be provided by the app that includes the visual component.

Re: HowTo use GWT EvenBus to schedule OpenEvent -> CloseEvent sequence

2016-10-26 Thread Michael Joyner
I don't know if it will help any, but we had issues with the eventbus firing immediately synchronously (not good if the event for a widget fires before said widget finishes attaching and hooking up to receive events!). We ended up creating a deferred eventbus.

Re: Setting a variable in the window namespace

2016-10-26 Thread Paul Mazzuca
Update: I was able to sort of figure it out, but still had to use a bit of JSNI. Thought I would share the solution below. As background I was trying to store a function in the window namespace. @JsFunction interface MyFunction { void run(String x); } //maybe another way to get the

Re: HowTo use GWT EvenBus to schedule OpenEvent -> CloseEvent sequence

2016-10-26 Thread Jens
Given that JS is single threaded using Scheduler.scheduleDeferred is your only option. You could write your own EventBus implementation that might use Scheduler.scheduleDeferred internally so that an event, fired during another event being processed, gets delayed to the next browser event loop.

Re: How to get ride of gwt theme css

2016-10-26 Thread Frank
Remove from your .gwt.xml file -- 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+unsubscr...@googlegroups.com. To post to this group, send email

Re: Super Devmode Error

2016-10-26 Thread Andrei Korzhevskii
Hi Marteijn, It's probably that you have stale dependencies in your classpath. The issue is resolved in these discussions: https://groups.google.com/forum/#!topic/google-web-toolkit/-c4RR6oLr2o https://groups.google.com/forum/#!topic/google-web-toolkit/ATR3ZWcVrEs On Wednesday, October 26, 2016

Super Devmode Error

2016-10-26 Thread Marteijn Nouwens
Does anybody got an idea why this is happening. Complies fine and such but when running recompile it gives an error. The code server starts fine. Any hint are really apprciated. Marteijn Error [INFO] Compile of permutations succeeded [INFO] Compilation succeeded -- 44,004s

SuperDev mode runs fine ,but compiled version tells 404....undefined.cache.js

2016-10-26 Thread Alex Luya
Hello, I have ubuntu 16.04 64 bit(with german UI language) + chrome 54.0.2840.71 (English is default language), and doubt this is a language problem,and my *.gwt.xml has these lines: Only Chinese and English

Re: Wiered "[ERROR] Errors in 'jar:file..." "cannot be resolved to a type"

2016-10-26 Thread Zied Hamdi
Ok! That was my fault, I didn't have to resolve dependencies manually for a while. It was just a classpath problem (of a jar added manually because it's not available on maven) I just had to follow the unresolved symbols causes chain until I found the dependency on //

Closure compiler and GWT 2.8.0

2016-10-26 Thread Slava Pankov
Integrated closure compiler was removed in 2.8.0 So now I'm trying to use external (post-processing) call to closure compiler. SIMPLE mode is working just fine, but gives no improvement over standard GWT compilation at all. ADVANCED mode gives improvement (when GWT compiled in PRETTY mode), but

Re: Setting a variable in the window namespace

2016-10-26 Thread Vassilis Virvilis
Are you trying to store or to call. Your initial question was about storing but your update is about calling function f,,, .bill On Wed, Oct 26, 2016 at 7:47 PM, Paul Mazzuca wrote: > Update: I was able to sort of figure it out, but still had to use a bit > of