Re: jsapi link went down

2019-02-02 Thread Thomas Broyer
Those libs haven't been updated for NINE years (https://search.maven.org/search?q=g:com.google.gwt.google-apis), and was officially marked unmaintained in the code repo 3.5 years ago (https://github.com/googlearchive/gwt-google-apis/commit/f48c33fe223aeafb8a667f5d102642d7acc07446), I honestly

Re: elemental2 indexeddb example?

2019-01-28 Thread Thomas Broyer
On Monday, January 28, 2019 at 12:49:41 AM UTC+1, rhodebump wrote: > > Thanks, I did make some progress. I dug around a little in the javadoc > and found the IndexedDbGlobal, which I was able to use to create a new > database. > > > elemental2.indexeddb.IDBFactory indexedDB = > elemental2.in

Re: elemental2 indexeddb example?

2019-01-27 Thread Thomas Broyer
Elemental2 API map directly to the native browser APIs, so you'll start with IndexedDBGlobal.indexedDB and walk your way almost exactly like you'd do in JS. Javadoc can be found here fwiw: https://javadoc.io/doc/com.google.elemental2/elemental2-indexeddb/1.0.0-RC1 On Sunday, January 27, 2019 a

Re: Chrome Canary 73.0.3680.0 breaks pretty much ALL GWT apps :(

2019-01-23 Thread Thomas Broyer
You may want to first look for "javascript:" in the generated JS (possibly in PRETTY mode), to confirm Chromium engineer's findings. -- 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: Chrome Canary 73.0.3680.0 breaks pretty much ALL GWT apps :(

2019-01-23 Thread Thomas Broyer
So apparently this has to do with javascript URLs, and indeed there have been changes in 2.8.2. Apparently there are still some uses in the xsiframe linker (should be javascript:'' though) https://github.com/gwtproject/gwt/issues/8197#issuecomment-289413640 -- You received this message because

Re: Error When Calling java method via JSNI - Cannot read property 'apply' of undefined

2019-01-23 Thread Thomas Broyer
On Tuesday, January 22, 2019 at 11:47:18 PM UTC+1, Jeff Ledgerwood wrote: > > GWT 2.8.0 > > > I am pulling my hair out with this error. Hoping someone can help. I am > calling a Java method (in a GWT class) from an external javascript file. > I've done this without issue with several other j

Re: Chrome Canary 73.0.3680.0 breaks pretty much ALL GWT apps :(

2019-01-23 Thread Thomas Broyer
The samples might very well use an old-ish version of GWT, I'm not sure they're updated each time a release is cut (hard to tell, Showcase has been built against an unreleased version, as shown by $gwt_version = "0.0.0" in the *.cache.js). On Wednesday, January 23, 2019 at 7:13:35 AM UTC+1, Jim

Re: Best server and Java version for implementing GWT 2.8.0.

2019-01-08 Thread Thomas Broyer
On Tuesday, January 8, 2019 at 5:30:05 PM UTC+1, Zetha Nath wrote: > > Hi there, > > I want to use most of the features, that GWT 2.8.0 can offer. I wonder > which server should I use, from the comparison chart below. > > http://tomee.apache.org/comparison.html > GWT's server-side parts (GWT-R

Maven Archetypes - trouble running

2018-12-06 Thread Thomas Broyer
Your webapp lives in Jetty, at http://localhost:8080 There are only few reasons to access the code server at http://localhost:9876; and you won't need the bookmarklets. -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group

GWT compiler isn't allowing 'default' as a javascript object property in my JSNI block

2018-12-01 Thread Thomas Broyer
Answered on StackOverflow: https://stackoverflow.com/a/53569023/116472 (basically the same answer as David) -- 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-

Re: A German Short Article for J2CL Open Source Release

2018-11-25 Thread Thomas Broyer
elemental2-webstorage is probably what you're looking for: https://search.maven.org/search?q=g:com.google.elemental2%20AND%20a:elemental2-webstorage&core=gav, https://javadoc.io/doc/com.google.elemental2/elemental2-webstorage There's also elemental2-indexeddb On Sunday, November 25, 2018 at 5:

Re: First application working as both J2CL and gwt2 at the same time

2018-11-24 Thread Thomas Broyer
On Saturday, November 24, 2018 at 8:21:58 PM UTC+1, Vassilis Virvilis wrote: > > Thanks for posting this. > > Not sure if I read this correctly. > > Assuming all other being equal (can't really be sure): > > GWT: Loading of *.cache.js takes 433ms for 75.8KB - there is also > app.nocache.js 95ms

Re: GWT Future plan: CompletableFuture ?

2018-11-19 Thread Thomas Broyer
On Friday, November 16, 2018 at 3:55:16 PM UTC+1, Michael Joyner wrote: > > > Is this going to make into GWT JRE Emulation proper any time soon? > > https://github.com/OneGeek/GWT-CompletableFuture >

Re: GWT Future plan

2018-11-14 Thread Thomas Broyer
Three quick points: - There will be a GWT 2.9, which you can somehow track here: https://github.com/gwtproject/gwt/milestone/19 - Many people are working on "disassembling" gwt-user into smaller libs that will also work with j2cl, changing the package from com.google.gwt to org.g

Re: Compilation issue on GWT 2.8.2 (modular maven project)

2018-11-13 Thread Thomas Broyer
12, 2018 at 6:51:03 PM UTC+1, Luca Morettoni wrote: > > Hello, I’m using the Thomas Broyer fantastic plugin[1] for maven to split > my project into multiple subproject (client, shared and server). > Until now I used GWT version 2.8.1, but today I started a new project and > I’d like

Re: Hash of a Java Type

2018-11-05 Thread Thomas Broyer
0->vdsmTaskIdList(arraylist) (??) > > > > I sorted the field of ActionReturn Value but the provided values do not > really match them. > > I would say that not sorted fields match better here. The two sequences I > am sure in are 6,3,5,3,4,3,3,1 and 471,9,8 > > The sorted fields of Act

Re: Hash of a Java Type

2018-10-30 Thread Thomas Broyer
The hash is a hash of the class, not the value. It's there to ensure that the client and server use the exact same classes, with the same fields, of the same types, in the same order. This means that the value is dependent on the version of oVirt that you're using, and only on the version of oVi

Re: How to dispose entire memory which is occupied by a GWT-Module

2018-10-25 Thread Thomas Broyer
On Thursday, October 25, 2018 at 3:16:11 PM UTC+2, Jewgenij Moldawski wrote: > > Dear GWT Experts, > I've a website with a GWT-App-area. For our purposes I want to end the > GWT-App and release the *entire *memory, which this GWT-App occupies in > my browser. > How can I do it? > You can't. T

Re: parsing GWT messages in oVirt project (webadmin interface)

2018-10-24 Thread Thomas Broyer
cifically, vdsmTaskIds is not an empty list, it's 'null'; as in "vdsmTaskIds == null" would be 'true', and "vdsmTaskIds.isEmpty()" would throw a NullPointerException. > > вторник, 23 октября 2018 г., 14:50:33 UTC+3 пользователь Thoma

Re: parsing GWT messages in oVirt project (webadmin interface)

2018-10-24 Thread Thomas Broyer
is 0 could also > mean that this is an uninitialized value? > > The first field of an object is a number indicating how to decode it. A > '0' means null. > > вторник, 23 октября 2018 г., 14:50:33 UTC+3 пользователь Thomas Broyer > написал: >> >> >>

Re: parsing GWT messages in oVirt project (webadmin interface)

2018-10-23 Thread Thomas Broyer
a numeric value or a reference to an already-deserialized object. You have to go through the pipe-delimited fields one by one to know what each one means. > > вторник, 23 октября 2018 г., 13:26:06 UTC+3 пользователь Thomas Broyer > написал: >> >> On Tuesday, October 23, 2

Re: parsing GWT messages in oVirt project (webadmin interface)

2018-10-23 Thread Thomas Broyer
On Tuesday, October 23, 2018 at 11:46:56 AM UTC+2, Anastasiya Ruzhanskaya wrote: > > Hello all! > I am working with oVirt (which helps to manage virtual machines) project > and it uses GWT RPC protocol in it's communications. > I want to parse messages in GWT RPC format which I get after decipher

Re: How to get DominoKit

2018-10-18 Thread Thomas Broyer
On Thursday, October 18, 2018 at 7:08:38 AM UTC+2, Marry For wrote: > > How to get DominoKit domino-ui jar. > > I look the web page https://github.com/DominoKit/domino-ui > it is very difficult to get from eclipse > If you're not using Maven (or anything that uses "managed dependencies"), then

Re: Newbie: Cannot get the GWT dependency right

2018-10-15 Thread Thomas Broyer
Apparently, you need to use their Maven plugin to download and locally install SmartGWT: see http://github.smartclient.com/isc-maven-plugin/ Try to run the "isc:install" goal (on the command-line that would be "mvn isc:install"; your IDE might display it as "com.isomorphic:isc-maven-plugin:insta

Re: Preferred IDE

2018-10-15 Thread Thomas Broyer
t safe to say, that Netbeans is out of the picture? > > > On Saturday, October 13, 2018 at 11:57:43 AM UTC-5, Thomas Broyer wrote: >> >> I think it depends a lot on what you expect from your IDE and whether >> you're spending money or not. >> >> If you&#

Preferred IDE

2018-10-13 Thread Thomas Broyer
I think it depends a lot on what you expect from your IDE and whether you're spending money or not. If you're ok launching GWT DevMode "manually" (through Maven, Ant or Gradle, or creating your IDE launch configuration by hand), and debugging your code in the browser (rather than the IDE), then

Re: gwt-maven-plugin: how can I chnage the Jetty port?

2018-10-05 Thread Thomas Broyer
GWT with Gradle is only a couple adhoc tasks away, so no need to change build tool because plugins are lacking. Back to Maven, the archetype doesn't use the embedded jetty in DevMode, so you need to configure the port in the jetty plugin (there has been an issue on that exact matter a few days

Re: Deferred Binding - Help!

2018-09-14 Thread Thomas Broyer
On Friday, September 14, 2018 at 3:10:03 PM UTC+2, Matthew Bergshoeff wrote: > > Hi Everyone - I've been searching everywhere for a solution to this and > haven't been able to resolve it. I don't think I've properly wrapped my > head around the issue, so hoping someone could provide some guidan

Re: Why the GWT complier used so much memory?

2018-09-14 Thread Thomas Broyer
On Friday, September 14, 2018 at 2:25:44 PM UTC+2, Andrew Somerville wrote: > > To your point, regarding tuning the localWorkers parameter, I get > significant speedup going from the default of 4 localWorkers down to 2. > (i5-4460 Desktop CPU, 500 GB SSD and 32 GB of RAM). It doesn't matter wha

Re: addWindowClosingHandler only working in IE

2018-09-14 Thread Thomas Broyer
Note that the actual message will be ignored by more and more browsers, which will only display a generic popup whenever the message is non-null (or not empty). On Friday, September 14, 2018 at 11:03:39 AM UTC+2, Frank wrote: > > Okay > > Now I figured out how this works. You need to set a m

Re: A Sample application for GWT

2018-09-10 Thread Thomas Broyer
On Monday, September 10, 2018 at 3:19:02 PM UTC+2, Frank wrote: > > > Someone should really update the GWT webpage and remove all stuff about > old eclipse plugins and legacy devmode that don't work anymore... > Yes, someone really needs to take the time to do it; but the good news (sic!) is t

Re: XSD schema for gwt xml

2018-09-10 Thread Thomas Broyer
On Monday, September 10, 2018 at 1:10:58 PM UTC+2, Jewgenij Moldawski wrote: > > Dear friends of Gwt, > where can I find the xsd schema definitions for namespaces > >- urn:ui:com.google.gwt.uibinder, > > You can find a schema here https://github.com/gwtproject/gwt/blob/2.8.2/user/src/com/g

Re: GWT 2.9 Questions

2018-09-06 Thread Thomas Broyer
github.com/gwtproject/gwt/commit/f81fc698d51cf26f89faca5dde7cf4d1276cce85>" > > is worth for releasing GWT 2.9 > > On Wednesday, September 5, 2018 at 2:57:34 AM UTC-7, Thomas Broyer wrote: >> >> Replying to everyone in one go. >> >> On Wednesday, September 5, 2018 a

Re: GWT 2.9 Questions

2018-09-05 Thread Thomas Broyer
Replying to everyone in one go. On Wednesday, September 5, 2018 at 9:12:38 AM UTC+2, Josselin B. wrote: > > Hi Jens, > > Any idea for a release date of GWT 2.x ? > No. You can follow advancement at https://github.com/gwtproject/gwt/milestone/19 (it doesn't move much though…) For now, it didn't

GWT Mouse Events - Move event always follows a mouse up

2018-09-02 Thread Thomas Broyer
Could it just be the events your browser dispatches? Have you tried in pure JS? -- 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...@googl

Re: Call async js method from GWT via j2cl?

2018-08-31 Thread Thomas Broyer
GWT won't generate async functions, so there's no way to async/await in GWT with JsInterop (currently, might come in the future… possibly only in J2Cl:GWT3 though…) You'll have to use promises (I'd suggest elemental2.promise.Promise, with Java 8 lambdas for readability) On Friday, August 31, 20

Re: How to write RPC services that don't inherit RemoteService?

2018-08-31 Thread Thomas Broyer
Your interfaces need to extend RemoteService, otherwise the GWT.create() will fail; so I don't think what you're trying to do would be possible… It might be possible to create those proxies programmatically though using java.lang.reflect.Proxy, binding everything together through reflection and

Re: how to create an anchor column in a celltable

2018-08-29 Thread Thomas Broyer
If you want to display text as-is (e.g. not a link), then you can use a ClickableTextCell (see it live, with source code, in http://samples.gwtproject.org/samples/Showcase/Showcase.html#!CwCellSampler), the FieldUpdater will be called when the cell is clicked. Alternatively, you could use a Tex

Re: hwo to get the server working?

2018-08-28 Thread Thomas Broyer
Oh please don't confuse things further! "embedded" as is "running within the same process as DevMode", not a "small hardware device" -- 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: hwo to get the server working?

2018-08-27 Thread Thomas Broyer
Sorry if I wasn't clear: DevMode with -noserver is basically the same as CodeServer. The embedded server is discouraged, not CodeServer (or DevMode with -noserver). -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group an

Re: hwo to get the server working?

2018-08-27 Thread Thomas Broyer
On Monday, August 27, 2018 at 2:14:24 PM UTC+2, Andrew Somerville wrote: > > No problem, Mike. > > Jetty isn't a Java EE container, it's simply a servlet container. That > means it runs your app with a very minimal set of built-in functionality > and none of the Java EE functionality. Essentia

Re: hwo to get the server working?

2018-08-25 Thread Thomas Broyer
On Saturday, August 25, 2018 at 5:19:10 PM UTC+2, Mike O. wrote: > > Hello, > > I am new to GWT (but not to Java) and have no experience with servers. I > have downloaded GWT and am running the StockWatcher example. > I can change the example and recompile, but there is no server running. > In

Re: 2.8.2 SDM recompile button strange behaviour

2018-08-21 Thread Thomas Broyer
It looks like a bug, but I believe most people are using the "auto compile on load" hook rather than bookmarklets nowadays so they'll never hit this. If you can, switch to that new (not so new, introduced in GWT 2.7) mode: pass -launcherDir to the CodeServer, pointing to the folder served through

Re: GWT Single Selection Model to prevent having all records unchecked in Cell List.

2018-07-24 Thread Thomas Broyer
On Monday, July 23, 2018 at 6:17:58 PM UTC+2, BM wrote: > > I have GWT cell list with single selection model and checkbox which is one > of the selection column. So it does toggle between rows since it acquires > single section model. > > The toggle should function AS-IS but what I want is if

Re: All current JsInterop-Annotations jar files are missing manifest content.

2018-07-20 Thread Thomas Broyer
On Friday, July 20, 2018 at 1:49:44 PM UTC+2, Rasmus Olesen wrote: > > Hi > > Is there a specific reason for the jsinterop-annotations jar files not > containing any manifest files/info/content ? > > https://mvnrepository.com/artifact/com.google.jsinterop/jsinterop-annotations > This is just a

Re: .dtd files moved?

2018-07-20 Thread Thomas Broyer
It looks like there's a redirection from http://gwtproject.org/whatever to http://www.gwtproject.org/ so you need to use http://www.gwtproject.org/doctype/2.8.0/gwt-module.dtd rather than http://gwtproject.org/doctype/2.8.0/gwt-module.dtd But, really, if you ask me, you'd better not use a DTD a

Re: Problem with replacing the class

2018-07-19 Thread Thomas Broyer
is related to "deferred binding", i.e. creating an instance through GWT.create(), where the actual class being instantiated is "bound" at compile-time, depending on properties (and/or permutations). What you want to achieve can be done through "super sourcing". See “Overriding one package impl

Re: Arrays and JSNI in J2CL

2018-07-13 Thread Thomas Broyer
On Friday, July 13, 2018 at 2:57:10 PM UTC+2, Kirill Prazdnikov wrote: > > Hi, I've heard that mysterious J2CL does not support JSNI, good. > > But how then the Float32Array is implemented ? > As far as I know, there is no JSIndexer-like (hello TeaVM) annotation in > JsInterop ? > > Currently

Re: Gwt 2.4 browser compatibility

2018-07-09 Thread Thomas Broyer
On Monday, July 9, 2018 at 11:50:46 AM UTC+2, srinivas...@gmail.com wrote: > > Hi, I am working on a legacy application which is developed using gwt 2.4. > But the application does not work properly on windows 10 machine with edge. > Any inputs are appreciated. As I answered yesterday on Stac

Re: After upgrading to GWT 2.8.2: Exception "ServiceConfigurationError: org.apache.juli.logging.Log: Provider org.eclipse.jetty.apache.jsp.JuliLog not a subtype" during Super Dev Mode

2018-07-09 Thread Thomas Broyer
On Sunday, July 8, 2018 at 11:02:29 PM UTC+2, Leto wrote: > > Just out of curiosity: Is there a difference between launching the DevMode > with "-noserver" and CodeServer with "-launchDir"? > No, it will make no difference. -- You received this message because you are subscribed to the Google

Re: After upgrading to GWT 2.8.2: Exception "ServiceConfigurationError: org.apache.juli.logging.Log: Provider org.eclipse.jetty.apache.jsp.JuliLog not a subtype" during Super Dev Mode

2018-07-02 Thread Thomas Broyer
On Monday, July 2, 2018 at 2:21:21 PM UTC+2, Leto wrote: > > Hello Thomas, > > you answer is much appreciated, thank you! > > > Am Sonntag, 1. Juli 2018 21:32:56 UTC+2 schrieb Thomas Broyer: >> >> In the logs, do you see an entry with "Server […] could no

Re: After upgrading to GWT 2.8.2: Exception "ServiceConfigurationError: org.apache.juli.logging.Log: Provider org.eclipse.jetty.apache.jsp.JuliLog not a subtype" during Super Dev Mode

2018-07-01 Thread Thomas Broyer
In the logs, do you see an entry with "Server […] could not be found in the web app, but was found on the system classpath" and then "Adding classpath entry '[…]gwt-dev.jar' to the web app classpath for this session" ? That would in general mean that you're missing a JAR in your WEB-INF/lib for

Re: GWT2.8 : org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration

2018-06-30 Thread Thomas Broyer
What's in your classpath? There might probably be ways to avoid those situations, in GWT, but so few people have run into this that no one investigated further. -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and st

Re: Radio Button in Cell Table or Data grid.

2018-06-28 Thread Thomas Broyer
Fwiw, if this is about selecting a value, have a look at the SingleSelectionModel and how to apply it to a CheckboxCell. If you want the additional type="radio" on the (for accessibility, mainly), then create your own custom cell based on CheckboxCell. If this is *not* about selection, then I'm

GWT RPC file name in ClassNotFoundException

2018-06-25 Thread Thomas Broyer
What does com.ptc.mvc.gwt.GwtHandlerAdapter do? Could it be responsible for this behavior? -- 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+unsub

Re: Using UIField HTML to create a dynamic table

2018-06-19 Thread Thomas Broyer
As can be seen in your screenshot, the request goes to /myaction/myActionService. The myActionService part comes from the @RemoteServiceRelativePath("myActionService"), and the /myaction part comes from the module name; or in this case most likely a rename-to="myaction" in your module (which is

Re: Serialization Exception while upgrading to GWT 2.8.2

2018-06-13 Thread Thomas Broyer
Dinesh, can we maybe avoid splitting discussions across many threads? Let's continue in https://groups.google.com/forum/#!topic/google-web-toolkit/KGhgfh4wcgM On Wednesday, June 13, 2018 at 8:34:24 AM UTC+2, dinesh kumar wrote: > > I am upgrading to GWT 2.8.2 from GWT 2.6.0 and getting the follow

Re: GWT Update to 2.8.2

2018-06-13 Thread Thomas Broyer
wn.onResponseReceived(com.ptc.windchill.wncgwt.WncGWT-0.js) >>> at Unknown.$fireOnResponseReceived(com.ptc.windchill.wncgwt.WncGWT-0.js) >>> at Unknown.onReadyStateChange(com.ptc.windchill.wncgwt.WncGWT-0.js) >>> at Unknown.(com.ptc.windchill.wncgwt.WncGWT-0.js) >

Re: Problems Remote Debugging with SourceMaps in SuperDevMode

2018-06-12 Thread Thomas Broyer
You could try https://github.com/tbroyer/gwt-devserver On Tuesday, June 12, 2018 at 10:26:13 AM UTC+2, Carlo wrote: > > Hello, > > sorry for resuming this old thread. > I have as well a code server running on remote and I would like to use SDM > via my local browser. SDM works fine but it seems t

Re: GWT Update to 2.8.2

2018-06-12 Thread Thomas Broyer
IIUC, make sure all your classes implement EntryPoint. Before 2.7, entry points weren't cast to EntryPoint, so you only had to have a method with "void onModuleLoad()" signature; starting with GWT 2.7 (and specifically this commit: https://github.com/gwtproject/gwt/commit/3be1548873300d5bcb74c

Re: How is GWT Emulated compiled

2018-06-08 Thread Thomas Broyer
On Friday, June 8, 2018 at 11:19:54 AM UTC+2, Hrishikesh Joshi wrote: > > Hi Group, > > Does any one how is GWT emulated source gets compiled and used by GWT at > runtime? > In SuperDevMode, yes. In production mode, quite obviously yes. In legacy DevMode, it depends: java.* (and javax.* ?) are

Re: GWT Emulated classes

2018-06-06 Thread Thomas Broyer
See also https://github.com/gwtproject/old_google_code_wiki/blob/master/ResourceOracle.wiki.md On Tuesday, June 5, 2018 at 12:23:45 PM UTC+2, Jens wrote: > > GWT has a feature called "super source" which allows you to override > existing source files with your own implementation. GWT itself use

Re: GWT Update to 2.8.2

2018-06-05 Thread Thomas Broyer
On Tuesday, June 5, 2018 at 8:57:44 AM UTC+2, dinesh kumar wrote: > > I have updated to GWT 2.8.2 and getting a compilation error : > > Compilation unit > 'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/shared/impl/cldr/DateTimeFormatInfoImpl_se.java' > > is removed due

Re: Errors while updating to GWT2.8.2

2018-05-31 Thread Thomas Broyer
You may have to clean your .gwt-unitCache (it's a good idea anyway whenever your change GWT version) On Thursday, May 31, 2018 at 12:14:42 PM UTC+2, dinesh kumar wrote: > > I have updated the following jars : > > GWT2.8.2 > --- >gwt-dev >gwt-user >gwet-servlet > > gxt

Re: JavascriptObject Not Instance of Object

2018-05-31 Thread Thomas Broyer
On Thursday, May 31, 2018 at 11:00:12 AM UTC+2, Vinod Kumar wrote: > > In native methods i have to use an instance of native javascript "Object". > But," GWT JavascriptObject" creates a object which is not an instance of > native javascript "Object". > Please help. > You might need to use $wnd

Re: Exposing my GWT API via web/RESTful service - can it be done (easilyish)?

2018-05-31 Thread Thomas Broyer
On Thursday, May 31, 2018 at 9:25:56 AM UTC+2, Konstantin Chvilyov wrote: > > Hi Richard, > Have you succeed? > Is it possible to add Swagger UI for existing GWT-RPC REST requests? > There's no such thing as "GWT-RPC REST", so no. -- You received this message because you are subscribed to the

Re: XML Enternal Entity (XXE) Vurnability

2018-05-28 Thread Thomas Broyer
On Monday, May 28, 2018 at 1:34:59 PM UTC+2, Deepak Antil wrote: > > Is GWT is prone to XXE Vulnerability by default or it require any specific > configuration for that? > TL;DR: No. > XML Prevention Sheet taking about settings for common XML parsers. > > https://www.owasp.org/index.php/XML_E

Re: First experience using GWT Boot in my Java Devs Training

2018-05-25 Thread Thomas Broyer
I know about two such plugins: https://github.com/Putnami/putnami-gradle-plugin and https://github.com/steffenschaefer/gwt-gradle-plugin, though the latter is unmaintained afaict. Fwiw, I'd start with simple JavaExec tasks and customized configs (to bring sources into the classpath), then only t

Re: First experience using GWT Boot in my Java Devs Training

2018-05-24 Thread Thomas Broyer
I am :-) Though I have very limited experience with GWT and Gradle. -- 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.

Re: Unable to download eclipse plugin

2018-05-21 Thread Thomas Broyer
See https://cloud.google.com/eclipse/docs/migrating-gpe On Sunday, May 20, 2018 at 10:58:27 PM UTC+2, J.J.Chao Tao wrote: > > Hi, > > I am trying to install GWT plugin for Eclipse (Oxygen or Neon), using > the Eclipse market place, but got "No repository found at > http://storage.googleapis.c

Re: GWT JSON-B

2018-05-20 Thread Thomas Broyer
How about "just" using @JsType classes? -- 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

Re: Advice needed - compile error while moving back to GWT 2.7 from 2.8.2

2018-05-14 Thread Thomas Broyer
u for responding. I'm looking at the build path and both gwt-user > and gwt-dev jar files are from 2.7. Is there somewhere else I should look? > > On Monday, May 14, 2018 at 9:16:18 AM UTC-4, Thomas Broyer wrote: >> >> >> >> On Monday, May 14, 2018 at 3:06:09 PM UT

Re: Advice needed - compile error while moving back to GWT 2.7 from 2.8.2

2018-05-14 Thread Thomas Broyer
On Monday, May 14, 2018 at 3:06:09 PM UTC+2, Rachel wrote: > > We have to move our project back to GWT 2.7 due to some java 1.8 issues. > I've checked all my jar files to make sure they are 2.7 and no duplicate > jars in the build path but am getting errors when I try to compile with Ant. > Any

Moving from gwt 2.7 to gwt 2.8.2: error while compiling

2018-05-10 Thread Thomas Broyer
You may have to update Sencha GXT to a newer version compatible with GWT 2.8. -- 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...@googleg

Re: MANIFEST missing from 2.8.0

2018-05-02 Thread Thomas Broyer
On Wednesday, May 2, 2018 at 12:28:13 PM UTC+2, Marcin G. wrote: > > Hi, > > I am using Vaadin which uses GWT. After upgrading from 7 to 8 I realized > that my OSGI based app is not starting - reason: gwt-user and dependent > jars are missing META-INF/MANIFEST.MF - why? > For not specific reas

Advice needed - url request

2018-05-01 Thread Thomas Broyer
Hi, Have a look at http://www.gwtproject.org/doc/latest/DevGuideServerCommunication.html#DevGuideHttpRequests -- 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 goog

Re: Discussion: gwt-user.jar-like uber jar for T.Broyer's multi-module project.

2018-04-28 Thread Thomas Broyer
On Friday, April 27, 2018 at 9:36:04 PM UTC+2, vitrums wrote: > > > If your lib does not have one single main gwt.xml entry point but really >> is more like a gwt-user.jar "set of libraries", then you'd probably better >> skip the gwt:generate-module and gwt:generate-module-metadata and *put >

Re: Discussion: gwt-user.jar-like uber jar for T.Broyer's multi-module project.

2018-04-27 Thread Thomas Broyer
On Friday, April 27, 2018 at 4:34:25 PM UTC+2, vitrums wrote: > > Any experienced developer tends to reuse existing components and organize > his own code to allow reusability in future whenever it is possible. > Division of labor further encourages a group of developers to physically > split

Re: DeckLayoutPanel not displaying below banner

2018-04-21 Thread Thomas Broyer
See http://www.gwtproject.org/doc/latest/DevGuideUiPanels.html#Resize Layout panels are sized from the outside-in; your DeckLayoutPanel needs to be given explicit dimensions. Alternatively, replace your HTMLPanel and FlowPanel with layout panels (e.g. a HeaderPanel) and add it to the RootLayoutPa

Re: GWT 3.0 Release and Java 10 + Support

2018-04-21 Thread Thomas Broyer
There should be a 2.9 release in the following weeks with Java 10 language support (someone is currently contributing a patch). Depending on what people can contribute in that timeframe, it may also include emulation for some Java 9 (and possibly 10) APIs. On Saturday, April 21, 2018 at 12:24:0

Elemental2 - How to set WidthUnionType CSSProperties.width

2018-04-17 Thread Thomas Broyer
That would be element.style.width = WidthUnionType.of("20px") -- 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 po

Re: Form Panel SubmitCompleteEvent not triggered

2018-04-05 Thread Thomas Broyer
Best alternative is to use XMLHttpRequest for file uploads (through JSNI or JsInterop/Elemental2): https://caniuse.com/#feat=xhr2 See https://developer.mozilla.org/en-US/docs/Web/API/FormData/Using_FormData_Objects#Sending_files_using_a_FormData_object On Thursday, April 5, 2018 at 12:01:09 PM U

Re: Elemento, maven config to force template implementation class regen

2018-03-27 Thread Thomas Broyer
On Monday, March 26, 2018 at 10:19:26 AM UTC+2, Rob Newton wrote: > > Hi, > > When I edit an Elemento template HTML file and do a mvn compile it won't > regenerate the template implementation class source file. Is there some > maven pom config and/or command I can use to say rerun the element

Re: GWT with App Engine (standard) and maven?

2018-03-19 Thread Thomas Broyer
On Monday, March 19, 2018 at 4:03:50 PM UTC+1, dflorey wrote: > > Thanks, that was the missing info I was looking for (just checked the > maven-plugin help etc.)!! > What is the recommended setup nowadays when using Eclipse? > Is it recommended to use the Eclipse plugin(s) for GWT/GAE or is it b

Re: GWT with App Engine (standard) and maven?

2018-03-19 Thread Thomas Broyer
On Monday, March 19, 2018 at 2:31:34 PM UTC+1, dflorey wrote: > > As I test I just created a blank test project from the archetype. > I did not manage to run it either using "maven gwt:devmode". > Is there some additional configuration required to tell the plugin where > to find the webapp? > Th

How to pass a build number to a gwt app?

2018-03-12 Thread Thomas Broyer
Easiest with recent GWT version would be to declare a , get it using System.getProperty(), and set it with --property. With older versions, use Maven filtering on a properties file you use with a com.google.gwt.i18n.client.Constants; or have a look at Mojo's Java template plugin. -- You recei

Re: GWT with App Engine (standard) and maven?

2018-03-12 Thread Thomas Broyer
On Monday, March 12, 2018 at 2:10:46 PM UTC+1, dflorey wrote: > > I tried to leverage your archetypes to get the gwt part (without > appengine) running as a starting point. > What I did: > I created a maven project from the archetype (using the eclipse maven > wizard). > I can see a nice multi-

Re: GWT with App Engine (standard) and maven?

2018-03-12 Thread Thomas Broyer
On Monday, March 12, 2018 at 12:55:22 PM UTC+1, dflorey wrote: > > Hi folks, > after all those years I've decided to start migrating our GWT / App Engine > (standard) projects from Ant to Maven. > The main app consists of several GWT libraries and multiple modules. > I'd also like to split the m

Re: Testing native @JsType in GWT tests

2018-03-12 Thread Thomas Broyer
On Monday, March 12, 2018 at 9:17:58 AM UTC+1, Mincong Huang wrote: > > Thanks, Thomas. Changing to production mode fixed the problem. > > However, I noticed that when using production mode in tests, I cannot test > the type-matching for JSNI anymore. Previously, the GWT generated interface > co

Re: Testing native @JsType in GWT tests

2018-03-11 Thread Thomas Broyer
JsInterop doesn't work in legacy DevMode; you have to run the tests in production mode: https://gwt-maven-plugin.github.io/gwt-maven-plugin/test-mojo.html#productionMode (this is the default in GWT 2.8, but Mojo's Maven plugin for GWT forces legacy DevMode by default; may I suggest that you swi

Re: Any recommended free server hosts for GWT apps?

2018-03-04 Thread Thomas Broyer
On Saturday, March 3, 2018 at 11:13:48 PM UTC+1, subroutines wrote: > > Hi, > > I would like to know if anyone knows of any free host servers that can > support GWT applications that they recommend? I am not intending to have > massive amounts of traffic since it is only a web application for

Re: Google maps and GWT 2.8

2018-03-02 Thread Thomas Broyer
On Friday, March 2, 2018 at 6:27:39 AM UTC+1, Lars wrote: > > What is the issue with branflake2267 GWT-Maps-V3-Api regarding 2.8? > Because we are using it with 2.8.2 without problems (but only for some > basic map features)... > For sure in general an automatic jsinterop wrapper (using the goo

Re: GWT 2.8.2 and Jetty Embedded - com.google.gwt.dev.jjs.InternalCompilerException: Error constructing Java AST

2018-02-27 Thread Thomas Broyer
gt; > On Monday, February 26, 2018 at 2:03:29 PM UTC-5, Thomas Broyer wrote: >> >> apache-jsp brings Eclipse JDT, which causes the conflict. >> >> As you're using Mojo's plugin for GWT,you can configure it to put GWT >> dependencies first in the classpa

GWT 2.8.2 and Jetty Embedded - com.google.gwt.dev.jjs.InternalCompilerException: Error constructing Java AST

2018-02-26 Thread Thomas Broyer
apache-jsp brings Eclipse JDT, which causes the conflict. As you're using Mojo's plugin for GWT,you can configure it to put GWT dependencies first in the classpath; that should fix the conflict. But you really should split this project into two or three modules, with separate dependency trees f

Re: Superdev doesn't work with GWT 2.8.2 & IntelliJ 14

2018-02-17 Thread Thomas Broyer
Is IntelliJ 14 (from subject line) supposed to work with GWT 2.8? AFAICT that's a very old version of IntelliJ, so I would doubt it. -- 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, s

Re: Understanding JsInterop

2018-02-15 Thread Thomas Broyer
On Thursday, February 15, 2018 at 11:01:41 AM UTC+1, Vassilis Virvilis wrote: > > Amazing trick! > > Obvious if you think about it - but very difficult to think it initially > (for us mere mortals). > Well, when you write "element.getBoundingClientRect" in JS (without the parenthesis), this i

Re: Understanding JsInterop

2018-02-15 Thread Thomas Broyer
On Thursday, February 15, 2018 at 10:21:59 AM UTC+1, Scott Shumway wrote: > > Greetings > > I am trying to get a DOMRect from an Element. I can do this with JSNI, but > have been unable to make a JsInterop version. Here's what I have: > > public final class DOMRect extends JavaScriptObject > { >

Re: Elemental2 and constants

2018-02-12 Thread Thomas Broyer
On Monday, February 12, 2018 at 9:03:50 AM UTC+1, David Nouls wrote: > > Is there a plan to also generate constants needed in the Elemental2 > classes ? > I am thinking about for example event-types or KeyboardEvent key values. > Or is it not possible to auto generate these ? > There aren't suc

Is Document.get().createKeyPressEvent() not available in IE11?

2018-02-08 Thread Thomas Broyer
Apparently, on IE one could use initKeyboardEvent (https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent), and on "modern browsers" one should rather use the constructor. Key/keyboard event handling is such a mess… and synthesizing those events is almost useless anyway… There's an issue

Re: Elemental2 RC1: RegExp disappeared?

2018-02-06 Thread Thomas Broyer
gt;> need to put (mentally) everywhere Js is a good thing. >> >> >> On Tue, Feb 6, 2018 at 12:31 AM, Thomas Broyer >> wrote: >> >>> Native types have been renamed with a Js prefix: >>> https://static.javadoc.io/com.google.elemental2/elemental2-co

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