Re: GST 2.8 Keyboard Handler Question

2017-02-02 Thread Thomas Broyer
On Wednesday, February 1, 2017 at 8:33:43 PM UTC+1, Ed wrote: > > @Thomas > > I cant find the cancel event in the docs. I found javadoc for 2.7 not 2.8 > That'd be preventDefault() http://www.gwtproject.org/javadoc/latest/com/google/gwt/event/dom/client/DomEvent.html#preventDefault() -- You re

GST 2.8 Keyboard Handler Question

2017-02-01 Thread Thomas Broyer
Have you tried cancelling the event? -- 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 em

Re: Drag and Drop in GWT

2017-01-28 Thread Thomas Broyer
Drag and drop is in GWT proper (DropEvent et al) -- 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 gr

Re: GWT 2.7: access public static final field in JSNI results as undefined in SuperDevMode

2017-01-27 Thread Thomas Broyer
I would say it's a bug (have you tried in 2.8, maybe it's fixed?). I'd also say one should try to keep JSNI as small as possible; your method could be rewritten as: public static void doSomethingWithMarker() { nativeDoSomethingWithMarker(SPECIAL_MARKER); } private static native void nativeDoSome

Re: GWT/Maven: No source code is available for type junit.framework.Test; did you forget to inherit a required module?

2017-01-27 Thread Thomas Broyer
On Friday, January 27, 2017 at 4:07:16 AM UTC+1, Magnus wrote: > > Hello Thomas, > > I solved the actual problem by removing the Maven generated AppTest.java > from the src/test/ path. > However, my further plans are concerned by what you mentioned below: > > GWT doesn't care about folders, it r

Re: GWT/Maven: No source code is available for type junit.framework.Test; did you forget to inherit a required module?

2017-01-26 Thread Thomas Broyer
On Thursday, January 26, 2017 at 5:26:21 PM UTC+1, Magnus wrote: > > Hello Thomas! > > > I'd suggest getting Maven to work before Eclipse > > Let me explain this: > I am in the middle of a migration of my code towards Maven. Before this, I > had this situation: > >- a pure java library (lib-

Re: [WARN] Namespace option is not compatible with CodeSplitter, turning it off.

2017-01-26 Thread Thomas Broyer
On Thursday, January 26, 2017 at 4:01:59 PM UTC+1, Jens wrote: > > The GWT compiler has a namespace option (-Xnamespace) you can turn on > during compilation. But turning it on can produce bugs, especially when > using code splitting so this option has been deactivated for now. > > The reasonin

Re: GWT/Maven: No source code is available for type junit.framework.Test; did you forget to inherit a required module?

2017-01-25 Thread Thomas Broyer
GWT doesn't care about folders, it reads resources from the classpath. And Eclipse does not have notions of "main" and test classpaths, so src/test/java is added to the classpath just like src/main/java. That said, a properly configured Eclipse+Maven+GWT project should configure GWT tasks to onl

Re: Geolocation problems

2017-01-25 Thread Thomas Broyer
On Wednesday, January 25, 2017 at 11:56:20 AM UTC+1, Paul wrote: > > See > http://www.gwtproject.org/javadoc/latest/com/google/gwt/geolocation/client/Position.Coordinates.html > > Several methods return Double e.g. > > public Double getSpeed() > > The JavaScript object overlay that implements th

Re: [WARN] Lost communication with remote process ?

2017-01-24 Thread Thomas Broyer
A quick look at the code reveals that after the exception is logged , a TransientWorkerException

Only Getting 1 Header from Response (newbie)

2017-01-23 Thread Thomas Broyer
The Access-Control-Expose-Headers response header only allows Content-Type to go through (other whitelisted headers are not present in response) -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emai

Re: Super Dev Mode stopped working in Chrome

2017-01-12 Thread Thomas Broyer
You may want to try out https://github.com/tbroyer/gwt-devserver -- 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

Problems with RequestBuilder

2017-01-12 Thread Thomas Broyer
It looks like you have a cross-origin issue (localhost: vs localhost:8080), and CORS would help. -- 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-too

Re: Error 404 while download gwt chrome plugin

2017-01-08 Thread Thomas Broyer
On Sunday, January 8, 2017 at 4:44:05 PM UTC+1, Thomas Broyer wrote: > > What that means is we need to update the missing-plugin page; though > nowadays I don't think it works in many browsers… (very old Firefox, and > maybe IE: no Chrome, no Safari, no Edge, no recent Firefo

Re: Error 404 while download gwt chrome plugin

2017-01-08 Thread Thomas Broyer
On Sunday, January 8, 2017 at 4:39:02 PM UTC+1, Silvio Domingos wrote: > > Hi everyone, > > I'm trying to download the gwt plugin to chrome. however i always got 404 > error using the url http://www.gwtproject.org/missing-plugin/ > Is it happening with everyone or only me? > It's not just you,

WindowBuilder for GWT

2017-01-08 Thread Thomas Broyer
It's simple: you can't. GWT Designer is unmaintained and hasn't had a release for recent versions of Eclipse. -- 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 googl

GWT 2.8 with Java 7

2017-01-06 Thread Thomas Broyer
Those are warnings, and should not break the build (unless maybe you use -strict). Ideally the GWT compiler should be run with java 8, but you can compile (JavaC) your classes with java 7 and deploy gwt-servlet to a 1.7 JVM. -- You received this message because you are subscribed to the Google

Re: Requestfactory: How to use Object?

2017-01-06 Thread Thomas Broyer
On Friday, January 6, 2017 at 1:11:35 PM UTC+1, Ignacio Baca Moreno-Torres wrote: > > Hehe this is not a bad thing! Just means that now exists simpler > solutions. I personally think that RF keeps track of object (the entity id) > which add really a lot of complexity, at this point I think tha

Re: Where do I find old distributions?

2017-01-03 Thread Thomas Broyer
On Tuesday, January 3, 2017 at 10:41:35 AM UTC+1, Rémon Sinnema wrote: > > The website still points to > googlecode.com, but that is no longer available. For instance, > http://google-web-toolkit.googlecode.com/files/gwt-linux-1.7.1.tar.bz2 gives > a 4

Re: Custom Bean validation

2017-01-03 Thread Thomas Broyer
On Tuesday, January 3, 2017 at 10:37:50 AM UTC+1, 129pierre wrote: > > Hi, > > I am looking at validation in > http://www.gwtproject.org/doc/latest/DevGuideValidation.html but I didnot > see anything for custom validation. > Because there's nothing specific to GWT about it. > Let's say my

Re: GWT 2.8.0 released

2017-01-01 Thread Thomas Broyer
GWT 2.8 dropped support for Java 6. You can probably use tools to "backport" the JAR to be Java 6-compatible. -- 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 googl

Compiler requests

2016-12-30 Thread Thomas Broyer
On mobile so can't develop as much as I'd want. 1. Have a look at how JUnitShell synthesizes the .JUnit modules. 2. gwt.xml files are on the way out, once GWT will have adopted J2CL. This will take time though. The reasons for those files are source/super-source/public paths and deferred binding

Re: Requestfactory: How to use Object?

2016-12-26 Thread Thomas Broyer
+1 Do not start learning/using RequestFactory (or even GWT RPC I'd say). Learn JsInterop and use json-based http APIs. -- 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

GWT Elemental - byte stream from microphone

2016-12-26 Thread Thomas Broyer
Elemental 1 hasn't been updated for a while. Elemental 2 hasn't been released yet but will have those APIs. In the mean time, you can write the JsInterop glue code yourself. -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this

GWT and async requests (startAsync)

2016-12-23 Thread Thomas Broyer
GWT RPC has been thought of as blocking on the server side. Making it async would require changes to the RemoteServiceServlet: most likely the method would be async just like on the client side with the implementation calling the callbacks onSuccess or onFailure. Your best bet here would be to

Re: GWT and Bazel

2016-12-18 Thread Thomas Broyer
On Saturday, December 17, 2016 at 9:56:16 PM UTC+1, Konstantin Solomatov wrote: > > >> It has dev mode, but it works only with the source folders from the >>> module where you declare gwt_application. Are there any ways to workaround >>> this implementation. >>> >> >> From the documentation th

Re: IDEs, Dagger2 and annotationProcessorPaths

2016-12-17 Thread Thomas Broyer
Nothing to do with Dagger proper, it's a Maven and IDE integration issue. annotationProcessorPaths of maven-compiler-plugin is quite new (and with issues on its own) and it's not really surprising that IDEs haven't caught up yet. -- You received this message because you are subscribed to the Go

Re: GWT and Bazel

2016-12-16 Thread Thomas Broyer
On Thursday, December 15, 2016 at 9:36:22 PM UTC+1, Konstantin Solomatov wrote: > > Does anybody use rules for bazel from here: > https://github.com/bazelbuild/rules_gwt? It seems that these rules are > quite immature. Does anybody try to use it? Are there any alternatives to > this? > At le

Re: IDEs, Dagger2 and annotationProcessorPaths

2016-12-15 Thread Thomas Broyer
This is a Dagger question and Dagger support is done on StackOverflow. But no I don't think you can use the incremental compiler (people have similar issues with Android/Gradle builds with the new incremental Jack toolchain) -- You received this message because you are subscribed to the Google

Re: CustomButton implementation leads to incorrect handling of PushButton by screen readers

2016-12-13 Thread Thomas Broyer
Thank you for the patch but could you follow the submission guidelines at http://www.gwtproject.org/makinggwtbetter.html ? Also, you're changing the behavior for *all but* ToggleButton, while the conservative approach would be to change it only for PushButton. BTW, you may want to consider filin

Re: Windows 10 compatibility

2016-12-13 Thread Thomas Broyer
On Tuesday, December 13, 2016 at 1:29:53 PM UTC+1, Kirill Prazdnikov wrote: > > Are there any plans to remove legacy dev-mode ? No precise plan yet, but it *will* happen. We've started making changes to the Java Runtime Emulation that are not compatible with devmode (namely an optimization for

Re: Windows 10 compatibility

2016-12-13 Thread Thomas Broyer
On Tuesday, December 13, 2016 at 11:24:27 AM UTC+1, Mounika Avala wrote: > > Hello, > > Here I am writing this email to you to know the information about this > application Google Web Toolkit Developer Plugin for IE 1.0.7263.0.we would > like to know whether is application is supported on wind

Re: CustomButton implementation leads to incorrect handling of PushButton by screen readers

2016-12-13 Thread Thomas Broyer
On Tuesday, December 13, 2016 at 8:14:50 AM UTC+1, Julio Feferman wrote: > > I am instrumenting an application for best possible support for assistive > technologies (ATs) such as screen readers, using GWT's ARIA implementation. > I see that the CustomButton widget setEnabled() method sets the

Re: About running tests in a project built via tbroyer's maven multi-module archetype

2016-12-03 Thread Thomas Broyer
On Friday, December 2, 2016 at 8:06:23 PM UTC+1, vitrums wrote: > > Is it safe to leave it like this? > Absolutely. And actually, there's no bug in gwt:test. gwt:test (actually, GWTTestCases, whether run through gwt:test or surefire:test or whatever) simply expects the sources to be on the cl

Re: About running tests in a project built via tbroyer's maven multi-module archetype

2016-12-02 Thread Thomas Broyer
You might have just uncovered a bug in gwt:test. I think a workaround would be to move the maven-source-plugin to the process-classes phase. -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails f

Re: About running tests in a project built via tbroyer's maven multi-module archetype

2016-12-02 Thread Thomas Broyer
On Friday, December 2, 2016 at 5:48:36 PM UTC+1, vitrums wrote: > > Even though I can read .pom configuration files, I'm not strong in > configuring them myself, when it comes to multi-module project. Especially > when it comes to packaging servlets as *jar*. > Well, servlets are nothing more

Re: About running tests in a project built via tbroyer's maven multi-module archetype

2016-12-02 Thread Thomas Broyer
On Friday, December 2, 2016 at 5:53:46 AM UTC+1, vitrums wrote: > > It's also not clear for me why greetingService test classes must've been > completely excluded from the *modular-webapp* archetype. > Because, actually, using in GWTTestCases is not seen as a good practice (anymore). GWTTestC

Re: GWT [Error] Rebind result 'com.viktor.MyClassJSO' cannot be a JSO

2016-12-02 Thread Thomas Broyer
On Friday, December 2, 2016 at 8:24:01 AM UTC+1, Viktor Krejčíř wrote: > > Hi all, > > after upgrading from GWT 2.6. to 2.8 stable version, I've started getting > this error during compilation. > > The MyClassJSO is just plain JSO class (extends JavaScriptObject), so I > really don't know where

Re: Can't build maven sample GWT app, generated by webAppCreator

2016-11-16 Thread Thomas Broyer
On Wednesday, November 16, 2016 at 4:10:04 PM UTC+1, vitrums wrote: > > [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ WebApp --- > [INFO] Changes detected - recompiling the module! > [INFO] Compiling 5 source files to > C:\temp\mvnSampleGwtApp\WebApp\target\WebApp-1.0-SNAPSHOT

Re: Internet Explorer Google Web Toolkit Plugin Installing but not Working.

2016-11-15 Thread Thomas Broyer
On Tuesday, November 15, 2016 at 12:55:01 AM UTC+1, Slava Pankov wrote: > > Dev mode works just fine with GWT 2.8 in old Firefox 24 esr and IE11. > Thanks for the confirmation. Just after I sent my mail, I new I was probably wrong: devmode doesn't use the Java Runtime Emulation (JRE) library,

Re: Internet Explorer Google Web Toolkit Plugin Installing but not Working.

2016-11-14 Thread Thomas Broyer
On Monday, November 14, 2016 at 12:12:01 PM UTC+1, Kirill Prazdnikov wrote: > > Why not to approve the dev-mode-delete.patch ? > You're right, maybe now is the time. I think we'll discuss this at the next Steering Committee meeting; in the meantime, feedback is welcome (e.g. if DevMode already

Re: Problems with ClickEvents when using CellTree within DataGrid.

2016-11-14 Thread Thomas Broyer
On Monday, November 14, 2016 at 10:51:35 AM UTC+1, magnus@raybased.com wrote: > > I have some problems when using a CellTree within a DataGrid. > Everything works except when clicking on the tree, nothing happens. > I would expect the tree to expand/retract. > Does anyone know of a solution

Re: Internet Explorer Google Web Toolkit Plugin Installing but not Working.

2016-11-14 Thread Thomas Broyer
On Sunday, November 13, 2016 at 9:57:44 PM UTC+1, Kirill Prazdnikov wrote: > > I`m not sure, but I saw people were saying that they will deprecate all of > dev mode code finally, one day... > Yes. Google have already deleted it in their internal codebase and have been pushing for removing it f

Re: JsonpRequestBuilder - Timeout while calling

2016-11-08 Thread Thomas Broyer
A status code of 0 is generally indicative of a cross origin request without CORS (or an aborted request or network error) -- 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.0 released

2016-11-08 Thread Thomas Broyer
Basically, either you use "managed dependencies" (Maven, Gradle, Ivy, etc.) and it should resolve all dependencies for you; or you use the GWT SDK that you can download from the project website which bundles (almost) everything into 2 JARs. If you download from a Maven repo, then you'll need js

Re: JsonpRequestBuilder - Timeout while calling

2016-11-08 Thread Thomas Broyer
JsonpRequestBuilder has a default timeout of 10 seconds, whereas RequestBuilder doesn't have a timeout by default. http://www.gwtproject.org/javadoc/latest/com/google/gwt/jsonp/client/JsonpRequestBuilder.html#setTimeout(int) Anyway, if you can setup CORS on your server (Access-Control-Allow-Origin

Re: GWT Logger: your best practices, tips and reasonings.

2016-11-08 Thread Thomas Broyer
On Tuesday, November 8, 2016 at 4:36:20 AM UTC+1, vitrums wrote: > > Recently I found, that some log4j-like functionality in my client's code > could be handy. So with the GWT logging module I can pretty much have a > shared logging code, which is very convenient to use on both sides. The > tu

Re: GWT 2.7.0 Compile Errors

2016-11-08 Thread Thomas Broyer
On Tuesday, November 8, 2016 at 8:20:58 AM UTC+1, Majdi ABDELMOULA wrote: > > Thank you for your reponse. > >> the problem GXT is not free now. I will lost two old projects (projects >> since 6 years). I will use smart GWT for a new project, so i must start >> from zero, but i worry that Smart

Re: GWT 2.8.0 released

2016-11-08 Thread Thomas Broyer
On Monday, November 7, 2016 at 11:17:10 PM UTC+1, Zeeshan Chughtai wrote: > > Hi, > > Thanks for this, really happy to have it around. > > We were using 2.8.0-beta1 version for a while without any major fuss. > > While upgrading to 2.8.0 released version, we get stuck with codeserver > refused

Re: GWT 2.7.0 Compile Errors

2016-11-07 Thread Thomas Broyer
On Monday, November 7, 2016 at 3:53:01 PM UTC+1, Majdi ABDELMOULA wrote: > > I have Compile an old GWT project under the plugin GWT 2.7.0 , but i have > some errors because the incompatibility between the old version and the new > version of the GWT. > What is the solution for this error ??? >

How to store configuration outside the database?

2016-11-06 Thread Thomas Broyer
Externalize into a JNDI Resource? https://tomcat.apache.org/tomcat-8.0-doc/jndi-resources-howto.html#JDBC_Data_Sources -- 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

Re: Can a GWT Dev Mode plugin be rewritten for Chrome using NACL?

2016-11-06 Thread Thomas Broyer
On Sunday, November 6, 2016 at 10:55:56 AM UTC+1, Max Fromberger wrote: > > From my point of view the only future proof (because never to be > deprecated) way of debugging is debugging in JS, i.e. super dev mode. This > is going to work until the end of browsers. > I still believe one could im

Re: Bug in Audio addEndedHandler

2016-11-06 Thread Thomas Broyer
On Sunday, November 6, 2016 at 6:10:08 AM UTC+1, Craig Mitchell wrote: > > If you want to listen for the end of an audio track, calling > MediaBase.addEndedHandler won't work, as it is using BrowserEvents.ENDED > which is set to "ended". > > The correct event is actually "onended". Ref: > htt

Re: Can a GWT Dev Mode plugin be rewritten for Chrome using NACL?

2016-11-05 Thread Thomas Broyer
On Saturday, November 5, 2016 at 11:23:33 AM UTC+1, Ariel Viera wrote: > > Is theoretically possible to port GWT Dev Mode plugin for Chrome using > PNACL or NACL > > No. Because communication between JS and NaCl is asynchronous, and DevMode MUST be blocking (and reentrant). (we've already had

Re: GWT 2.8.0 is not compatible with java6

2016-11-04 Thread Thomas Broyer
With the exception of a few corner-cases, Java 6 source code is also Java 8 compliant; so the GWT Compiler should be able to process it even though it assumes Java 8 source code. But the question was about JVM requirements: gwt-servlet.jar is compiled as Java 7 bytecode in 2.8, so it requires a

Re: GWT 2.8.0 is not compatible with java6

2016-11-02 Thread Thomas Broyer
On Wednesday, November 2, 2016 at 2:38:38 PM UTC+1, Juan Pablo Gardella wrote: > > Hi all, > > At release notes is not mentioned that now it will support only java7. > Good catch! > I found tbroyer comment here: > http://stackoverflow.com/questions/28879590/jdk-and-jre-minimal-versions-requi

Re: Strange error with streams

2016-11-01 Thread Thomas Broyer
IIRC, there are gotchas with method references in some cases, and using lambdas workarounds the problem. Colin or Andrei would know better as it was them that had such issues when implementing… the streams emulation. -- You received this message because you are subscribed to the Google Groups "

Re: Closure compiler and GWT 2.8.0

2016-10-27 Thread Thomas Broyer
On Wednesday, October 26, 2016 at 11:21:02 PM UTC+2, Slava Pankov wrote: > > 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 compil

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

2016-10-26 Thread Thomas Broyer
Assuming an EntityProxy here, if the field is left unchanged, then it's not sent to the server. On the server side, the entity is loaded by the Locator and then the diff is applied. So if the Locator gets a null field, it'll be left null. You may have to use a ValueProxy here… -- You received

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 Ginject

Re: GWT launch client side application

2016-10-24 Thread Thomas Broyer
On Monday, October 24, 2016 at 6:31:19 PM UTC+2, Aaron Paluzzi wrote: > > In this case we're trying to launch excel. Although we might wind up > needing to launch any local binary. Even being able to launch a batch file > would be a help. > > The reason this is a GWT issue > The reason this

Re: GWT 2.8.0 released

2016-10-23 Thread Thomas Broyer
On Saturday, October 22, 2016 at 8:31:43 PM UTC+2, zakaria amine wrote: > > Great! Elemental 2 is part of it ? > No. Elemental 2 will be released independently (along with its generator I believe) -- You received this message because you are subscribed to the Google Groups "GWT Users" group.

Re: GWT cache.html files.

2016-10-21 Thread Thomas Broyer
On Friday, October 21, 2016 at 10:30:23 AM UTC+2, Jarek Suchanek wrote: > > Hi Everyone, > > I am working on converting old GWT project to the latest version. I have > no prior experience with GWT. My old project includes html, js, and xml > files. My problem is that when I rebuild that project

Re: JS Interop + indexing

2016-10-20 Thread Thomas Broyer
On Thursday, October 20, 2016 at 5:32:11 PM UTC+2, Kirill Prazdnikov wrote: > > Hello all, this is an important topic, (despite no one wants to answer > for almost 2 month) > > Im trying to declare JsArray with interop but there are some issues: > > [INFO]Errors in client/jsinterop/core/JsArr

Re: Cannot Debug GWT with Eclipse

2016-10-20 Thread Thomas Broyer
On Thursday, October 20, 2016 at 10:39:34 AM UTC+2, Vassilis Virvilis wrote: > > Hi, > > Are we talking about debugging using SDBG plugin, setting breakpoints from > the IDE +that kind of thing? > > Because if you don't you don't need any reverse proxies for http. I am > using it all the time a

Re: gwt test cases failing after migrating to GWT 2.7.0 only when building the project using maven install

2016-10-19 Thread Thomas Broyer
Have you updated gwt-test-utils accordingly? You apparently need 0.51 or 0.52 for use with GWT 2.7.0. Also, you may have better guidance in the gwt-test-utils forum: https://groups.google.com/forum/#!forum/gwt-test-utils-users On Wednesday, October 19, 2016 at 10:40:02 AM UTC+2, saritha rapolu w

Re: Cannot Debug GWT with Eclipse

2016-10-17 Thread Thomas Broyer
Maybe try out the new GWT Eclipse Plugin, which (AFAICT) bundles everything together: http://gwt-plugins.github.io/documentation/gwt-eclipse-plugin/debugging/Debugging.html On Monday, October 17, 2016 at 12:48:38 AM UTC+2, Namline wrote: > > Jens, > > Actually, I took your advice and managed to

Re: best practices for modular GWT app

2016-10-14 Thread Thomas Broyer
On Friday, October 14, 2016 at 10:20:28 AM UTC+2, Kirill Prazdnikov wrote: > > Well, my suggestion was only two modules: > 1. GWT code - builds the client app > 2. platform independent code (jar) for some logic shared between, for > example, server app > > Is it incorrect ? > And so you cho

Re: Errors in com/google/gwt/emul/java/lang/String.java

2016-10-13 Thread Thomas Broyer
The problem is that you have a mix of rc2 and rc3 libs in your classpath, and this is because org.codehaus.mojo:gwt-maven-plugin itself brings GWT dependencies (with the same version as the plugin, as a convention). See http://gwt-maven-plugin.github.io/gwt-maven-plugin/user-guide/using-differen

Re: Replcaing GWT generators with APT - Annotation Processing Tool -

2016-10-08 Thread Thomas Broyer
On Saturday, October 8, 2016 at 12:14:29 AM UTC+2, Ahmad Bawaneh wrote: > > Dears, > We all know that GTW 3.0 will come with some major changes from the > current GWT, and so we find every were suggestions for how to be prepared > for these changes, and that is good, but here is my issue regard

Re: How to use devModeArgs in net.ltgt.gwt.maven Plugin ?

2016-10-06 Thread Thomas Broyer
You're trying to pass two arguments here, so you have to use two elements: -servercom.google.appengine.tools.development.gwt.AppEngineLauncher Note that Maven will accept both and , so I tend to use as it's much shorter. I like to also put both elements on the same line when they are log

Re: GSS changes aren't recognized in SDM

2016-10-05 Thread Thomas Broyer
IIRC, Eclipse does it for you automatically on save. FWIW, this is because resources can be filtered (placeholders replaced with property values) and/or relocated, so using the "sources" directly could cause issues. -- You received this message because you are subscribed to the Google Groups "

Re: GSS changes aren't recognized in SDM

2016-10-05 Thread Thomas Broyer
Do you "mvn process-resources" when you change something in src/main/resources? On Wednesday, October 5, 2016 at 2:12:07 PM UTC+2, N Troncoso wrote: > > I'm starting a new project using GWT 2.8-rc2, and am setting up my GSS > resources. It all works and the pages render correctly, but if I chang

Re: How to remove EventListener

2016-10-05 Thread Thomas Broyer
On Wednesday, October 5, 2016 at 12:59:53 PM UTC+2, Henrik wrote: > > Surprised at your reaction to this. I find myself doing the same more and > more as I'm using less and less widgets. Is there a better way when > dealing with non-widget elements? > Use JsInterop (and/or Elemental) to dire

Re: GWT RC2 with Polymer: Issue while calling click handler from Java.

2016-10-05 Thread Thomas Broyer
On Wednesday, October 5, 2016 at 12:59:29 PM UTC+2, GAURAV GUPTA wrote: > > Hi All, > > I am using below code for creating my custom element, > > package com.test; > > import jsinterop.annotations.JsConstructor; > import jsinterop.annotations.JsMethod; > import jsinterop.annotations.JsType; > >

Re: NoClassDefFoundError (HttpSessionIdListener) when launching SDM, after switching from gwt-2.8.0-beta1 to rc2

2016-10-05 Thread Thomas Broyer
Or maybe adjust the classpathScope to include provided dependencies? http://tbroyer.github.io/gwt-maven-plugin/devmode-mojo.html#classpathScope / http://tbroyer.github.io/gwt-maven-plugin/codeserver-mojo.html#classpathScope (see also the samples from the GWT SDK, or the POM generated by webAppC

Re: How to remove EventListener

2016-10-04 Thread Thomas Broyer
On Tuesday, October 4, 2016 at 1:04:06 AM UTC+2, David wrote: > > I use the following code to create an EventListener: > > Event.sinkEvents(divElement, Event.ONCLICK); > final EventListener listener = new EventListener() > {...}; >

GWT google crawler error undefined.cache.js

2016-09-30 Thread Thomas Broyer
Have you tried set-property-fallback? -- 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 e

Re: GWT 2.8 RC2 with Polymer : Creating custom element using JsInterop

2016-09-30 Thread Thomas Broyer
ustom elements using Polymer. > > Regards, > Gaurav > > On Friday, 30 September 2016 17:46:41 UTC+5:30, Thomas Broyer wrote: >> >> JsExport has been replaced by JsType, JsConstructor, JsMethod and >> JsProperty; see >> https://docs.google.com/document/d/10fml

Re: GWT and Oracle

2016-09-30 Thread Thomas Broyer
On Friday, September 30, 2016 at 3:03:33 PM UTC+2, Eric Nissan wrote: > > Hey just curious, does Oracle contribute to GWT at all? I know they are > in a battle with Google over Java (android), but one would think they could > put that aside and contribute as GWT really does encourage Java usage

GWT 2.8 RC2 with Polymer : Creating custom element using JsInterop

2016-09-30 Thread Thomas Broyer
JsExport has been replaced by JsType, JsConstructor, JsMethod and JsProperty; see https://docs.google.com/document/d/10fmlEYIHcyead_4R1S5wKGs1t2I7Fnp_PaNaa7XTEk0 (link comes from 2.8 beta release notes) -- You received this message because you are subscribed to the Google Groups "GWT Users" g

Re: GWT Maven project made with WebAppCreator don't work in devmode

2016-09-28 Thread Thomas Broyer
I answered on SO: https://stackoverflow.com/a/39750766/116472 On Wednesday, September 28, 2016 at 3:51:20 PM UTC+2, Vit Vyaz wrote: > > Hi, all > > > I have created a GWT project with maven configuration on this way: > > webAppCreator -out HelloWorldGWT -templates sample,maven,readme > ua.vitvyaz

Re: [GWT 2.8 SHNAPSHOT] missing stack trace for 'Should only call onDetach when the widget is attached to the browser's document'

2016-09-27 Thread Thomas Broyer
How about setting a breakpoint at the throw line in Widget onDetach then? -- 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...@googlegroup

Re: SDM Class replacement problem

2016-09-27 Thread Thomas Broyer
Double check your classpath order, and/or possibly pass your source tree root folder as -src to SDM instead of adding it to the classpath. On Tuesday, September 27, 2016 at 3:44:44 PM UTC+2, Alexander Tarasov wrote: > > Hi. > I need to replace some abstact class from external library. > I've crea

Re: JsInterop and constants

2016-09-27 Thread Thomas Broyer
On Tuesday, September 27, 2016 at 1:36:13 PM UTC+2, Kirill Prazdnikov wrote: > > or you want a Java-only field in that interface (like you had in your JSO >> previously), and then you need to use @JsOverlay. >> > > Yes, I want Java-only scalars. Web GL constant pool has about 150 fields. > Shoul

Re: JsInterop and constants

2016-09-27 Thread Thomas Broyer
On Tuesday, September 27, 2016 at 11:03:17 AM UTC+2, Kirill Prazdnikov wrote: > > Hi, > > It is not clear why GWT disallow scalar and String constants in JsInterop > interfaces > Previously it was > > public final class MediaError extends JavaScriptObject { > public static final int MEDIA_ER

Re: How to debug server side code in Thomas Broyer GWT Maven Plugin

2016-09-26 Thread Thomas Broyer
On Monday, September 26, 2016 at 3:02:37 PM UTC+2, David wrote: > > Thomas, > > I am not very familiar with Maven in Eclipse. I use Eclipse 4.6. Once I > run "Debug as… → Maven", I see there are a lot of choices such as > Maven build > Maven build... > Maven clean > Maven generate-sources > Mav

Re: How to debug server side code in Thomas Broyer GWT Maven Plugin

2016-09-26 Thread Thomas Broyer
On Monday, September 26, 2016 at 1:40:47 PM UTC+2, David wrote: > > Thomas, > > Once I run "mvnDebug tomcat7:run -pl *-server -am -Denv=dev" from a > command line, I just got the following message: >Listening for transport > dt_socket at address: 8000

Re: Trailing _0 in variable names and -generateJsInteropExports flag

2016-09-26 Thread Thomas Broyer
On Monday, September 26, 2016 at 11:50:22 AM UTC+2, Yann Vo wrote: > > Hello, > > I just raised https://github.com/gwtproject/gwt/issues/9431 for which I > had a quick rely (thanks for that!) but... it was closed and flagged > invalid. > > Rather than polluting the bug database further, I open

Re: How to debug server side code in Thomas Broyer GWT Maven Plugin

2016-09-26 Thread Thomas Broyer
On Monday, September 26, 2016 at 5:59:50 AM UTC+2, David wrote: > > I used Thomas Broyer GWT Maven Plugin to create a maven GWT project from a > command and imported into Eclipse 4.6. I can run Jetty and Tomcat and > application works fine. But I want to debug server side co

Re: Refresh of CellTable via data transmitted via WebSocket delayed

2016-09-23 Thread Thomas Broyer
On Friday, September 23, 2016 at 2:04:19 AM UTC+2, Kay Pac wrote: > > I have a somewhat complex problem related to a CellTable that updates > based on messages received over a WebSocket connection. The problem is as > follows: The table does not update in real-time, even though "setRowData" >

Re: Update conversation by displaying new messages when they are sent

2016-09-21 Thread Thomas Broyer
On Wednesday, September 21, 2016 at 4:43:45 PM UTC+2, JonL wrote: > > Others have suggested websockets, but there are several other options as > well. There is google cloud messaging and many other libraries to solve > this problem as well as ServerSent Events. > > http://www.html5rocks.com/en

Re: Extending native JsTypes from Java with GWT 2.8.0-rc2

2016-09-21 Thread Thomas Broyer
It should be possible, from spec: https://docs.google.com/document/d/10fmlEYIHcyead_4R1S5wKGs1t2I7Fnp_PaNaa7XTEk0/edit#heading=h.aaedpeo8ehl8 Can you file a bug in the issue tracker? https://github.com/gwtproject/gwt/issues On Wednesday, September 21, 2016 at 9:38:16 AM UTC+2, Nándor Előd Feke

Re: GWT2.8RC2 : compile time user.agent value (safari) does not match the runtime user.agent value (gecko1_8) ?

2016-09-16 Thread Thomas Broyer
This will be the goal with GWT 3 I believe. But what do you mean by "default permutation"? Which user.agent value? -- 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 g

Re: jsinterop and Scheduler.scheduleFinally

2016-09-16 Thread Thomas Broyer
On Friday, September 16, 2016 at 2:54:20 PM UTC+2, Pavel Kakolin wrote: > > Imagine an @JsType(isNative = true) EventTarget (basically Element) with > @JsMethod addEventListener(final String type, final EventListener > listener). > > We have a "mousedown" event listener and inside that listener

Re: Strange (BAD?) code generated

2016-09-15 Thread Thomas Broyer
removal and other optimization steps > > Jens, Thomas thanks a lot for the education. > >Vassilis > > > On Thu, Sep 15, 2016 at 11:44 AM, Thomas Broyer wrote: > >> Let me try: without -generateJsInteropExports, GWT acts as if >> @JsType(isNative=false) w

Re: GWT2.8RC2 : compile time user.agent value (safari) does not match the runtime user.agent value (gecko1_8) ?

2016-09-15 Thread Thomas Broyer
On Thursday, September 15, 2016 at 11:07:42 AM UTC+2, Thomas Lacroix wrote: > > Hi, > I have an app that automatically reports "Uncaught exception" encountered > by users. > It has been compiled with GWT2.8RC2 and in prod for a few days and it has > been reporting a couple of "Uncaught exceptio

Re: Strange (BAD?) code generated

2016-09-15 Thread Thomas Broyer
Let me try: without -generateJsInteropExports, GWT acts as if @JsType(isNative=false) wasn't there at all. Why'd you want this? - when @JsType(isNative=false) is applied to types you didn't write yourself (third-party). For example, java.util.Collection, java.util.List, java.util.Map,

Re: Strange (BAD?) code generated

2016-09-13 Thread Thomas Broyer
On Tuesday, September 13, 2016 at 5:27:50 PM UTC+2, Kirill Prazdnikov wrote: > > This means that the compiler must throw an error: > > If a type is not isNative=true > and the type is never instantiated > and the type is returned form JSNI\JsInterop > > right ? > No, just like the compiler do

Re: Strange (BAD?) code generated

2016-09-13 Thread Thomas Broyer
On Tuesday, September 13, 2016 at 4:08:38 PM UTC+2, Kirill Prazdnikov wrote: > > >> See https://github.com/gwtproject/gwt/issues/9330 >> You must be missing an isNative=true on ClientRect >> > > Ok, but what does it mean when a type has a @JsProperty but it is not > "isNative=true" ? > > Must ea

<    1   2   3   4   5   6   7   8   9   10   >