Re: GWT test case failing in dev mode due to UnableToComplete exception

2016-06-28 Thread Thomas Broyer
There's no superdevmode for tests (yet?) -- 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, sen

Re: JsInterop receipts for simple JSNI code ?

2016-06-25 Thread Thomas Broyer
FWIW, this is tracked at https://github.com/gwtproject/gwt/issues/9364 -- 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.c

Re: How to debug GWT application on Eclipse

2016-06-24 Thread Thomas Broyer
On Friday, June 24, 2016 at 11:39:22 AM UTC+2, Jens wrote: > > - Then in the tree view open 'top', open {nameOfYourApp}, open >> 127.0.0.1:9876, open "sourcemaps/{nameOfYourApp}. >> - Now you will find your original java source. If you open a java file >> here you can set a breakpoint in Chrome

Re: Exception: java.lang.NoClassDefFoundError: com/google/gwt/dev/DevMode

2016-06-24 Thread Thomas Broyer
Your problem is different. Line 177 in DevMode.java in GWT 2.7 indicates that you're passing a -server argument to DevMode whose value references a class absent from the classpath (one possibility is using AppEngine but not having the appengine JAR in the classpath). There should be a message on

Re: How to debug GWT application on Eclipse

2016-06-24 Thread Thomas Broyer
"Classic" Dev Mode (or, as most people call it, "legacy" devmode) is deprecated and scheduled for deletion after the 2.8 release. It only works in Internet Explorer (not Edge, but works in IE11), and in really old versions of Firefox and Chrome/Chromium. The way forward is "Super Dev Mode", wher

Re: GWT-2.8-SNAPSHOT jar questions

2016-06-22 Thread Thomas Broyer
On Wednesday, June 22, 2016 at 8:57:30 AM UTC+2, Hristo Stoyanov wrote: > > Another idea: > Can we create a *gwtcompile.jar* for GWT 2.8, which is basically going to > be the same as *gwt-dev.jar* , minus all jetty jars? With GWT compilation > being so slow, eliminating tons of unrelated jars w

Re: Feature Detection

2016-06-21 Thread Thomas Broyer
What about laptops with touch screens? (Surface, Chrome Pixel, etc.) Maybe the user will use the mouse primarily in those? Maybe not? I seem to remember that touch-enabled couldn't be detected, because one could also just plug a touch screen to the device while the browser is open (and a page l

Re: GWT 2.8 and Guava 20

2016-06-21 Thread Thomas Broyer
On Tuesday, June 21, 2016 at 3:59:51 PM UTC+2, Johan Falk wrote: > > While not only a GWT question, I thought this was the best place to ask. > I've got an GWT 2.7 application which is being upgraded to 2.8. I'm using > one of the latest snapshot (2.8.0-269) together with Guava > (20.0.220-SNA

Re: Unable to access exported JsType from JavaScript

2016-06-19 Thread Thomas Broyer
Looking at your code, the class would be available at "blah.WebUI", but you'd have to create a new instance before your can call your method, and given how you initialize it you'd have to call onModuleLoad before that. Maybe if you make your method and all the fields 'static' that'd work; either

Re: AutoBean sample not working for me?

2016-06-17 Thread Thomas Broyer
Either that or add a method to the AutoBeanFactory taking a Person as argument to be wrapped as an AutoBean. (From memory) -- 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 em

Re: GWT-2.8-SNAPSHOT jar questions

2016-06-15 Thread Thomas Broyer
On Wednesday, June 15, 2016 at 10:49:56 AM UTC+2, Jens wrote: > > If it wouldn't be a feature RequestFactory depends on > Oh, you're right, the Editor Framework depends on javax.validation.ConstraintViolation but doesn't implement it so one could probably have 1.1.0.Final in classpath without

Re: GWT-2.8-SNAPSHOT jar questions

2016-06-15 Thread Thomas Broyer
On Wednesday, June 15, 2016 at 6:42:11 AM UTC+2, Hristo Stoyanov wrote: > > Hi all, > I have a couple of questions regarding GWT 2.8 SNAPSHOT: > > *1. Why am I picking up tons of jetty libraries for doing a simple gwt > compilation? I could understand the need for the Jetty jars, if I was > r

Re: JsInterop and Java collections?

2016-06-13 Thread Thomas Broyer
On Tuesday, June 7, 2016 at 12:58:53 AM UTC+2, Thomas Broyer wrote: > > > > On Monday, June 6, 2016 at 9:15:43 PM UTC+2, Hristo Stoyanov wrote: >> >> Kirrill, >> I did not suggest to *convert*, but *map*. That means that if/when a >> JSInter-oped class is ex

Re: Newbie Help - how to retrieve data from another website?

2016-06-13 Thread Thomas Broyer
On Monday, June 13, 2016 at 9:40:34 AM UTC+2, Hans Dampf wrote: > > Hi everyone, > > opening an URL like http://randomserver.com/file?get=randomXML returns a > XML-file. I don't have access to the server. > Now i am trying to receive this data and give it out in my gwt-app. > I have tried modify

Re: GWT Servlet - How can I get rid of /app prefix in my requests?

2016-06-12 Thread Thomas Broyer
On Sunday, June 12, 2016 at 2:08:35 PM UTC+2, Stefan Falk wrote: > > I don't know why but all requests are forcing me to to map each Servlet to > something like > > > > xsrf > /app/xsrf > > > > whatever > /app/whatever > > > > and so on. I can't find anything that is actually setting the "ba

Re: Issues with GWT 2.8 snapshot

2016-06-12 Thread Thomas Broyer
The change in review is NOT about a broken build, it's only about too much logging. It's NOT related to your issue, which still needs to be investigated on your side (why is a javadoc task looking into gwt-user?) -- You received this message because you are subscribed to the Google Groups "GWT

Re: Issues with GWT 2.8 snapshot

2016-06-10 Thread Thomas Broyer
Also, it addresses Filipe's issue, but Hristo's one is different (and if you ask me, not actually a problem with GWT; not until proven otherwise): why does a javadoc task look at source files in gwt-user? -- You received this message because you are subscribed to the Google Groups "GWT Users"

Re: JsInterop and Java collections?

2016-06-10 Thread Thomas Broyer
On Friday, June 10, 2016 at 11:12:27 AM UTC+2, Kirill Prazdnikov wrote: > > Hi Thomas > > Lets forget about java.util, what about simple arrays ? > > It seems that we already have java [] array -> JS Array marshalling. > And It would be very nice if we had these type of marshalling with zero >

Re: JsInterop and Java collections?

2016-06-10 Thread Thomas Broyer
Except that there is NO marshaling! There are so many cases where it just won't work that it's not even worth trying if you ask me.You need to think about isNative vs. "exported" types, method return values vs. parameters vs. fields (which can be both get and set); object identities (calling t

NPAPI-Plug-in

2016-06-10 Thread Thomas Broyer
Technically, you can make it work on very old versions of Firefox (24) and Chrome (can't remember the version, maybe 40, depends on the platform too). It still works in IE though. But DevMode is deprecated and is likely to be entirely removed just after GWT 2.8, so it really is not worth the has

Re: Measuring effect of using GWT features on compile time

2016-06-09 Thread Thomas Broyer
No, SpeedTracerLogger is the internal API that routes events to either (or both) DashboardNotifier or a SpeedTracer 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 ema

Re: Measuring effect of using GWT features on compile time

2016-06-09 Thread Thomas Broyer
Isn't DashboardNotifier called by SpeedTracerLogger? -- 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 thi

Re: Issues with GWT 2.8 snapshot

2016-06-09 Thread Thomas Broyer
$ java -version > java version "1.8.0_92" > Java(TM) SE Runtime Environment (build 1.8.0_92-b14) > Java HotSpot(TM) 64-Bit Server VM (build 25.92-b14, mixed mode) > > $ ant -version > Apache Ant(TM) version 1.9.7 compiled on April 9 2016 > > On Thursday, June

Re: Issues with GWT 2.8 snapshot

2016-06-09 Thread Thomas Broyer
+rluble, +goktug Roberto, Goktug, any idea? This comes from one of these changes: http://build.gwtproject.org/job/gwt/520/changes http://build.gwtproject.org/job/gwt/521/changes All: anyone tried to build it locally to make sure it's not due to a corrupted JAR during upload to Sonatype OSSRH? O

Re: Measuring effect of using GWT features on compile time

2016-06-08 Thread Thomas Broyer
On Wednesday, June 8, 2016 at 1:50:03 AM UTC+2, jgindin wrote: > > I'm looking for some way to see how much of my GWT compile time is coming > from our usage of different features. Specifically: > >- UiBinder >- RPC >- Guice (not core GWT, I know...but maybe there's a way to see this

Re: JsInterop and Java collections?

2016-06-06 Thread Thomas Broyer
On Monday, June 6, 2016 at 9:15:43 PM UTC+2, Hristo Stoyanov wrote: > > Kirrill, > I did not suggest to *convert*, but *map*. That means that if/when a > JSInter-oped class is exported into the JS Engine (let's say V8) , the JS > developer will see plain old js arrays, so s/he can work with the

Re: How to make my app more secure. URL token

2016-06-06 Thread Thomas Broyer
Some form of credentials (login/password, or more likely a "token" or "session ID") must be sent with *each and every* request to the server, and the server must check authorizations and/or "profile" (filter, etc.) the response depending on the user who made the request. How you do it exactly is

GWT Super dev mode not detecting changes in inherited modules

2016-06-04 Thread Thomas Broyer
https://github.com/tbroyer/gwt-maven-archetypes has 3 multi-module Maven archetypes. -- 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...

GWT Super dev mode not detecting changes in inherited modules

2016-06-04 Thread Thomas Broyer
Mojo Plugin for GWT hasn't been designed with multi-module builds in mind, so you need to run it on the "leaf" module, and dependencies are used as JARs (OK, except maybe in Eclipse when resolving modules from workspace). This is one of many reasons I made the net.ltgt.gwt.maven:gwt-maven-plugin

Re: Having trouble with GWT JSNI

2016-06-02 Thread Thomas Broyer
On Thursday, June 2, 2016 at 3:50:49 PM UTC+2, Andrew Ferguson wrote: > > Hi Thomas, > > Thank you *so* much (I'm kicking myself because it was such a simple > error!). > > I don't suppose you know how I could call an external JavaScript function > from inside the GWT project? I cannot find any

Re: Having trouble with GWT JSNI

2016-06-02 Thread Thomas Broyer
On Thursday, June 2, 2016 at 3:36:51 PM UTC+2, Andrew Ferguson wrote: > > Hi Thomas, > > Thanks for the reply. I replaced my JSNI with the one you provided, and > changed the signature to '*', but it still failed to compile. I tried > changing the signature to 'I' in case that made any differen

Re: JsInterop and default settings in JS structures - how to handle?

2016-06-02 Thread Thomas Broyer
On Thursday, June 2, 2016 at 1:15:57 AM UTC+2, Hristo Stoyanov wrote: > > Hi all, > This is a pretty common in the JS world, but take a look at this JS > library , which as part of its API > has settings/options for configuration, where options are done with

Re: Having trouble with GWT JSNI

2016-06-02 Thread Thomas Broyer
On Thursday, June 2, 2016 at 11:11:18 AM UTC+2, Andrew Ferguson wrote: > > Hi, > > Firstly I must say that I am not a GWT or Java developer. I have come > across GWT because a tool I need to incorporate into a JavaScript project > has been written in GWT, and I need to figure out how to link th

Re: Getting username from url only works after refresh

2016-06-01 Thread Thomas Broyer
Where and when and how is UserActivity constructed? Where does the UserPlace come from? On Tuesday, May 31, 2016 at 5:22:21 PM UTC+2, Olar Andrei wrote: > > I've tried that before, and I didn't managed to get the username to be > visible in my *ViewImpl...* > > For example. This is the structure

Re: How to set Default value in Text Box?

2016-05-25 Thread Thomas Broyer
On Wednesday, May 25, 2016 at 3:31:01 PM UTC+2, Manjunath K wrote: > > How to set Default value in Text Box using GWT? > Assuming you mean setting a value that the box will reset to when used within a FormPanel and clicking on a ResetButton (I won't dive in here whether this is a good idea or

Re: window.showModelDialog replacement

2016-05-25 Thread Thomas Broyer
You won't find any equivalent. The platform has moved over to an "all async" model so you'll have to rewrite this code to work asynchronously (including handling other events while waiting for the "return value" to be passed into a callback/event/whatever. This isn't really a GWT question thoug

Re: com.google.gwt.http.client.URL

2016-05-18 Thread Thomas Broyer
On Wednesday, May 18, 2016 at 4:08:06 PM UTC+2, P.G.Taboada wrote: > > Hi Thomas, > > I do not want to complain - I am stating an issue I am having - and I find > the naming misleading. > Which naming exactly? encodeQueryString? > I have to build an URL for a http request - key-value pairs

Re: com.google.gwt.http.client.URL

2016-05-18 Thread Thomas Broyer
I'm sorry I don't get what you're actually complaining about. http://www.gwtproject.org/javadoc/latest/com/google/gwt/http/client/URL.html Only the deprecated methods have that note in their javadoc, and the behavior was historically meant for query-string processing (for the majority of cases wh

Re: Dear GWT

2016-05-15 Thread Thomas Broyer
On Sunday, May 15, 2016 at 1:32:47 AM UTC+2, Ali Akhtar wrote: > > > You (or your tools) must be doing something wrong. Can you tell more > about how you're launching SDM > > > I'm using IntelliJ. I have a GWT sdm run configuration in IntelliJ. > > This is getting a bit ridiculous, I seem to be

Re: Dear GWT

2016-05-12 Thread Thomas Broyer
On Thursday, May 12, 2016 at 2:37:59 PM UTC+2, Freddy Boucher wrote: > > Actually i have a requirement where we allow user to add/upload UI layouts >> at run time , >> >> Jrebel wont help me as it only works with java , where as GWT client in >> sdm is javascript. >> tried dynamicUIBinder , it

Re: Dear GWT

2016-05-12 Thread Thomas Broyer
On Thursday, May 12, 2016 at 12:38:16 PM UTC+2, junaidp wrote: > > After reading the above conversation it looks like this a feature in GWT > 2.8 with which we can at run time add/change a class at client side .. > Is this true? > No. > Coz I just try using GWT2.8 then running sdm , and then

Re: jsinterop: converting a jre collection to a jsArray

2016-05-12 Thread Thomas Broyer
somewhere? > This is probably on-purpose. > I tried to look for the reference you gave but I didn't find it. Wrong > keywords maybe... > I found this: https://groups.google.com/d/topic/google-web-toolkit/nmBAOX4vcSo/discussion Not exactly what I remembered, but touches similar poi

Re: jsinterop: converting a jre collection to a jsArray

2016-05-12 Thread Thomas Broyer
That question came up already in the forum or in GWT-Contrib (try to search the archive), and I seem to recall that Goktug said you could cast @JsType(isNative=true) objects to/from JavaScriptObject, so you could use JsArray (and JsonUtils.safeEval). I think you can also cast to/from an array o

Re: Sourcemaps with sso linker

2016-05-12 Thread Thomas Broyer
On Thursday, May 12, 2016 at 3:42:36 AM UTC+2, Dmitry Skavish wrote: > > hi everybody, > > I could not figure out how do I build my app and generate sourcemap > url into js file along with all the sources. Anybody can shed some > light here? > > That's what I did: > > 1. I added > to my mo

Re: Dear GWT

2016-05-12 Thread Thomas Broyer
On Wednesday, May 11, 2016 at 11:17:18 PM UTC+2, Ali Akhtar wrote: > > I'm sure. In 2.8 beta1, everytime a new class is added, or a new uiBinder > file, it requires a restart in order for it to be detected and not get a > weird error like $mg_1 not found > You (or your tools) must be doing som

Re: Jsni replacement in 2.8?

2016-05-12 Thread Thomas Broyer
On Thursday, May 12, 2016 at 12:25:13 AM UTC+2, Ali Akhtar wrote: > > Is Jsni going to be deprecated / removed? > JSNI won't be removed in 2.8. To be future-proof, you'll want to limit your use of JSNI to the bare minimum, and use JsInterop whenever possible, but there are still a few things t

Re: GWT Material Design Addins

2016-05-12 Thread Thomas Broyer
On Wednesday, May 11, 2016 at 6:07:09 PM UTC+2, Velusamy Velu wrote: > > Then started adding the line width="50%" title="Documents"> in the UiBinder > > I don't think you can use "window.MaterialWindow" in UiBinder; you'd have to add a namespace for the "window" subpackage and then use . --

Re: GWT 2.8 delays

2016-05-09 Thread Thomas Broyer
On Monday, May 9, 2016 at 5:20:25 PM UTC+2, steve Zara wrote: > > Also a GWT conference is long overdue. > What do you mean exactly? http://gwtcreate.com/ or http://www.gwtcon.org/ ? or that there's no GWT.create 2016? (yet?) -- You received this message because you are subscribed to the Goog

Re: GWT unit tests along with JsInterop and external javascript

2016-05-09 Thread Thomas Broyer
On Monday, May 9, 2016 at 9:56:37 AM UTC+2, biciusc...@gmail.com wrote: > > We successfully load JS scripts with ScriptInjector in GWTTestCase and > test pass. Do you have any sugesstion on how to use the debug mode in this > case? Because even if we start the test in debug, is not stopping to

Re: Specify earlier dated version of requestfactory-server-2.8.0-SNAPSHOT with Maven

2016-05-05 Thread Thomas Broyer
On Thursday, May 5, 2016 at 11:34:34 AM UTC+2, Thomas Broyer wrote: > > > > On Wednesday, May 4, 2016 at 8:46:03 PM UTC+2, Seth wrote: >> >> Hi all, >> >> >> After some jar hell, I figured out that the >> requestfactory-server-2.8.0-SNAPS

Re: Specify earlier dated version of requestfactory-server-2.8.0-SNAPSHOT with Maven

2016-05-05 Thread Thomas Broyer
On Wednesday, May 4, 2016 at 8:46:03 PM UTC+2, Seth wrote: > > Hi all, > > > After some jar hell, I figured out that the > requestfactory-server-2.8.0-SNAPSHOT > after March 20, 2016 (or so) seems to be including some Gson classes (and > it doesn't seem to use a dependency). These Gson classes

Re: GWT Editor Framework ValueboxEditorDecorator return multiple/duplicate EditorErrors Message

2016-05-05 Thread Thomas Broyer
On Wednesday, May 4, 2016 at 9:01:46 PM UTC+2, Loo Bin Hooi wrote: > > I have multiple sub-editor of the same data-model. > I will use Person as example > > class Person { > @NotNull > @Size(min = 2, message = "Persons aren't just characters") > private String name; > > // May be

Re: Super Dev Mode over HTTPS, workarounds?

2016-05-05 Thread Thomas Broyer
I asked a few questions in the issue in GitHub, please go answer them so we can advance the matter. It's not that hard to do TLS, the devil is in the details: how you trigger it, whether and how you configure it, etc. -- You received this message because you are subscribed to the Google Groups

Re: GWT unit tests along with JsInterop and external javascript

2016-05-04 Thread Thomas Broyer
How are you loading the JS script into the page? Keep in mind that GWTTestCase doesn't use your HTML host page; you have to use ScriptInjector in GWTTestCase. On Tuesday, May 3, 2016 at 12:57:44 PM UTC+2, ateletin wrote: > > My test case is simple, but it's not working. > I have an external .js

Re: Using different .gwt.xml in super-dev-mode

2016-05-02 Thread Thomas Broyer
On Monday, May 2, 2016 at 2:34:39 PM UTC+2, Luca Morettoni wrote: > > > On 02 May 2016, at 12:33, Thomas Broyer wrote: > > Starting with 2.8.0-beta1, you can set properties from the command-line > with "-setProperty compiler.stackMode=emulated". > You could also

Re: Using different .gwt.xml in super-dev-mode

2016-05-02 Thread Thomas Broyer
On Monday, May 2, 2016 at 12:03:47 PM UTC+2, Luca Morettoni wrote: > > Hi list! In a big project I need to use a different .gwt.xml > file because I’d like to disable some “memory consuming options” I have in > that file, like: > > > > My project is currently splitted in three different subp

Re: DragOverHandler & not accepting drop

2016-05-02 Thread Thomas Broyer
On Monday, May 2, 2016 at 10:39:39 AM UTC+2, shimmeri...@gmail.com wrote: > > According to the HTML5 drag & drop spec, element having dragOver listener > and calling preventDefault on it's parameter event tells the browser that > this element is a valid drop target. > > So, like this: > > f

error

2016-04-28 Thread Thomas Broyer
Don't use it? java.lang.Runtime isn't part of the emulated classes you can use in client-side code to be compiled by GWT: http://www.gwtproject.org/doc/latest/RefJreEmulation.html#Package_java_lang -- You received this message because you are subscribed to the Google Groups "GWT Users" group.

Global Event bus for separate compilation modules

2016-04-27 Thread Thomas Broyer
No, I think Ahmad is talking about the "turducken" architecture. I just stumbled on http://gwtdaily.com/post/79849550460/gwt-interappeventbus which should answer the question (with link to the presentation about the original concept) -- You received this message because you are subscribed to t

Re: gwt-2.8.0-beta1 / isn't it about time for a beta2?

2016-04-25 Thread Thomas Broyer
No, I believe it's about having at least a snapshot of guava-gwt that's usable with the GWT beta2 or RC (I was absent at the meeting so don't have more info) -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop r

Re: gwt-2.8.0-beta1 / isn't it about time for a beta2?

2016-04-25 Thread Thomas Broyer
On Monday, April 25, 2016 at 4:18:04 PM UTC+2, Michael Joyner wrote: > > gwt-2.8.0-beta1 / isn't it about time for a beta2? > See https://groups.google.com/d/msg/gwt-steering/11oqMx-Bn0A/sGcwVreaAwAJ -- You received this message because you are subscribed to the Google Groups "GWT Users" gr

Re: SuperDevMode automatic recompile does not work with external server

2016-04-22 Thread Thomas Broyer
Assuming the Mojo plugin and gwt:run-codeserver; you'll need to set the launcherDir property: https://gwt-maven-plugin.github.io/gwt-maven-plugin/run-codeserver-mojo.html#launcherDir If using gwt:run, then AFAICT it'd be hostedWebapp: https://gwt-maven-plugin.github.io/gwt-maven-plugin/run-moj

Re: Organizing project files with UIBinder

2016-04-20 Thread Thomas Broyer
This all depends how you do MVP; see tutorials on GWT website for various flavors; one doesn't involve HasText / HasClickHandlers. -- 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, se

Re: gwt-dev and javax-validation:validation-api

2016-04-15 Thread Thomas Broyer
On Friday, April 15, 2016 at 4:03:36 AM UTC+2, Ali Akhtar wrote: > > Heya, > > I'm using Dropwizard and GWT in the same project. Problem is, Dropwizard > relies on javax-validation:validation-api 1.1.0.Final and GWT uses an older > version of the lib. > > With dependencyManagement, I've got the

Re: gwt-2.8-git compilation failure

2016-04-15 Thread Thomas Broyer
On Friday, April 15, 2016 at 10:15:30 AM UTC+2, Jens wrote: > > Well then you have a class path issue. The classpath of your CodeServer > run configuration is probably different than the one used for a normal > compile. Make sure you do not have GWT 2.7 on classpath. > …or a third-party lib th

Re: Help running DevMode with GWT 2.7 and no bookmarklets

2016-04-13 Thread Thomas Broyer
-launcherDir's equivalent for DevMode is -war and is not optional. If you use DevMode with -noserver then it's equivalent to using CodeServer with -launcherDir. You're otherwise right. Just a note: for people coming from "legacy DevMode" in 2.6, 2.7 didn't change anything, except their workflow

Re: Upgrade validation-api dependency to 1.1.0.Final

2016-04-12 Thread Thomas Broyer
Nobody maintains the JSR303 emulation. Someone (Danilo) once volunteered, started working on the upgrade, and then disappeared. If you don't use client-side validation then you can compile with javax.validation 1.0 and run with 1.1. The problem then is setting up those rules in your build, and t

Help running DevMode with GWT 2.7 and no bookmarklets

2016-04-12 Thread Thomas Broyer
If you were already using CodeServer, then just add -launcherDir pointing to the exploded war folder in your Tomcat. This will generate a new nocache.js overwriting the original one that will trigger SDM on load, so you have nothing to do but load your app. -- You received this message because

Re: Upgrade validation-api dependency to 1.1.0.Final

2016-04-12 Thread Thomas Broyer
On Tuesday, April 12, 2016 at 11:21:39 AM UTC+2, Ali Akhtar wrote: > > gwt-user has a dependency to an older version of > javax-validation:validation-api. This is causing a lot of issues, and > causing builds to break with Dropwizard. See: > http://stackoverflow.com/questions/36568756/maven-dep

Re: Recommendation for GWT and AppEngine communication

2016-04-12 Thread Thomas Broyer
On Monday, April 11, 2016 at 10:59:34 PM UTC+2, Paul Mazzuca wrote: > > RestyGWT is enticing considering how well it decouples the client and the > server. Thanks. I am still curious about a community (I guess I mean > steering committee) recommendation though, especially if there are plans

Re: GWT WYSIWYG Editor

2016-04-11 Thread Thomas Broyer
On Monday, April 11, 2016 at 3:39:30 PM UTC+2, Julio Heitor Nobrega wrote: > > >Hi Guys, > > does anyone know if there is some WYSIWYG Editor for GWT? I have found > some old projects that implement the basic stuff but it does not work > anymore in a GWT 2.7 project. > > If someone has

Re: nocache file timestamp is not changing after compiles

2016-04-07 Thread Thomas Broyer
On Wednesday, April 6, 2016 at 10:18:04 PM UTC+2, Vassilis Virvilis wrote: > > This is a known problem for 2.7 > > I think it is fixed for 2.8 > > https://github.com/gwtproject/gwt/issues/9108 > > So far I am touching the nocache.js after deployment as a workaround > (otherwise all clients have

Re: Increasing GWT Timeout on JBoss Server

2016-04-04 Thread Thomas Broyer
On Monday, April 4, 2016 at 10:27:32 AM UTC+2, Pramod Karandikar wrote: > > We are working on a GWT 2.4.0 based web application hosted on JBoss > 5.2.0.1. We are using Java/Spring on the server side. > One of the Async services takes more than 5 minutes to return the response > from the server

Re: regexp with multiple machtes

2016-04-03 Thread Thomas Broyer
On Monday, April 4, 2016 at 12:27:33 AM UTC+2, Michael Esser wrote: > > Hi there, > > I want to match the a, b, c in the following string: "[[a]] [[b]] [[c]]" > > I use RegExp with this pattern:"/\\[\\[(.*)\\]\\]/"; > > But this allway gives me: a]] [[b]] [[c > The flags g, m didn't change anythi

Re: How to use json in client side

2016-04-02 Thread Thomas Broyer
On Saturday, April 2, 2016 at 12:52:51 PM UTC+2, schmitt kevin wrote: > > Hello everyone , can you help me please? > > in my server wich connect with mysql databse i send to my client one json > table like that > > rs = stmt.executeQuery("SELECT * FROM test"); > res ="["; > while (rs.next()) {

Re: GWT-2.8.0-SNAPSHOT and Gin

2016-04-02 Thread Thomas Broyer
y, 2 April 2016 02:05:35 UTC+2, Alexey Bykov wrote: >> >> Seems that you right Thomas, GWT-2.8.0-SNAPSHOT emulates quite a few >> classes from Java 8 compared to beta1 (whole java.util.function package!), >> and one of them is a JsException which isn't present in Java 8.

Re: GWT-2.8.0-SNAPSHOT and Gin

2016-04-01 Thread Thomas Broyer
On Friday, April 1, 2016 at 1:55:51 PM UTC+2, Jens wrote: > > Sounds like you are not the only one: > https://groups.google.com/forum/#!topic/google-gin/ywh7d9s6GpA > Looking quickly at the stacktrace, it could be a class from super-source: not found in the parent classloader so tentatively de

Re: String formatting in GWT 2.6+

2016-04-01 Thread Thomas Broyer
On Friday, April 1, 2016 at 12:33:29 PM UTC+2, Rade Martinović wrote: > > I cannot look it up right now, but is String.format() supported in GWT > after 2.6? > No. > Are there plans? > No. -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To

Re: GWT-2.8.0-SNAPSHOT SuperDevMode in Jetbrains IDEA - Exception in GWT ResourceAccumulatorManager after saving file

2016-03-31 Thread Thomas Broyer
On Thursday, March 31, 2016 at 3:34:56 PM UTC+2, Rocco De Angelis wrote: > > First THX Jens and Thomas, > > I would expect that the CodeServer should handle this correctly, so I will > open an bug for the GWT project. > Or is that a IDEA bug because the file is not hidden? > I don't think it's

Re: GWT-2.8.0-SNAPSHOT SuperDevMode in Jetbrains IDEA - Exception in GWT ResourceAccumulatorManager after saving file

2016-03-31 Thread Thomas Broyer
Oh BTW, as a workaround, you should be able to disable filewatch by passing the gwt.watchFileChanges system property with value false: -Dgwt.watchFileChanges=false On Thursday, March 31, 2016 at 3:19:13 PM UTC+2, Thomas Broyer wrote: > > > > On Thursday, March 31, 2016 at 3:00

Re: GWT-2.8.0-SNAPSHOT SuperDevMode in Jetbrains IDEA - Exception in GWT ResourceAccumulatorManager after saving file

2016-03-31 Thread Thomas Broyer
On Thursday, March 31, 2016 at 3:00:40 PM UTC+2, Rocco De Angelis wrote: > > Hi All, > > I have tested again the current state of the SuperDevMode in Jetbrains > IDEA (Version: 2016.1) > The SuperDevMode seems to work in general but it takes very long until the > CodeServer is started (1:30min)

Re: GWT 2.8 next release

2016-03-30 Thread Thomas Broyer
Unfortunately no, no java.time. -- 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 t

GWT 2.8 next release

2016-03-30 Thread Thomas Broyer
We're a bit late wrt our plan for RC1, but we're currently adding emulation for many Java 8 APIs (new methods in collections, java.util.function, spliterators, and soon streams). Stay tuned. -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsu

Re: SuperDevMode

2016-03-30 Thread Thomas Broyer
On Tuesday, March 29, 2016 at 8:54:56 PM UTC+2, Jim Douglas wrote: > > Whoops, I did have one more specific question. I followed Brandon's video > to debug with Chrome, and it worked great: > > https://www.youtube.com/watch?v=icJEa5lcJaQ > > Is there a video, or notes, describing how to debug G

GWT Embedded in other GWT App

2016-03-28 Thread Thomas Broyer
This is a known issue: https://github.com/gwtproject/gwt/issues/4468 Solution is to first update to at least 2.7, and use SuperDevMode. -- 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 i

Re: GWT Spring - WebApplicationInitializer does not start

2016-03-25 Thread Thomas Broyer
On Thursday, March 24, 2016 at 11:08:07 PM UTC+1, Łukasz Drzyzga wrote: > > Hi, I want to configure Stomp MessageBroker by programmaticaly java code > using Spring annotations in GWT 2.7 project but I noticed that method > onStartup is not executed :/ I used system output print, logger and > b

Re: GWT 2.8 snapshot + GQuery snapshot : [ERROR] Errors in 'com/google/gwt/query/client/GQuery.java'

2016-03-25 Thread Thomas Broyer
BTW, it looks like GQuery is actually developed at https://github.com/ArcBees/gwtquery, https://github.com/gwtquery/gwtquery hasn't been updated for more than a year now. On Friday, March 25, 2016 at 11:31:19 AM UTC+1, Thomas Broyer wrote: > > AIUI, it could be a type-inference glitc

Re: GWT 2.8 snapshot + GQuery snapshot : [ERROR] Errors in 'com/google/gwt/query/client/GQuery.java'

2016-03-25 Thread Thomas Broyer
AIUI, it could be a type-inference glitch (line 226 is "return $(f.getElement())" and Function#getElement is a generic method) due to the update of JDT/ECJ. Changing that line to "return $(f.getElement())" might fix it. On Friday, March 25, 2016 at 10:14:58 AM UTC+1, maticpetek wrote: > > Hi, >

Re: Why can I not extend java.util.Date?

2016-03-24 Thread Thomas Broyer
On Thursday, March 24, 2016 at 2:25:09 PM UTC+1, Stefan Falk wrote: > > My main problem here is that on the server side everything is following > the ISO standard MONDAY = 1, TUESDAY = 2, .. etc and since we only got Date > on he client things can get mixed up. This is why I thought I could >

Re: Method Enumeration in GWT

2016-03-22 Thread Thomas Broyer
On Tuesday, March 22, 2016 at 12:56:06 PM UTC+1, Shrivathsa Bhat wrote: > > Hello All, I've heard it is possible to enumerate all available methods in > client side. Below are some links about this: > > https://github.com/GDSSecurity/GWT-Penetration-Testing-Toolset > > https://blog.gdssecurity.c

Re: SuperDevMode

2016-03-22 Thread Thomas Broyer
On Monday, March 21, 2016 at 11:21:21 PM UTC+1, Jim Douglas wrote: > > Hmm, that sounded like there might be a hint in there somewhere. :-) > > > You could also create a launch configuration for the SuperDevMode code > server directly because DevMode -noserver is the same as starting the > main

Re: JsInterop and Sencha Ext js framework

2016-03-18 Thread Thomas Broyer
Because Brandon works for Sencha? :-P On Thursday, March 17, 2016 at 3:10:34 PM UTC+1, Alain wrote: > > Which brings me back to the question of why not help improving ext4j > instead of having tons of micro solutions ? > On 17 Mar 2016 14:50, "Brandon Donnelson" wrote: > >> ateletin, I've been w

Re: Is anybody of you guys using GWT with Lombok?

2016-03-18 Thread Thomas Broyer
FWIW, while I'm against Lombok because as others already said it's really hackish and fragile (see also https://groups.google.com/d/topic/bazel-discuss/ZRWdqJfYEPw/discussion, Bazel uses Error Prone as the Java compiler, which is more-or-less a "fork" of the OpenJDK com

Re: GWTTestCase: reduce log level

2016-03-10 Thread Thomas Broyer
On Thursday, March 10, 2016 at 9:31:04 AM UTC+1, Denny Kluge wrote: > > This is probably a newbie question, but I googled around for the past half > hour > without finding a solution. So when I run a GWTTestCase in Eclipse, > tons of log info are spewed out to the Eclipse console by htmlunit an

GWT 2.8 with App Engine on Java 7

2016-03-10 Thread Thomas Broyer
GWT 2.8 should support JDK 7, but if you want to use Java 8 features then indeed you need to use a JDK 8 to JavaC your classes. You could possibly exclude your client code from being compiled with JavaC, and only processed by GWT. Alternatives I can think of are: - use Maven Toolchains to use

Re: Deploy GWT App to Google App Engine

2016-03-07 Thread Thomas Broyer
On Monday, March 7, 2016 at 4:08:37 PM UTC+1, Stefan Falk wrote: > > I already have a project of type gwt-maven-archetypes. I don't want to > change the whole project to another archetype. > Why would you "change the whole project to another archetype"? An archetype is only a skeleton-generato

Re: Compiling only what is needed to run?

2016-03-07 Thread Thomas Broyer
Dead-code removal is an optimization ran *after* the first phases have completed. You can however annotate your method with @GwtIncompatible (in any package, only the annotation's simple-name matters; one is provided in com.google.gwt.core.shared in gwt-user and gwt-servlet, another exists in G

Deploy GWT App to Google App Engine

2016-03-06 Thread Thomas Broyer
Isn't the appengine-maven-plugin offering a goal to do the upload? -- 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.

Generic way to acess a entityProxy properties

2016-03-05 Thread Thomas Broyer
In theory you should be able to do that by obtaining the AutoBean behind the proxy and then using a visitor (from memory, on mobile so not easy to check the javadoc) -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group a

Re: Regarding RpcService,HybridServiceServlet and ClientOracle

2016-03-04 Thread Thomas Broyer
're doing with ClientOracle. A typical application would not need to directly touch a ClientOracle, which means your application added some customizations; but not knowing what those customizations are, it's impossible to tell whether they're available in "standard" GWT-RPC.

<    3   4   5   6   7   8   9   10   11   12   >