GWT Signup flow handling

2020-10-02 Thread jhon tonini
I developing a signup app for my project.
I want split the user inputs into three pages with routes: 
1=> "/signup/register?lang=en-US";
2=> "/signup/userdetails?lang=en-US";
3=> "/signup/welcome?lang=en-US".

The user can't access to route 2 if he  haven't complete step 1.

How can I implement this in my GWT application ?

Note: I use Spring boot as back end

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/290385eb-dd1f-42b7-89af-a906064c8dd8n%40googlegroups.com.


Re: Is it possible to implement a web worker with GWT?

2020-10-02 Thread lofid...@gmail.com
I'm not sure, will this project helps you: 
https://gitlab.com/ManfredTremmel/gwt-webworker?

t.br...@gmail.com schrieb am Freitag, 2. Oktober 2020 um 17:04:55 UTC+2:

> It is, through a linker: 
> http://www.gwtproject.org/doc/latest/DevGuideLinkers.html
> It might work with the D8ScriptLinker shipped in GWT (
> https://github.com/gwtproject/gwt/blob/2.9.0/dev/core/src/com/google/gwt/core/linker/D8ScriptLinker.java);
>  
> you'll have to declare it in a *.gwt.xml though (define-linker then 
> add-linker).
> Or there might be (IIRC, there are) libraries with such a linker 
> specifically for workers.
>
>
> On Thursday, October 1, 2020 at 10:43:37 PM UTC+2, Bruno Salmon wrote:
>>
>> hi,
>>
>> I have a GWT web app that I would like to make more reactive by moving 
>> some heavy computation code into web workers. This code doesn't need the 
>> context of the application to run, I just need to pass it a few input 
>> parameters so it should be a good fit for a web worker.
>>
>> I see how the web app can instantiate web workers 
>> using elemental2.dom.Worker.
>>
>> But as my worker code is in Java, I would like to know if I can use the 
>> GWT compiler to generate the worker itself. I expect a js file with a 
>> onmessage function as output that I can load from the web app.
>>
>> Is it possible to do this?
>>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/0498c25c-1bd1-471c-aaa7-c9bba70488ecn%40googlegroups.com.


Re: Is it possible to implement a web worker with GWT?

2020-10-02 Thread Thomas Broyer
It is, through a 
linker: http://www.gwtproject.org/doc/latest/DevGuideLinkers.html
It might work with the D8ScriptLinker shipped in GWT 
(https://github.com/gwtproject/gwt/blob/2.9.0/dev/core/src/com/google/gwt/core/linker/D8ScriptLinker.java);
 
you'll have to declare it in a *.gwt.xml though (define-linker then 
add-linker).
Or there might be (IIRC, there are) libraries with such a linker 
specifically for workers.

On Thursday, October 1, 2020 at 10:43:37 PM UTC+2, Bruno Salmon wrote:
>
> hi,
>
> I have a GWT web app that I would like to make more reactive by moving 
> some heavy computation code into web workers. This code doesn't need the 
> context of the application to run, I just need to pass it a few input 
> parameters so it should be a good fit for a web worker.
>
> I see how the web app can instantiate web workers 
> using elemental2.dom.Worker.
>
> But as my worker code is in Java, I would like to know if I can use the 
> GWT compiler to generate the worker itself. I expect a js file with a 
> onmessage function as output that I can load from the web app.
>
> Is it possible to do this?
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/21c6c550-6eb8-4d8e-ab10-9ab61814133co%40googlegroups.com.


Re: Strange GWT-RPC bug upgrading from 2.7 to 2.8+

2020-10-02 Thread Jens

>
> And there you have it... absolutely no idea why it's malfunctioning in 
> this way. Any help is greatly appreciated!
>

Ok in sourcemaps it looks indeed a bit weird. However there will be 
additional JS code executed to convert java.lang.Integer into a primitive 
int which is represented by JS number. That conversion seems to produce 
undefined.

Please use newest GWT SDK and either launch SuperDevMode or GWT compiler 
with these additional command line parameters: "-strict -style PRETTY 
-XmethodNameDisplayMode ABBREVIATED".

When doing so you make sure that no compile issue will be skipped 
(-strict), your JS code will be more readable (-style PRETTY) and you can 
more easily search for Java method names in the generated JS code 
(-XmethodName...). Next you should disable JS Source Maps support in Chrome 
Dev Tools to see the JS code.
To find the above method you would search the JS for 
"AbstractSerializationStreamWriter.addString" and should find a JS line 
that sets a displayName property. Above that line you will find the method 
implementation.

In the typical case to convert java.lang.Integer to primitive int, GWT 
should have generated JS that calls the intValue() method of Integer.


If something looks weird you might also want to double check that you do 
not have multiple versions of GWT in class path. That sometimes happened 
people when upgrading GWT and also using a bunch of third party libraries. 
Sometimes 3rd party libraries also emulate JRE classes which then do not 
match the JRE emulation in GWT SDK. This can be an additional possibility 
for unexpected JS behavior.


-- 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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/6de9c4b0-0be8-41c6-b7b4-4ecd54ccffcdo%40googlegroups.com.


Generate skeleton for activities and places

2020-10-02 Thread Guillen Antonio
HI,

I am looking for a plugin or equivalent that can generate the skeletons for 
activities and places, some thing equivalent to GWTP? Have you informations 
on this?

Thanks a lot

Antonio

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/e861ef26-5f80-42a2-ab61-a5880ccf9200n%40googlegroups.com.