Wednesday, March 28, 2018

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

Thankyou Thomas, that is good to know.

On Tuesday, March 27, 2018 at 8:36:22 PM UTC+11, Thomas Broyer wrote:


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 elemento annotation processor without doing a mvn clean or touching the template abstract class source file ?

I don't use Elemento, but AFAIU the problem lies in how annotation processors work and how Elemento uses them, and how the maven-compiler-plugin works (it would be the same with other build tools though).
Build tools don't expect that the result of compilation changes based on a resource file (because resources are meant to be bundled with the compiled classes, with side-effects at runtime rather than compile-time), and annotation processors can indicate which Java element triggered the generation of some file, and only Java elements, not resources. Consequently, the maven-compiler-plugin (rightfully) thinks it has nothing to do if Java source files haven't changed.

Annotation processors are not a good fit for this kind of work; non-Java templates should be processed by generators to generate Java source that will then be fed to the Java compiler (and possibly trigger annotation processing).

In the mean time, you'll have to "touch" the class responsible for the processing of the template to trigger a recompile.

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Tuesday, March 27, 2018

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



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 elemento annotation processor without doing a mvn clean or touching the template abstract class source file ?

I don't use Elemento, but AFAIU the problem lies in how annotation processors work and how Elemento uses them, and how the maven-compiler-plugin works (it would be the same with other build tools though).
Build tools don't expect that the result of compilation changes based on a resource file (because resources are meant to be bundled with the compiled classes, with side-effects at runtime rather than compile-time), and annotation processors can indicate which Java element triggered the generation of some file, and only Java elements, not resources. Consequently, the maven-compiler-plugin (rightfully) thinks it has nothing to do if Java source files haven't changed.

Annotation processors are not a good fit for this kind of work; non-Java templates should be processed by generators to generate Java source that will then be fed to the Java compiler (and possibly trigger annotation processing).

In the mean time, you'll have to "touch" the class responsible for the processing of the template to trigger a recompile.

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Monday, March 26, 2018

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

Trying mvn process-sources or mvn generate-sources does not help. 

On Monday, March 26, 2018 at 8:25:18 PM UTC+11, Ahmad Bawaneh wrote:
try mvn process-sources

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 elemento annotation processor without doing a mvn clean or touching the template abstract class source file ?

Thanks,
Rob

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Re: java.lang.NoClassDefFoundError: javax.validation.ValidationException

Hi Rajesh Di you get any solution on the below issue posted

On Sunday, 3 June 2012 18:55:08 UTC-4, Rajesh Mulcha wrote:
Hi.., I have added all the required jars to the web-inf/lib and I see
them in the classpath printed, validation-api-1.0.0GA.jar, gwt-servlet-
deps.jar, openjapa-all-2.2.jar, requestfactory-apt.jar, but I am
seeing this when I publish this web project on RAD7.5, websphere 7
test environment. Pls help, thanks in advance.


[6/3/12 18:18:49:584 EDT]     FFDC
Exception:java.lang.NoClassDefFoundError
SourceId:com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadServlet
ProbeId:218 Reporter:com.ibm.ws.webcontainer.servlet.ServletWrapper
$1@3dd03dd0
java.lang.NoClassDefFoundError: javax.validation.ValidationException
                at java.lang.J9VMInternals.verifyImpl(Native Method)
                at java.lang.J9VMInternals.verify(J9VMInternals.java:
72)
                at
java.lang.J9VMInternals.initialize(J9VMInternals.java:134)
                at
com.google.web.bindery.requestfactory.server.ServiceLayer.create(ServiceLayer.java:
75)
                at
com.google.web.bindery.requestfactory.server.RequestFactoryServlet.<init>(RequestFactoryServlet.java:
103)
                at
com.google.web.bindery.requestfactory.server.RequestFactoryServlet.<init>(RequestFactoryServlet.java:
89)
                at
com.google.web.bindery.requestfactory.server.CustomRequestFactoryServlet.<init>(CustomRequestFactoryServlet.java:
23)
                at java.lang.J9VMInternals.newInstanceImpl(Native
Method)
                at java.lang.Class.newInstance(Class.java:1325)
                at java.beans.Beans.instantiate(Unknown Source)
                at java.beans.Beans.instantiate(Unknown Source)
                at com.ibm.ws.webcontainer.servlet.ServletWrapper
$1.run(ServletWrapper.java:1682)
                at
com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:
118)
                at
com.ibm.ws.webcontainer.servlet.ServletWrapper.loadServlet(ServletWrapper.java:
1673)
                at
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:
626)
                at
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:
443)
                at
com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:
175)
                at
com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3610)
                at
com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:
274)
                at
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:
926)
                at
com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:
1557)
                at
com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:
173)
                at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:
455)
                at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:
384)
                at
com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:
83)
                at
com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:
165)
                at
com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:
217)
                at
com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:
161)
                at
com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
                at
com.ibm.io.async.ResultHandler.complete(ResultHandler.java:202)
                at
com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:
766)
                at com.ibm.io.async.ResultHandler
$2.run(ResultHandler.java:896)
                at com.ibm.ws.util.ThreadPool
$Worker.run(ThreadPool.java:1527)
Caused by: java.lang.ClassNotFoundException:
javax.validation.ValidationException
                at java.lang.Throwable.<init>(Throwable.java:80)
                at
java.lang.ClassNotFoundException.<init>(ClassNotFoundException.java:
76)
                at
java.net.URLClassLoader.findClass(URLClassLoader.java:419)
                at java.lang.ClassLoader.loadClass(ClassLoader.java:
643)
                at sun.misc.Launcher
$AppClassLoader.loadClass(Launcher.java:300)
                at java.lang.ClassLoader.loadClass(ClassLoader.java:
609)

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

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

try mvn process-sources

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 elemento annotation processor without doing a mvn clean or touching the template abstract class source file ?

Thanks,
Rob

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Elemento, maven config to force template implementation class regen

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 elemento annotation processor without doing a mvn clean or touching the template abstract class source file ?

Thanks,
Rob

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Friday, March 23, 2018

Re: Submit POST data with no callback

For redirect you need: form.getElement().<FormElement> cast().setTarget("");

On Thursday, March 22, 2018 at 7:26:54 AM UTC-7, Matthew McLarty wrote:
Okay, for the record, this does not redirect the current page to the URL that is set to the action of the FormPanel. Any idea what I'm doing wrong?

                FormPanel form = new FormPanel();
                form
.setAction("https://www.FAKEDOMAIN.com/my-account/order-complete.html");
                form
.setHeight("1px");
                form
.setWidth("1px");
                form
.addStyleName(AppController.HIDDEN_CLASS);
               
               
Hidden transactionId = new Hidden();
                transactionId
.getElement().setAttribute("name", "transactionId");
                transactionId
.setValue(order.getOrder().getQuoteNumber());
               
               
Hidden transactionTotal = new Hidden();
                transactionTotal
.getElement().setAttribute("name", "transactionTotal");
                transactionTotal
.setValue(order.getTotalAmount().toString());
               
               
Hidden printURL = new Hidden();
                printURL
.getElement().setAttribute("name", "printURL");
                printURL
.setValue(order.getPrintURL());
               
               
FlowPanel formStuffer = new FlowPanel();
                formStuffer
.add(transactionId);
                formStuffer
.add(transactionTotal);
                formStuffer
.add(printURL);
               
                form
.add(formStuffer);
                view
.getPnlTrackingSubmitter().add(form);
                form
.submit();



On Wednesday, March 21, 2018 at 4:19:39 PM UTC-4, Matthew McLarty wrote:
Darn, I was really hoping there'd be an cleaner way but if it works, it works, I guess. Thank you, Slava. :)

On Wednesday, March 21, 2018 at 4:16:41 PM UTC-4, Slava Pankov wrote:
You can have hidden (display: none) FormPanel with method="post". Then:
form.getElement().<FormElement> cast().setTarget("");
form.setAction(url);
form.submit();

That will redirect to specified url with POST.

On Wednesday, March 21, 2018 at 11:48:46 AM UTC-7, Matthew McLarty wrote:
I feel a little silly asking this since it feels like something that should be obvious.

How do I submit data to another URL, via POST (or GET if need be) without it being an ajax request? Do I need to construct a fake FormPanel and make it 1px big to submit the data to a URL? Can I use request builder and set the content-type header? The problem is that I need to browser to advance to that URL where the submission is processed but the GWT methods all seem to expect that to be an asynchronous event.

Please 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-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Thursday, March 22, 2018

Re: Submit POST data with no callback

Okay, for the record, this does not redirect the current page to the URL that is set to the action of the FormPanel. Any idea what I'm doing wrong?

                FormPanel form = new FormPanel();
                form
.setAction("https://www.FAKEDOMAIN.com/my-account/order-complete.html");
                form
.setHeight("1px");
                form
.setWidth("1px");
                form
.addStyleName(AppController.HIDDEN_CLASS);
               
               
Hidden transactionId = new Hidden();
                transactionId
.getElement().setAttribute("name", "transactionId");
                transactionId
.setValue(order.getOrder().getQuoteNumber());
               
               
Hidden transactionTotal = new Hidden();
                transactionTotal
.getElement().setAttribute("name", "transactionTotal");
                transactionTotal
.setValue(order.getTotalAmount().toString());
               
               
Hidden printURL = new Hidden();
                printURL
.getElement().setAttribute("name", "printURL");
                printURL
.setValue(order.getPrintURL());
               
               
FlowPanel formStuffer = new FlowPanel();
                formStuffer
.add(transactionId);
                formStuffer
.add(transactionTotal);
                formStuffer
.add(printURL);
               
                form
.add(formStuffer);
                view
.getPnlTrackingSubmitter().add(form);
                form
.submit();



On Wednesday, March 21, 2018 at 4:19:39 PM UTC-4, Matthew McLarty wrote:
Darn, I was really hoping there'd be an cleaner way but if it works, it works, I guess. Thank you, Slava. :)

On Wednesday, March 21, 2018 at 4:16:41 PM UTC-4, Slava Pankov wrote:
You can have hidden (display: none) FormPanel with method="post". Then:
form.getElement().<FormElement> cast().setTarget("");
form.setAction(url);
form.submit();

That will redirect to specified url with POST.

On Wednesday, March 21, 2018 at 11:48:46 AM UTC-7, Matthew McLarty wrote:
I feel a little silly asking this since it feels like something that should be obvious.

How do I submit data to another URL, via POST (or GET if need be) without it being an ajax request? Do I need to construct a fake FormPanel and make it 1px big to submit the data to a URL? Can I use request builder and set the content-type header? The problem is that I need to browser to advance to that URL where the submission is processed but the GWT methods all seem to expect that to be an asynchronous event.

Please 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-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Re: Website Popup positioning(absolute left/ absolute top calculation) issue With the Google Chrome Version 61 and above.

This is a known issue. The way Thomas described worked for me.

https://github.com/gwtproject/gwt/issues/9542#issuecomment-335417356

hth,
Frank

On Thursday, March 22, 2018 at 7:46:24 AM UTC+1, Amit Jain wrote:
Hello All,

We have a GWT2.5  based web application, where we are seeing that the popup is shown somewhere in the top with the chrome version 61 and above(see attached).

I found out in the web that chrome has changed there implementation for calculating the absolute top/left position which is causing the issue. 

People are suggesting to upgrade the GWT library to 2.8.2 but unfortunately we don't have that option. 

Can someone help us here if there is any other workaround to fix this issue for chrome version 61 and above. 




P.S.: In IE/Firefox it working fine but latest chrome has only this popup issue

Thanks,
Amit

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Wednesday, March 21, 2018

New GWT project: GWT Boot

As I tried to write an introductory article for GWT newbies I feel that it is so difficult to jump into the development of GWT:
- Docs are outdated
- There are a lot of nice UI frameworks for GWT (domino-ui, gwtbootstrap3, gwtmaterialdesign, vue-gwt, etc.)

So before I write my article I started a GWT project to be able to start faster with all those nice UI frameworks in GWT. The idea of this project is taken from Spring Boot Starters (https://github.com/spring-projects/spring-boot/tree/master/spring-boot-project/spring-boot-starters).

I call the project GWT Boot and GWT Boot Starters (has nothing to do with Spring Boot but use the idea of easy start and "boot" a new project but still be scalable).

https://github.com/gwtboot

It is still in progress and I hope to be able to write an introduction article for GWT with the ease of Spring Boot.

Before I continue to support all the UI frameworks available in GWT (see my list: https://github.com/gwtboot/gwt-boot-modules), I would like to know, whether this result is easy enough for GWT newbies:

(1) With simple stand-alone integrated Jetty from GWT: https://github.com/gwtboot/gwt-boot-samples

(2) With Spring Boot to deliver the HTML host file: https://github.com/gwtboot/gwt-boot-samples/tree/master/gwt-boot-sample-basic-with-spring-boot

The next question would be, should I continue to add support for those UI frameworks as I mentioned here:
https://github.com/gwtboot/gwt-boot-modules

or should I try to exchange the module.gwt.xml with my Java config idea first?
https://gist.github.com/lofidewanto/2262441fe61f887158347f68418f04e3

Opinions are welcome! Thanks,
Lofi

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Re: Submit POST data with no callback

Darn, I was really hoping there'd be an cleaner way but if it works, it works, I guess. Thank you, Slava. :)

On Wednesday, March 21, 2018 at 4:16:41 PM UTC-4, Slava Pankov wrote:
You can have hidden (display: none) FormPanel with method="post". Then:
form.getElement().<FormElement> cast().setTarget("");
form.setAction(url);
form.submit();

That will redirect to specified url with POST.

On Wednesday, March 21, 2018 at 11:48:46 AM UTC-7, Matthew McLarty wrote:
I feel a little silly asking this since it feels like something that should be obvious.

How do I submit data to another URL, via POST (or GET if need be) without it being an ajax request? Do I need to construct a fake FormPanel and make it 1px big to submit the data to a URL? Can I use request builder and set the content-type header? The problem is that I need to browser to advance to that URL where the submission is processed but the GWT methods all seem to expect that to be an asynchronous event.

Please 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-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Re: Submit POST data with no callback

You can have hidden (display: none) FormPanel with method="post". Then:
form.getElement().<FormElement> cast().setTarget("");
form.setAction(url);
form.submit();

That will redirect to specified url with POST.

On Wednesday, March 21, 2018 at 11:48:46 AM UTC-7, Matthew McLarty wrote:
I feel a little silly asking this since it feels like something that should be obvious.

How do I submit data to another URL, via POST (or GET if need be) without it being an ajax request? Do I need to construct a fake FormPanel and make it 1px big to submit the data to a URL? Can I use request builder and set the content-type header? The problem is that I need to browser to advance to that URL where the submission is processed but the GWT methods all seem to expect that to be an asynchronous event.

Please 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-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Submit POST data with no callback

I feel a little silly asking this since it feels like something that should be obvious.

How do I submit data to another URL, via POST (or GET if need be) without it being an ajax request? Do I need to construct a fake FormPanel and make it 1px big to submit the data to a URL? Can I use request builder and set the content-type header? The problem is that I need to browser to advance to that URL where the submission is processed but the GWT methods all seem to expect that to be an asynchronous event.

Please 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-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Re: Experiences working with SmartGWT

If what you need is enterprise level web applications where functionality is more important then modern look and feel than smartgwt is very very powerfull and flexible.  You can write all your code in pure java with minimum html and css which leads to object oriented maintainable codebase.  Once you have up and running application you can easily include other developers to develope their needs. 

21 Mar 2018 4:25 PM tarihinde "Pavlo Iatsiuk" <pavel.yatsuk@gmail.com> yazdı:
Last 6 years our company develops a few applications using smartgwt. So, on my mind smartgwt is a very good and powerful library if you what to develop a desktop-like application.
In 99% of the time, you don't need to extend components because that functionality is already there - just read API.

четвер, 15 березня 2018 р. 17:52:11 UTC+1 користувач subroutines написав:
Hi I am currently looking at SmartGWT to develop our next web tool, and I am curious to know what is the community's opinion on it overall? and any first-hand experiences working with 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, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Website Popup positioning(absolute left/ absolute top calculation) issue With the Google Chrome Version 61 and above.

Hello All,

We have a GWT2.5  based web application, where we are seeing that the popup is shown somewhere in the top with the chrome version 61 and above(see attached).

I found out in the web that chrome has changed there implementation for calculating the absolute top/left position which is causing the issue. 

People are suggesting to upgrade the GWT library to 2.8.2 but unfortunately we don't have that option. 

Can someone help us here if there is any other workaround to fix this issue for chrome version 61 and above. 


https://stackoverflow.com/questions/46659830/gwt-popup-in-wrong-position-for-latest-chrome-version


P.S.: In IE/Firefox it working fine but latest chrome has only this popup issue

Thanks,
Amit

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Re: Experiences working with SmartGWT

Last 6 years our company develops a few applications using smartgwt. So, on my mind smartgwt is a very good and powerful library if you what to develop a desktop-like application.
In 99% of the time, you don't need to extend components because that functionality is already there - just read API.

четвер, 15 березня 2018 р. 17:52:11 UTC+1 користувач subroutines написав:
Hi I am currently looking at SmartGWT to develop our next web tool, and I am curious to know what is the community's opinion on it overall? and any first-hand experiences working with 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, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Monday, March 19, 2018

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



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 better to run everything from the command line?

I certainly prefer to launch everything from Maven (whether on the command line or through the IDE; if only because developers can help one another whichever their IDE), but I don't think there's any "recommended setup", and the GWT Eclipse Plugin should (hopefully) work just as well. My personal take is: it must work without any IDE, and once that works, why both replicating things in an IDE where they most likely won't run the same and need to be debugged again.

For GAE, I really can't tell.
Also, IIRC, GWT Eclipse Plugin has a feature to launch both the server and GWT codeserver in a single click.
(I must say I haven't used Eclipse in a while, and never actually used the GWT Eclipse Plugin)

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

GWT and OAuth Implicit Grant (client side only)

I'm considering using GWT to create a site that accesses a third party API, the third party API requires a token to be included with API calls.

Using the Implicit Flow for token retrieval.

Is there a recommended OAuth library for GWT that provides an OAuth service for the implicit flow?

I.e. one that will:
  1. redirect the user to an issuers login page (where the user enters their credentials).
  2. on authentication redirect the user back to my site.
  3. pass back to my site the authenticated users details (id, name, token). 
I fully expect to have to configure the library/request in some manner, i.e. to specify:
  1. the issuer.
  2. redirection URL (redirection after the authorisation, back to my site)
  3. client id
  4. scope
  5. etc. 
Is there such a library?

Any hints or suggestions greatly appreciated.

Thanks

C.

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

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


I've been trying to create a gwt-lib that contains some static web resources (fonts, css, ...) to be used in depending projects.
Where should I place these files? They used to be in the "public" directory on the same level as client/server/shared in the old days when there way just a single project layout.
I'd like to find them in the resulting war when declaring the library as a dependency.
Is this still possible or do I have to replicate the static web resources in each project that requires the gwt-lib?

You can still do the same I guess. Your gwt-lib module should contain a GWT module (*.gwt.xml) and you can place resources into the public folder of that GWT module. The GWT compiler / SuperDevMode should pick that up and copy the resources to the GWT compile output folder once you have inherited your gwt-lib GWT module in other apps.

-- J.

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

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

I've been trying to create a gwt-lib that contains some static web resources (fonts, css, ...) to be used in depending projects.
Where should I place these files? They used to be in the "public" directory on the same level as client/server/shared in the old days when there way just a single project layout.
I'd like to find them in the resulting war when declaring the library as a dependency.
Is this still possible or do I have to replicate the static web resources in each project that requires the gwt-lib?

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 better to run everything from the command line?

Thanks again, you are the man!

On Mon, Mar 19, 2018 at 3:41 PM, Thomas Broyer <t.broyer@gmail.com> wrote:


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?
The server launches just fine, an ancient swing window pops up, but the index.html is not there when going to 127.0.0.1:8888

Any ideas?

gwt:devmode will not package the app, you need to first do a "mvn package" to prepare the webapp; and do a "mvn package" again anytime you change any source file and/or dependency (you can configure Maven and/or your IDE to directly place classes from the module into the webapp's WEB-INF/classes; this saves you a few "mvn package").

When using external servers (recommended), you can configure them to automatically reload the webapp when a class is changed, and to pick web resources right from src/main/webapp.
Webapp will be on http://localhost:8080 (by default), served by the jetty-maven-plugin (or tomcat7-maven-plugin), configured to pick up the shared classes right from *-shared/target/classes (where your IDE will put them).

--
You received this message because you are subscribed to a topic in the Google Groups "GWT Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-web-toolkit/-7o22adLgls/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

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

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 better to run everything from the command line?

Thanks again, you are the man!

On Mon, Mar 19, 2018 at 3:41 PM, Thomas Broyer <t.broyer@gmail.com> wrote:


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?
The server launches just fine, an ancient swing window pops up, but the index.html is not there when going to 127.0.0.1:8888

Any ideas?

gwt:devmode will not package the app, you need to first do a "mvn package" to prepare the webapp; and do a "mvn package" again anytime you change any source file and/or dependency (you can configure Maven and/or your IDE to directly place classes from the module into the webapp's WEB-INF/classes; this saves you a few "mvn package").

When using external servers (recommended), you can configure them to automatically reload the webapp when a class is changed, and to pick web resources right from src/main/webapp.
Webapp will be on http://localhost:8080 (by default), served by the jetty-maven-plugin (or tomcat7-maven-plugin), configured to pick up the shared classes right from *-shared/target/classes (where your IDE will put them).

--
You received this message because you are subscribed to a topic in the Google Groups "GWT Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-web-toolkit/-7o22adLgls/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

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



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?
The server launches just fine, an ancient swing window pops up, but the index.html is not there when going to 127.0.0.1:8888

Any ideas?

gwt:devmode will not package the app, you need to first do a "mvn package" to prepare the webapp; and do a "mvn package" again anytime you change any source file and/or dependency (you can configure Maven and/or your IDE to directly place classes from the module into the webapp's WEB-INF/classes; this saves you a few "mvn package").

When using external servers (recommended), you can configure them to automatically reload the webapp when a class is changed, and to pick web resources right from src/main/webapp.
See https://github.com/tbroyer/gwt-maven-archetypes#start-the-development-mode
Webapp will be on http://localhost:8080 (by default), served by the jetty-maven-plugin (or tomcat7-maven-plugin), configured to pick up the shared classes right from *-shared/target/classes (where your IDE will put them).

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

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

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?
The server launches just fine, an ancient swing window pops up, but the index.html is not there when going to 127.0.0.1:8888

Any ideas?

On Monday, March 19, 2018 at 1:45:06 PM UTC+1, dflorey wrote:
I've migrated one of our smaller apps.
The module.gwt.xml is generated, nice!

I'm now trying to run the gwt-app.

In the old ant / Eclipse plugin days I could just click on Run and it launched all the required stuff in the background (app engine, code server etc.) so I'm a bit lost how to start the app.
We have some static resources in the the war directory (css, html launcher page), I don't know where to put these files so that they get picked up by the webserver.
I tried by putting them into the src/main/webapp directory, but this did not make it into the target war.

I tried both gwt:devmode and gwt:codeserver, both without luck.

Am I missing something obvious?

On Sunday, March 18, 2018 at 7:42:10 PM UTC+1, dflorey wrote:
That helped a lot! Thanks!
I've removed the .m2/repository and started from scratch.
I made some progress in the meantime and learned a bit about how to setup a local repository on the way to find the right structure.

I noticed that I cannot use the IsSerializable interface in the shared module, I had to replace the interface with the Serializable interface.
Looks like IsSerializable is not part of the gwt-servlet dependency?

I started with our core library. As there is no archetype for a gwt-lib I tried to start from the webapp archetype.
Then I switched the packaging from "gwt-app" to "gwt-lib" in the client module and from "war" to "pom" in the server module.
I've also removed all the tomcat and jetty plugins and the folders with the config for the webservers as I just want to build a lib.

I'm now getting an error in Eclipse in the pom telling me that "web.xml is missing and <failOnMissingWebXml> is set to 
 true"

It seems to build just fine though.



On Monday, March 12, 2018 at 4:55:21 PM UTC+1, Thomas Broyer wrote:


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-module project client/shared/server in my workspace.
As per your suggestion I just typed "mvn package -DskipTests" in the root/parent project.
But I get the same error message as before:

[INFO] --- gwt-maven-plugin:1.0-rc-9:compile (default-compile) @ formeditor-client ---
[WARNING] Error: Could not find or load main class com.google.gwt.dev.Compiler
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] formeditor ......................................... SUCCESS [  0.000 s]
[INFO] formeditor-shared .................................. SUCCESS [  0.926 s]
[INFO] formeditor-client .................................. FAILURE [  0.614 s]
[INFO] formeditor-server .................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.002 s
[INFO] Finished at: 2018-03-12T14:09:09+01:00
[INFO] Final Memory: 35M/761M

I guess I'm missing a basic step like setting a environment variable to point to my gwt installation or something?

Check that the JAR (~/.m2/repository/com/google/gwt/gwt-dev/2.8.2/gwt-dev-2.8.2.jar) is not corrupt.
Delete ~/.m2/repository/com/google/gwt/gwt-dev/2.8.2/ and re-run a build to download it again.

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

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

I've migrated one of our smaller apps.
The module.gwt.xml is generated, nice!

I'm now trying to run the gwt-app.

In the old ant / Eclipse plugin days I could just click on Run and it launched all the required stuff in the background (app engine, code server etc.) so I'm a bit lost how to start the app.
We have some static resources in the the war directory (css, html launcher page), I don't know where to put these files so that they get picked up by the webserver.
I tried by putting them into the src/main/webapp directory, but this did not make it into the target war.

I tried both gwt:devmode and gwt:codeserver, both without luck.

Am I missing something obvious?

On Sunday, March 18, 2018 at 7:42:10 PM UTC+1, dflorey wrote:
That helped a lot! Thanks!
I've removed the .m2/repository and started from scratch.
I made some progress in the meantime and learned a bit about how to setup a local repository on the way to find the right structure.

I noticed that I cannot use the IsSerializable interface in the shared module, I had to replace the interface with the Serializable interface.
Looks like IsSerializable is not part of the gwt-servlet dependency?

I started with our core library. As there is no archetype for a gwt-lib I tried to start from the webapp archetype.
Then I switched the packaging from "gwt-app" to "gwt-lib" in the client module and from "war" to "pom" in the server module.
I've also removed all the tomcat and jetty plugins and the folders with the config for the webservers as I just want to build a lib.

I'm now getting an error in Eclipse in the pom telling me that "web.xml is missing and <failOnMissingWebXml> is set to 
 true"

It seems to build just fine though.



On Monday, March 12, 2018 at 4:55:21 PM UTC+1, Thomas Broyer wrote:


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-module project client/shared/server in my workspace.
As per your suggestion I just typed "mvn package -DskipTests" in the root/parent project.
But I get the same error message as before:

[INFO] --- gwt-maven-plugin:1.0-rc-9:compile (default-compile) @ formeditor-client ---
[WARNING] Error: Could not find or load main class com.google.gwt.dev.Compiler
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] formeditor ......................................... SUCCESS [  0.000 s]
[INFO] formeditor-shared .................................. SUCCESS [  0.926 s]
[INFO] formeditor-client .................................. FAILURE [  0.614 s]
[INFO] formeditor-server .................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.002 s
[INFO] Finished at: 2018-03-12T14:09:09+01:00
[INFO] Final Memory: 35M/761M

I guess I'm missing a basic step like setting a environment variable to point to my gwt installation or something?

Check that the JAR (~/.m2/repository/com/google/gwt/gwt-dev/2.8.2/gwt-dev-2.8.2.jar) is not corrupt.
Delete ~/.m2/repository/com/google/gwt/gwt-dev/2.8.2/ and re-run a build to download it again.

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.