Friday, September 30, 2022

Re: getThreadLocalRequest.getSession null

Thanks for your responses.
I still didn't find a solution. We have reinstalled tomcat but nothing's changed.
@Jens I debbuged in DevTools and found that for the server A, there is a Post request containing a sessionId sent to it and intercepted by the service containing both methods. The same request is sent to the server B but doesn't contain a sessionId. I still didn't understand why. The same app is deployed and by the way we can only are using IE to access web pages.
So The sessionId is sent from both servers to the front. But only sent back to server A.

@Craig both servers are working and active.I have no idea about session replication, how do I check that?

This is for sure related to the server, it must be some config or maybe a security config? 
Le vendredi 30 septembre 2022 à 03:50:53 UTC+2, ma...@craig-mitchell.com a écrit :
Your question lacks some details.  You talk about two servers, but don't tell us if they are active-active, or just running one server at a time.

If they are active-active, we'd need to know how you are doing your session replication between then servers.

If you are only running one server at a time, then Jens reply is a good idea.

I personally prefer to handle sessions myself, with a cookie and a memcache (yes, not really sessions at all), so I can easily scale.  But that's just a little side note.  :)

Either way, this outside of GWT's responsibilities, but still happy to help.

On Thursday, 29 September 2022 at 6:24:33 pm UTC+10 Jens wrote:
Use your browser dev tools to inspect the network request. You should check if server B sends back a session id cookie and that this session id cookie is transmitted back to the server for the second method that does getSession(false). If it doesn't or the session is already invalidated (either through code or through session timeout configuration on server B) then getSession(false) will return null.

-- J.

dhia.xd...@gmail.com schrieb am Mittwoch, 28. September 2022 um 12:21:36 UTC+2:
I have a gwt app that is running when deployed on tomcat on server A
For some reason the same app when is deployed on tomcat on a server B has a session issue

We have Method 1 and Method 2 inside a servlet that extends RemoteServiceServlet

We have a method1 in which we do:
this.getThreadLocalRequest.getSession(true).setAttribute("myuserid", myuserid)

Then in a second method we do
this.getThreadLocalRequest.getSession(false).getAttribute("myuserid")
which throws a null pointer exception as getSession retuns null

It is strange as this only happens on the server B
I have verified the tomcat config files like context.xml files and they are identical

I have printed currentThread.gtId() inside both methods and they are different but as said no issue on server A.





--
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 view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/5862b922-29f6-40ca-b3b4-344049011b31n%40googlegroups.com.

Thursday, September 29, 2022

Re: getThreadLocalRequest.getSession null

Your question lacks some details.  You talk about two servers, but don't tell us if they are active-active, or just running one server at a time.

If they are active-active, we'd need to know how you are doing your session replication between then servers.

If you are only running one server at a time, then Jens reply is a good idea.

I personally prefer to handle sessions myself, with a cookie and a memcache (yes, not really sessions at all), so I can easily scale.  But that's just a little side note.  :)

Either way, this outside of GWT's responsibilities, but still happy to help.

On Thursday, 29 September 2022 at 6:24:33 pm UTC+10 Jens wrote:
Use your browser dev tools to inspect the network request. You should check if server B sends back a session id cookie and that this session id cookie is transmitted back to the server for the second method that does getSession(false). If it doesn't or the session is already invalidated (either through code or through session timeout configuration on server B) then getSession(false) will return null.

-- J.

dhia.xd...@gmail.com schrieb am Mittwoch, 28. September 2022 um 12:21:36 UTC+2:
I have a gwt app that is running when deployed on tomcat on server A
For some reason the same app when is deployed on tomcat on a server B has a session issue

We have Method 1 and Method 2 inside a servlet that extends RemoteServiceServlet

We have a method1 in which we do:
this.getThreadLocalRequest.getSession(true).setAttribute("myuserid", myuserid)

Then in a second method we do
this.getThreadLocalRequest.getSession(false).getAttribute("myuserid")
which throws a null pointer exception as getSession retuns null

It is strange as this only happens on the server B
I have verified the tomcat config files like context.xml files and they are identical

I have printed currentThread.gtId() inside both methods and they are different but as said no issue on server A.





--
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 view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/d28d88a6-ba48-41c5-b57a-3ffaefac1723n%40googlegroups.com.

Re: getThreadLocalRequest.getSession null

Use your browser dev tools to inspect the network request. You should check if server B sends back a session id cookie and that this session id cookie is transmitted back to the server for the second method that does getSession(false). If it doesn't or the session is already invalidated (either through code or through session timeout configuration on server B) then getSession(false) will return null.

-- J.

dhia.xd...@gmail.com schrieb am Mittwoch, 28. September 2022 um 12:21:36 UTC+2:
I have a gwt app that is running when deployed on tomcat on server A
For some reason the same app when is deployed on tomcat on a server B has a session issue

We have Method 1 and Method 2 inside a servlet that extends RemoteServiceServlet

We have a method1 in which we do:
this.getThreadLocalRequest.getSession(true).setAttribute("myuserid", myuserid)

Then in a second method we do
this.getThreadLocalRequest.getSession(false).getAttribute("myuserid")
which throws a null pointer exception as getSession retuns null

It is strange as this only happens on the server B
I have verified the tomcat config files like context.xml files and they are identical

I have printed currentThread.gtId() inside both methods and they are different but as said no issue on server A.





--
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 view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/1daa9506-05c3-46ad-92c6-d3189576ea1en%40googlegroups.com.

Wednesday, September 28, 2022

getThreadLocalRequest.getSession null

I have a gwt app that is running when deployed on tomcat on server A
For some reason the same app when is deployed on tomcat on a server B has a session issue

We have Method 1 and Method 2 inside a servlet that extends RemoteServiceServlet

We have a method1 in which we do:
this.getThreadLocalRequest.getSession(true).setAttribute("myuserid", myuserid)

Then in a second method we do
this.getThreadLocalRequest.getSession(false).getAttribute("myuserid")
which throws a null pointer exception as getSession retuns null

It is strange as this only happens on the server B
I have verified the tomcat config files like context.xml files and they are identical

I have printed currentThread.gtId() inside both methods and they are different but as said no issue on server A.





--
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 view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/f468c396-d844-4b59-bc4a-cede7684e002n%40googlegroups.com.

Tuesday, September 27, 2022

Re: GWT Migration from 2.1.0 to 2.9.0

Hello

Latest gflot is 3.3.0 https://github.com/nmorel/gflot

BR

On Wednesday, September 28, 2022 at 8:22:48 AM UTC+3 patil.p...@gmail.com wrote:
Thank you for your response,  I added the scripts in our html file in its head tag, so  Ext. BLANK_IMAGE_UR related error got solved but could see new error as 
com.google.gwt.core.client.JavaScriptException: (TypeError) : Cannot read properties of undefined. (reading 'BACKSPACE'), i tried to figure out if any other script tag is there in any gwt.xml, but i didn't find any.

I could see one dependency in our project as gflot 1.0.5 which is having one gwt.xml, and I could see below message which say's ,
Console output
Ignoring following script tags in the gwt.xml file,
jquery.js
jquery.flot.js
flot-0.7/excanvas.js
flot-0.7/jquery.flot.symbol.js
flot-0.7/jquery.flot.navigate.min.js
flot-0.7/jquery.flot.selection.js
 Is there any way to include this scripts as they are coming from  gflot 1.0.5 jars gwt.xml? I checked for an updated library but couldn't find any. 

Can you please guide me. Thank you.


On Mon, Sep 26, 2022 at 6:31 PM Thomas Broyer <t.br...@gmail.com> wrote:
Add the script tags to your HTML (alternatively, use ScriptInjector in our entrypoint), but if they're not loaded, chances are that the Ext global is not defined, so Ext.BLANK_IMAGE_URL=… fails with the above-mentioned error.

On Monday, September 26, 2022 at 2:54:16 PM UTC+2 patil.p...@gmail.com wrote:
One more thing I noticed is, we have script tags in app.gwt.xml like below
<script src= js/ext/adapter/ext/ext-base.js/>
<script src=js/ext/ext-all-debug.js/>

Is these tags causing problem? As 2.9.0 doesn't allow scripts in XML. Is there known way out. ? Experts please share your opinions.

On Mon, 26 Sep 2022, 5:40 pm Pramod Patil, <patil.p...@gmail.com> wrote:
Thank you for your response, I tried to figure out changes but as part of this migration apart from version upgrades I have added/edited below properties in app.gwt.xml.
<set-property name="user.agent"  value="ie8,gecko1_8,safari"/>
<set-configuration-property name ='xsiframe.failIfScriptTag'  value='FALSE'>
other properties are present like
<inherits name ="com.google.gwt.logging.Logging"/>
<set-property name="gwt.logging.loglevel"  value="FINE" />
<set-property name="gwt.logging.systemHandler"  value="ENABLED" />
<set-property name="gwt.logging.consoleHandler"  value="ENABLED" />
<set-property name="gwt.logging.developmentModeHandler"  value="ENABLED" />
<set-property name="gwt.logging.simpleRemoteHandler"  value="DISABLED" />

apart from these changes, I haven't changed any code also I could see entries for Ext.BLANK_IMAGE_URL= '../ext/resources//somepath/s.gif'  in js files present in /war/project/js  folder.

Can you please let me know, what I might be missing?


On Mon, Sep 26, 2022 at 2:41 PM Jens <jens.ne...@gmail.com> wrote:
"Cannot set properties of undefined" is the javascript equivalent of Java NullPointerException.

So in your code something tried to set the property "BLANK_IMAGE_URL" on "null".

-- J.

patil.p...@gmail.com schrieb am Montag, 26. September 2022 um 08:48:31 UTC+2:
Hi 
I having beginners level knowledge with GWT, having task to migrate our application from GWT 2.1.0 to 2.9.0, in process, have made required changes. Application getting compiled fine but on browser its giving below error

 SEVERE: (TypeError) : Cannot set properties of undefined (setting 'BLANK_IMAGE_URL')
com.google.gwt.core.client.JavaScriptException :(TypeError) : Cannot set properties of undefined

If someone might be aware about this error, kindly revert. Thank you.

--
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-tool...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/058d57eb-a47b-43b2-8688-12ed3e86430en%40googlegroups.com.


--
Thanks and regards,
 Pramod Patil
 Contact +91-8975432800

--
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-tool...@googlegroups.com.


--
Thanks and regards,
 Pramod Patil
 Contact +91-8975432800

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/c76bc20e-8acc-42be-b765-cfdc1b45e1c3n%40googlegroups.com.

Re: GWT Migration from 2.1.0 to 2.9.0

Thank you for your response,  I added the scripts in our html file in its head tag, so  Ext. BLANK_IMAGE_UR related error got solved but could see new error as 
com.google.gwt.core.client.JavaScriptException: (TypeError) : Cannot read properties of undefined. (reading 'BACKSPACE'), i tried to figure out if any other script tag is there in any gwt.xml, but i didn't find any.

I could see one dependency in our project as gflot 1.0.5 which is having one gwt.xml, and I could see below message which say's ,
Console output
Ignoring following script tags in the gwt.xml file,
jquery.js
jquery.flot.js
flot-0.7/excanvas.js
flot-0.7/jquery.flot.symbol.js
flot-0.7/jquery.flot.navigate.min.js
flot-0.7/jquery.flot.selection.js
 Is there any way to include this scripts as they are coming from  gflot 1.0.5 jars gwt.xml? I checked for an updated library but couldn't find any. 

Can you please guide me. Thank you.


On Mon, Sep 26, 2022 at 6:31 PM Thomas Broyer <t.broyer@gmail.com> wrote:
Add the script tags to your HTML (alternatively, use ScriptInjector in our entrypoint), but if they're not loaded, chances are that the Ext global is not defined, so Ext.BLANK_IMAGE_URL=… fails with the above-mentioned error.

On Monday, September 26, 2022 at 2:54:16 PM UTC+2 patil.p...@gmail.com wrote:
One more thing I noticed is, we have script tags in app.gwt.xml like below
<script src= js/ext/adapter/ext/ext-base.js/>
<script src=js/ext/ext-all-debug.js/>

Is these tags causing problem? As 2.9.0 doesn't allow scripts in XML. Is there known way out. ? Experts please share your opinions.

On Mon, 26 Sep 2022, 5:40 pm Pramod Patil, <patil.p...@gmail.com> wrote:
Thank you for your response, I tried to figure out changes but as part of this migration apart from version upgrades I have added/edited below properties in app.gwt.xml.
<set-property name="user.agent"  value="ie8,gecko1_8,safari"/>
<set-configuration-property name ='xsiframe.failIfScriptTag'  value='FALSE'>
other properties are present like
<inherits name ="com.google.gwt.logging.Logging"/>
<set-property name="gwt.logging.loglevel"  value="FINE" />
<set-property name="gwt.logging.systemHandler"  value="ENABLED" />
<set-property name="gwt.logging.consoleHandler"  value="ENABLED" />
<set-property name="gwt.logging.developmentModeHandler"  value="ENABLED" />
<set-property name="gwt.logging.simpleRemoteHandler"  value="DISABLED" />

apart from these changes, I haven't changed any code also I could see entries for Ext.BLANK_IMAGE_URL= '../ext/resources//somepath/s.gif'  in js files present in /war/project/js  folder.

Can you please let me know, what I might be missing?


On Mon, Sep 26, 2022 at 2:41 PM Jens <jens.ne...@gmail.com> wrote:
"Cannot set properties of undefined" is the javascript equivalent of Java NullPointerException.

So in your code something tried to set the property "BLANK_IMAGE_URL" on "null".

-- J.

patil.p...@gmail.com schrieb am Montag, 26. September 2022 um 08:48:31 UTC+2:
Hi 
I having beginners level knowledge with GWT, having task to migrate our application from GWT 2.1.0 to 2.9.0, in process, have made required changes. Application getting compiled fine but on browser its giving below error

 SEVERE: (TypeError) : Cannot set properties of undefined (setting 'BLANK_IMAGE_URL')
com.google.gwt.core.client.JavaScriptException :(TypeError) : Cannot set properties of undefined

If someone might be aware about this error, kindly revert. Thank you.

--
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-tool...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/058d57eb-a47b-43b2-8688-12ed3e86430en%40googlegroups.com.


--
Thanks and regards,
 Pramod Patil
 Contact +91-8975432800

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/a7b42464-b696-4607-84a7-5696f315edb2n%40googlegroups.com.


--
Thanks and regards,
 Pramod Patil
 Contact +91-8975432800

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/CAAXS9-XQxe1Egdduxf%3DCO20s%2BvFq-auBikL13zzoHDm8U2Xk3A%40mail.gmail.com.

Monday, September 26, 2022

Re: GWT Migration from 2.1.0 to 2.9.0

Add the script tags to your HTML (alternatively, use ScriptInjector in our entrypoint), but if they're not loaded, chances are that the Ext global is not defined, so Ext.BLANK_IMAGE_URL=… fails with the above-mentioned error.

On Monday, September 26, 2022 at 2:54:16 PM UTC+2 patil.p...@gmail.com wrote:
One more thing I noticed is, we have script tags in app.gwt.xml like below
<script src= js/ext/adapter/ext/ext-base.js/>
<script src=js/ext/ext-all-debug.js/>

Is these tags causing problem? As 2.9.0 doesn't allow scripts in XML. Is there known way out. ? Experts please share your opinions.

On Mon, 26 Sep 2022, 5:40 pm Pramod Patil, <patil.p...@gmail.com> wrote:
Thank you for your response, I tried to figure out changes but as part of this migration apart from version upgrades I have added/edited below properties in app.gwt.xml.
<set-property name="user.agent"  value="ie8,gecko1_8,safari"/>
<set-configuration-property name ='xsiframe.failIfScriptTag'  value='FALSE'>
other properties are present like
<inherits name ="com.google.gwt.logging.Logging"/>
<set-property name="gwt.logging.loglevel"  value="FINE" />
<set-property name="gwt.logging.systemHandler"  value="ENABLED" />
<set-property name="gwt.logging.consoleHandler"  value="ENABLED" />
<set-property name="gwt.logging.developmentModeHandler"  value="ENABLED" />
<set-property name="gwt.logging.simpleRemoteHandler"  value="DISABLED" />

apart from these changes, I haven't changed any code also I could see entries for Ext.BLANK_IMAGE_URL= '../ext/resources//somepath/s.gif'  in js files present in /war/project/js  folder.

Can you please let me know, what I might be missing?


On Mon, Sep 26, 2022 at 2:41 PM Jens <jens.ne...@gmail.com> wrote:
"Cannot set properties of undefined" is the javascript equivalent of Java NullPointerException.

So in your code something tried to set the property "BLANK_IMAGE_URL" on "null".

-- J.

patil.p...@gmail.com schrieb am Montag, 26. September 2022 um 08:48:31 UTC+2:
Hi 
I having beginners level knowledge with GWT, having task to migrate our application from GWT 2.1.0 to 2.9.0, in process, have made required changes. Application getting compiled fine but on browser its giving below error

 SEVERE: (TypeError) : Cannot set properties of undefined (setting 'BLANK_IMAGE_URL')
com.google.gwt.core.client.JavaScriptException :(TypeError) : Cannot set properties of undefined

If someone might be aware about this error, kindly revert. Thank you.

--
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-tool...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/058d57eb-a47b-43b2-8688-12ed3e86430en%40googlegroups.com.


--
Thanks and regards,
 Pramod Patil
 Contact +91-8975432800

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/a7b42464-b696-4607-84a7-5696f315edb2n%40googlegroups.com.

Re: GWT Migration from 2.1.0 to 2.9.0

One more thing I noticed is, we have script tags in app.gwt.xml like below
<script src= js/ext/adapter/ext/ext-base.js/>
<script src=js/ext/ext-all-debug.js/>

Is these tags causing problem? As 2.9.0 doesn't allow scripts in XML. Is there known way out. ? Experts please share your opinions.

On Mon, 26 Sep 2022, 5:40 pm Pramod Patil, <patil.pramod63@gmail.com> wrote:
Thank you for your response, I tried to figure out changes but as part of this migration apart from version upgrades I have added/edited below properties in app.gwt.xml.
<set-property name="user.agent"  value="ie8,gecko1_8,safari"/>
<set-configuration-property name ='xsiframe.failIfScriptTag'  value='FALSE'>
other properties are present like
<inherits name ="com.google.gwt.logging.Logging"/>
<set-property name="gwt.logging.loglevel"  value="FINE" />
<set-property name="gwt.logging.systemHandler"  value="ENABLED" />
<set-property name="gwt.logging.consoleHandler"  value="ENABLED" />
<set-property name="gwt.logging.developmentModeHandler"  value="ENABLED" />
<set-property name="gwt.logging.simpleRemoteHandler"  value="DISABLED" />

apart from these changes, I haven't changed any code also I could see entries for Ext.BLANK_IMAGE_URL= '../ext/resources//somepath/s.gif'  in js files present in /war/project/js  folder.

Can you please let me know, what I might be missing?


On Mon, Sep 26, 2022 at 2:41 PM Jens <jens.nehlmeier@gmail.com> wrote:
"Cannot set properties of undefined" is the javascript equivalent of Java NullPointerException.

So in your code something tried to set the property "BLANK_IMAGE_URL" on "null".

-- J.

patil.p...@gmail.com schrieb am Montag, 26. September 2022 um 08:48:31 UTC+2:
Hi 
I having beginners level knowledge with GWT, having task to migrate our application from GWT 2.1.0 to 2.9.0, in process, have made required changes. Application getting compiled fine but on browser its giving below error

 SEVERE: (TypeError) : Cannot set properties of undefined (setting 'BLANK_IMAGE_URL')
com.google.gwt.core.client.JavaScriptException :(TypeError) : Cannot set properties of undefined

If someone might be aware about this error, kindly revert. Thank you.

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/058d57eb-a47b-43b2-8688-12ed3e86430en%40googlegroups.com.


--
Thanks and regards,
 Pramod Patil
 Contact +91-8975432800

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/CAAXS9-Uu8Yej8NVf2zT5LjztTqNrHZJD5oPdwO9X4fPD-HESfw%40mail.gmail.com.

Re: GWT Migration from 2.1.0 to 2.9.0

Thank you for your response, I tried to figure out changes but as part of this migration apart from version upgrades I have added/edited below properties in app.gwt.xml.
<set-property name="user.agent"  value="ie8,gecko1_8,safari"/>
<set-configuration-property name ='xsiframe.failIfScriptTag'  value='FALSE'>
other properties are present like
<inherits name ="com.google.gwt.logging.Logging"/>
<set-property name="gwt.logging.loglevel"  value="FINE" />
<set-property name="gwt.logging.systemHandler"  value="ENABLED" />
<set-property name="gwt.logging.consoleHandler"  value="ENABLED" />
<set-property name="gwt.logging.developmentModeHandler"  value="ENABLED" />
<set-property name="gwt.logging.simpleRemoteHandler"  value="DISABLED" />

apart from these changes, I haven't changed any code also I could see entries for Ext.BLANK_IMAGE_URL= '../ext/resources//somepath/s.gif'  in js files present in /war/project/js  folder.

Can you please let me know, what I might be missing?


On Mon, Sep 26, 2022 at 2:41 PM Jens <jens.nehlmeier@gmail.com> wrote:
"Cannot set properties of undefined" is the javascript equivalent of Java NullPointerException.

So in your code something tried to set the property "BLANK_IMAGE_URL" on "null".

-- J.

patil.p...@gmail.com schrieb am Montag, 26. September 2022 um 08:48:31 UTC+2:
Hi 
I having beginners level knowledge with GWT, having task to migrate our application from GWT 2.1.0 to 2.9.0, in process, have made required changes. Application getting compiled fine but on browser its giving below error

 SEVERE: (TypeError) : Cannot set properties of undefined (setting 'BLANK_IMAGE_URL')
com.google.gwt.core.client.JavaScriptException :(TypeError) : Cannot set properties of undefined

If someone might be aware about this error, kindly revert. Thank you.

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/058d57eb-a47b-43b2-8688-12ed3e86430en%40googlegroups.com.


--
Thanks and regards,
 Pramod Patil
 Contact +91-8975432800

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/CAAXS9-W6KKEr3K2XL4aNtdnt7htfjXjfhvAH0UAMAKoZaJm2XA%40mail.gmail.com.

Re: GWT Migration from 2.1.0 to 2.9.0

"Cannot set properties of undefined" is the javascript equivalent of Java NullPointerException.

So in your code something tried to set the property "BLANK_IMAGE_URL" on "null".

-- J.

patil.p...@gmail.com schrieb am Montag, 26. September 2022 um 08:48:31 UTC+2:
Hi 
I having beginners level knowledge with GWT, having task to migrate our application from GWT 2.1.0 to 2.9.0, in process, have made required changes. Application getting compiled fine but on browser its giving below error

 SEVERE: (TypeError) : Cannot set properties of undefined (setting 'BLANK_IMAGE_URL')
com.google.gwt.core.client.JavaScriptException :(TypeError) : Cannot set properties of undefined

If someone might be aware about this error, kindly revert. Thank you.

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/058d57eb-a47b-43b2-8688-12ed3e86430en%40googlegroups.com.

Sunday, September 25, 2022

GWT Migration from 2.1.0 to 2.9.0

Hi 
I having beginners level knowledge with GWT, having task to migrate our application from GWT 2.1.0 to 2.9.0, in process, have made required changes. Application getting compiled fine but on browser its giving below error

 SEVERE: (TypeError) : Cannot set properties of undefined (setting 'BLANK_IMAGE_URL')
com.google.gwt.core.client.JavaScriptException :(TypeError) : Cannot set properties of undefined

If someone might be aware about this error, kindly revert. Thank you.

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/2c152ae4-e2b7-423b-8367-61e803082367n%40googlegroups.com.

Saturday, September 24, 2022

Re: Errors when running "ant test"

I found out what the problem was. There were a few small diffs compared to the master/main branch, and those provoked severity="error" issues in the checkstyle run. I was confused by various other "error" items that also occur on the master/main branch, but issues only seem to let the build fail if the severity is "error" (which it isn't for any of the "error" items on the master/main branch).

On Wednesday, September 21, 2022 at 1:07:13 PM UTC+2 Axel wrote:
I'm trying to build GWT locally from sources (c32238861c4d58bc559d303ab44f91ddd4e10685). https://www.gwtproject.org/makinggwtbetter.html#testing suggests to run "ant" and "ant test". When I do, I'm seeing error messages in the XML file produced, such as

<file name="/usr/local/src/gwt/trunk/user/super/com/google/gwt/emul/java/util/concurrent/TimeUnit.java">
<error line="21" column="35" severity="warning" message="&apos;{&apos; should have line break after." source="com.puppycrawl.tools.checkstyle.checks.blocks.LeftCurlyCheck"/>

or

<file name="/usr/local/src/gwt/trunk/user/super/com/google/gwt/emul/java/util/function/BinaryOperator.java">
<error line="20" severity="warning" message="Import statement is in the wrong order. Should be in the &apos;STATIC&apos; group." source="com.puppycrawl.tools.checkstyle.checks.imports.CustomImportOrderCheck"/>

or

<file name="/usr/local/src/gwt/trunk/user/super/com/google/gwt/emul/java/util/logging/Logger.java">
<error line="334" severity="warning" message="Line is longer than 100 characters (found 105)." source="com.puppycrawl.tools.checkstyle.checks.sizes.LineLengthCheck"/>

The ant command then fails as follows:

checkstyle-source:
[checkstyle] Running Checkstyle 6.0 on 6159 files

BUILD FAILED
/usr/local/src/gwt/trunk/build.xml:119: The following error occurred while executing this line:
/usr/local/src/gwt/trunk/build.xml:27: The following error occurred while executing this line:
/usr/local/src/gwt/trunk/build.xml:70: The following error occurred while executing this line:
/usr/local/src/gwt/trunk/user/build.xml:209: The following error occurred while executing this line:
/usr/local/src/gwt/trunk/common.ant.xml:361: Checkstyle errors exist, and are reported at /usr/local/src/gwt/trunk/build/out/user/checkstyle_log.xml

Is this to be expected, or did I make some mistake during cloning or building? I haven't modified those files in which style errors are flagged.

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/c3907929-cfbb-48f8-b4e2-c07a45bbff69n%40googlegroups.com.

Wednesday, September 21, 2022

Re: App Server for GWT 2.10

There is the jakarta migration utility. Supposed to convert wars from javax.* to jakarta.* for deployment. Tomcat also has a special deployment option for such.

Another approach to consider, depending on your needs, is spring boot run, maybe inside a docker container.


On Wed, Sep 21, 2022 at 11:16 AM Valavanur Man <mramadoss@gmail.com> wrote:
Thanks. We had problems due to jakarta.servlet with Glassfish 6.0 when we attempted to migrate. 
So was looking for a good replacement preferably open source.  Was thinking Payara, but if it goes jakarta route, we will have the same issue in the future.  Any suggestions?

On Wednesday, September 21, 2022 at 4:34:01 AM UTC-7 Jens wrote:
If you use GWT-RPC or RequestFactory you need to choose a servlet container that still uses javax.servlet instead of jakarta.servlet because both these GWT features have a servlet component using javax.servlet.

Other than that, you can choose whatever you want.

-- J.

Valavanur Man schrieb am Dienstag, 20. September 2022 um 17:59:48 UTC+2:
Hi,

We are running GWT 2.8 with Glassfish4.  We had issues trying to run the GWT (2.8) App in Glassfish 6.

Currently we are looking into upgrading to GWT 2.10. Would like you know what appservers are supported to run GWT 2.10 (even GWT 2.8 and beyond). Is there a recommended set of servers?

Appreciate any pointers.

Thanks,

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/6a0dbe21-60fc-4dd7-a071-ce021d09155fn%40googlegroups.com.

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/CAFHWztxr-dNwVnoYBKzPobg7vHFu4h80Xj3YJ6jo95OZ5H%3D3Fw%40mail.gmail.com.

Re: App Server for GWT 2.10

Thanks. We had problems due to jakarta.servlet with Glassfish 6.0 when we attempted to migrate. 
So was looking for a good replacement preferably open source.  Was thinking Payara, but if it goes jakarta route, we will have the same issue in the future.  Any suggestions?

On Wednesday, September 21, 2022 at 4:34:01 AM UTC-7 Jens wrote:
If you use GWT-RPC or RequestFactory you need to choose a servlet container that still uses javax.servlet instead of jakarta.servlet because both these GWT features have a servlet component using javax.servlet.

Other than that, you can choose whatever you want.

-- J.

Valavanur Man schrieb am Dienstag, 20. September 2022 um 17:59:48 UTC+2:
Hi,

We are running GWT 2.8 with Glassfish4.  We had issues trying to run the GWT (2.8) App in Glassfish 6.

Currently we are looking into upgrading to GWT 2.10. Would like you know what appservers are supported to run GWT 2.10 (even GWT 2.8 and beyond). Is there a recommended set of servers?

Appreciate any pointers.

Thanks,

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/6a0dbe21-60fc-4dd7-a071-ce021d09155fn%40googlegroups.com.

Re: App Server for GWT 2.10

If you use GWT-RPC or RequestFactory you need to choose a servlet container that still uses javax.servlet instead of jakarta.servlet because both these GWT features have a servlet component using javax.servlet.

Other than that, you can choose whatever you want.

-- J.

Valavanur Man schrieb am Dienstag, 20. September 2022 um 17:59:48 UTC+2:
Hi,

We are running GWT 2.8 with Glassfish4.  We had issues trying to run the GWT (2.8) App in Glassfish 6.

Currently we are looking into upgrading to GWT 2.10. Would like you know what appservers are supported to run GWT 2.10 (even GWT 2.8 and beyond). Is there a recommended set of servers?

Appreciate any pointers.

Thanks,

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/49aae5bd-2410-4199-95a1-e7a76b546ffan%40googlegroups.com.

Errors when running "ant test"

I'm trying to build GWT locally from sources (c32238861c4d58bc559d303ab44f91ddd4e10685). https://www.gwtproject.org/makinggwtbetter.html#testing suggests to run "ant" and "ant test". When I do, I'm seeing error messages in the XML file produced, such as

<file name="/usr/local/src/gwt/trunk/user/super/com/google/gwt/emul/java/util/concurrent/TimeUnit.java">
<error line="21" column="35" severity="warning" message="&apos;{&apos; should have line break after." source="com.puppycrawl.tools.checkstyle.checks.blocks.LeftCurlyCheck"/>

or

<file name="/usr/local/src/gwt/trunk/user/super/com/google/gwt/emul/java/util/function/BinaryOperator.java">
<error line="20" severity="warning" message="Import statement is in the wrong order. Should be in the &apos;STATIC&apos; group." source="com.puppycrawl.tools.checkstyle.checks.imports.CustomImportOrderCheck"/>

or

<file name="/usr/local/src/gwt/trunk/user/super/com/google/gwt/emul/java/util/logging/Logger.java">
<error line="334" severity="warning" message="Line is longer than 100 characters (found 105)." source="com.puppycrawl.tools.checkstyle.checks.sizes.LineLengthCheck"/>

The ant command then fails as follows:

checkstyle-source:
[checkstyle] Running Checkstyle 6.0 on 6159 files

BUILD FAILED
/usr/local/src/gwt/trunk/build.xml:119: The following error occurred while executing this line:
/usr/local/src/gwt/trunk/build.xml:27: The following error occurred while executing this line:
/usr/local/src/gwt/trunk/build.xml:70: The following error occurred while executing this line:
/usr/local/src/gwt/trunk/user/build.xml:209: The following error occurred while executing this line:
/usr/local/src/gwt/trunk/common.ant.xml:361: Checkstyle errors exist, and are reported at /usr/local/src/gwt/trunk/build/out/user/checkstyle_log.xml

Is this to be expected, or did I make some mistake during cloning or building? I haven't modified those files in which style errors are flagged.

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/9cbf94bb-de1b-4379-bd4f-ca5b511aba9en%40googlegroups.com.

Tuesday, September 20, 2022

Re: App Server for GWT 2.10

Hi! 
GWT has no dependencies to any app server. Just use your preferred one (and look into your own code if you experience issues ;-))
Bon courage
Ralph 

Valavanur Man <mramadoss@gmail.com> schrieb am Di. 20. Sept. 2022 um 17:59:
Hi,

We are running GWT 2.8 with Glassfish4.  We had issues trying to run the GWT (2.8) App in Glassfish 6.

Currently we are looking into upgrading to GWT 2.10. Would like you know what appservers are supported to run GWT 2.10 (even GWT 2.8 and beyond). Is there a recommended set of servers?

Appreciate any pointers.

Thanks,

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/79044338-e2e5-4271-8f42-558aeb7c5481n%40googlegroups.com.

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/CACwwWxOFrVLCKA%2BnroN-REp%3DuzcLXJ0mYryfcsBEDxrt79WK-w%40mail.gmail.com.

App Server for GWT 2.10

Hi,

We are running GWT 2.8 with Glassfish4.  We had issues trying to run the GWT (2.8) App in Glassfish 6.

Currently we are looking into upgrading to GWT 2.10. Would like you know what appservers are supported to run GWT 2.10 (even GWT 2.8 and beyond). Is there a recommended set of servers?

Appreciate any pointers.

Thanks,

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/79044338-e2e5-4271-8f42-558aeb7c5481n%40googlegroups.com.

Friday, September 16, 2022

Re: GWT 2.10.0 release

Thank you. Greatly appreciate the update and all the work.

Cheers,
mark...

On Thursday, June 23, 2022 at 12:16:50 PM UTC-4 nilo...@gmail.com wrote:
I'm very happy to announce the release of GWT 2.10.0. This is the first release using our new groupId, org.gwtproject, and the final release using com.google.gwt. If you resolve dependencies from Maven Central, please be certain that your project is using com.google.gwt:gwt (or org.gwtproject:gwt) as a BOM, so that you are certain to have consistent versions of gwt-user and gwt-dev, even across groupIds.

For this release, either groupId will work, but future releases will only be made on the org.gwtproject groupId.


--


Highlights
  • Updated to HtmlUnit 2.55.0 and Jetty 9.4.44. With this newer HtmlUnit build comes support for Promise in unit tests, and the browser strings that can be specified when running tests are "FF", "Chrome", "IE" (for IE11), "Edge", and "Safari".

  • Tested support for running on Java 17, dropped remaining support for running on Java 7.

  • Maven groupId is formally changed to org.gwtproject, projects should take care to make sure they are using either the old com.google.gwt:gwt BOM or the new org.gwtproject:gwt BOM to sure that Maven or Gradle correctly handle this change. This will be the last published version using the com.google.gwt groupId.

  • Dropped support for IE 8, 9, and 10.

Bug fixes
  • Correct Long.hashCode semantics
  • Support CLASSPATH environment variable when creating child processes, fixing a bug where Windows could fail with a long list of arguments.
  • Use Function.name instead of displayName to support visible method names in Chrome 93+.
  • Allow stack traces to be available in Chrome when loading scripts from a remote origin.
JRE Emulation
  • Added OutputStreamWriter emulation.
  • Support StringReader mark() and reset() methods.
  • Added StrictMath emulation.
  • Added BufferedWriter emulation.
  • Added incomplete PrintStream emulation.
  • Add Charset.defaultCharset() emulation.
  • Improve BigInteger emulated performance.
  • System.nanoTime() emulation with performance.now().
  • Added Optional.isEmpty emulation.
  • JRE Emulation improvements/simplifications to facilitate J2CL's WASM support. Note that these do not always offer specific improvements to GWT itself, but helps to keep the codebases consistent.
Miscellaneous
  • Add support to compile GWT itself in Java 9+.
  • Improve compiled code size for applications that never use streams, by avoiding referencing streams from Throwable.

For more detail, see the commit log.

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/8372d65a-8ce1-49f7-be92-dc85c7f450f2n%40googlegroups.com.

Re: Add containers in NorthEast, NorthWest and Center section of BorderLayoutContainer

Unless you want to create something based on css flex-layout and uibinder yourself, it's probably the easiest to combine 3 DockLayoutPanels (1 for NE, E and SE, one for the center N and S, and finally one for the western parts. 

Abhishek Yadav <abhiyadav18@gmail.com> schrieb am Do. 15. Sept. 2022 um 23:13:
Hi,

Anybody has an idea about how to add containers in the northeast , northwest and center section in north part of the BorderLayoutContainer.

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/0f3f89e3-b419-4318-8151-5494d8f44f99n%40googlegroups.com.

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/CACwwWxPk5r%3DLe0FK6i%2BdktrMqGjxJRCE%2BTAwJz3zbCvn7%2B2K0g%40mail.gmail.com.

Re: Add containers in NorthEast, NorthWest and Center section of BorderLayoutContainer

There's no such thing as a BorderLayoutContainer in GWT proper (https://www.gwtproject.org/javadoc/latest/)
Which library (in which version, it sometimes matter) are you using?
(note: don't expect an answer from myself then, I never used any third-party widget library)

On Thursday, September 15, 2022 at 11:13:15 PM UTC+2 abhiy...@gmail.com wrote:
Hi,

Anybody has an idea about how to add containers in the northeast , northwest and center section in north part of the BorderLayoutContainer.

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/2eb917f2-ef32-4b46-921a-b05dd42ec6e2n%40googlegroups.com.

Thursday, September 15, 2022

Add containers in NorthEast, NorthWest and Center section of BorderLayoutContainer

Hi,

Anybody has an idea about how to add containers in the northeast , northwest and center section in north part of the BorderLayoutContainer.

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/0f3f89e3-b419-4318-8151-5494d8f44f99n%40googlegroups.com.

Wednesday, September 14, 2022

Re: GWT 2.10.0 release

That's great to know.

--
Kind Regards,
Sam Bill | Marketing Consultant
www.referdiscounts.com

On Friday, July 15, 2022 at 7:22:30 PM UTC+5:30 stock...@gmail.com wrote:
Great!
Thank you Colin and everyone.

Il giorno venerdì 15 luglio 2022 alle 10:30:30 UTC+2 abhiy...@gmail.com ha scritto:
Hi Priya,

GWT 2.10 has dropped support for  IE 8, 9, and 10. So it will not work unless you modify the Sencha GXT 2.3.1.a.jar

On Thursday, July 14, 2022 at 5:24:08 PM UTC+5:30 priyako...@gmail.com wrote:
Hello All,
Good to see that new version of GWT coming with new features!!!
Is the new 2.10.0 GWT version compatible with Sencha GXT 2.3.1.a ? 
Will appreciate an early reply! 

On Sat, Jul 2, 2022 at 1:40 AM Mihail Krastev <mkras...@gmail.com> wrote:
Really good job, thanks to everyone involved!

On Thursday, June 23, 2022 at 7:16:50 PM UTC+3 nilo...@gmail.com wrote:
I'm very happy to announce the release of GWT 2.10.0. This is the first release using our new groupId, org.gwtproject, and the final release using com.google.gwt. If you resolve dependencies from Maven Central, please be certain that your project is using com.google.gwt:gwt (or org.gwtproject:gwt) as a BOM, so that you are certain to have consistent versions of gwt-user and gwt-dev, even across groupIds.

For this release, either groupId will work, but future releases will only be made on the org.gwtproject groupId.


--


Highlights
  • Updated to HtmlUnit 2.55.0 and Jetty 9.4.44. With this newer HtmlUnit build comes support for Promise in unit tests, and the browser strings that can be specified when running tests are "FF", "Chrome", "IE" (for IE11), "Edge", and "Safari".

  • Tested support for running on Java 17, dropped remaining support for running on Java 7.

  • Maven groupId is formally changed to org.gwtproject, projects should take care to make sure they are using either the old com.google.gwt:gwt BOM or the new org.gwtproject:gwt BOM to sure that Maven or Gradle correctly handle this change. This will be the last published version using the com.google.gwt groupId.

  • Dropped support for IE 8, 9, and 10.

Bug fixes
  • Correct Long.hashCode semantics
  • Support CLASSPATH environment variable when creating child processes, fixing a bug where Windows could fail with a long list of arguments.
  • Use Function.name instead of displayName to support visible method names in Chrome 93+.
  • Allow stack traces to be available in Chrome when loading scripts from a remote origin.
JRE Emulation
  • Added OutputStreamWriter emulation.
  • Support StringReader mark() and reset() methods.
  • Added StrictMath emulation.
  • Added BufferedWriter emulation.
  • Added incomplete PrintStream emulation.
  • Add Charset.defaultCharset() emulation.
  • Improve BigInteger emulated performance.
  • System.nanoTime() emulation with performance.now().
  • Added Optional.isEmpty emulation.
  • JRE Emulation improvements/simplifications to facilitate J2CL's WASM support. Note that these do not always offer specific improvements to GWT itself, but helps to keep the codebases consistent.
Miscellaneous
  • Add support to compile GWT itself in Java 9+.
  • Improve compiled code size for applications that never use streams, by avoiding referencing streams from Throwable.

For more detail, see the commit log.

--
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-tool...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/af5e74c8-4f62-46d2-a29a-f28203555e32n%40googlegroups.com.


--
Life is Beautiful..........
Keep Smiling!!!!!!!!
Priya......

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/3d6fb018-c64f-47da-9698-bfd3fafe3b31n%40googlegroups.com.

Tuesday, September 13, 2022

The Plugin for Eclipse Cannot be reached


The Plugin for Eclipse Cannot  be reached , 
How can i fix it ?
Capturar.PNGCapturar2.PNG

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/86a0d471-6dcf-4639-a4b2-15eb992ddc9fn%40googlegroups.com.

Re: GWT 2.10.0 DTD

It's also included in the GWT SDK:

<!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit 2.10.0//EN" "file:///C:/mydir/gwt-2.10.0/gwt-module.dtd">


On Friday, 9 September 2022 at 5:26:53 am UTC+10 lofid...@gmail.com wrote:
You're right, GWT Project updates with https now but still I also cannot download it:

https://gwtproject.org/doctype/2.10.0/gwt-module.dtd

But I never use it, or do you really need it?
Sara Youssef schrieb am Donnerstag, 8. September 2022 um 13:25:43 UTC+2:
I can't access GWT 2.10.0 DTD from http://gwtproject.org/doctype/2.10.0/gwt-module.dtd
So is there any reason that DTD isn't uploaded to gwt website till now although the source repository has a version of it or it's uploaded to a different server?

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/4009cf3c-d2b8-4f8d-94a4-7b5b18fb3963n%40googlegroups.com.

Monday, September 12, 2022

Re: Keyboard Accessibility: while tabbing the first element in celltable gets focus

Thank you that worked!

On Friday, September 9, 2022 at 12:38:30 PM UTC-4 t.br...@gmail.com wrote:
What kind of Cell is this? Can you show part of the code that sets up the table?
Did you set KeyboardSelectionPolicy to DISABLED?

On Friday, September 9, 2022 at 6:09:14 PM UTC+2 nidhi....@gmail.com wrote:
I am working on adding keyboard accessibility to my application. When tabbing from on e widget to another if there is a celltable, it is included in the tabbing sequence. The cell table in not editable, still it gets into tabbing sequence. How do I remove the cell table from tabbing sequence? Is this known issue? Wondering if there are any work arounds? Any help will be appreciated. 

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/aa90713f-af30-4e7c-b8cf-e22296ab17b6n%40googlegroups.com.

Sunday, September 11, 2022

Re: Wrapping Javascript library (chart.js) using JSInterop

Why don't you use Charba? https://github.com/pepstock-org/Charba

Charba is providing the wrapper of Chart.js for GWT and J2CL.

Il giorno domenica 11 settembre 2022 alle 14:53:25 UTC+2 manassriv...@gmail.com ha scritto:
I have added a pom.xml file in the project attached below while running the command - mvn clean install I got an error - Compiling module com.jsinteropdemo.JSInteropDemo
[INFO]    [ERROR] Module has no entry points defined
Also attaching the screenshot of my project folder and default .XML file
On Sunday, September 11, 2022 at 5:59:36 PM UTC+5:30 m.conr...@gmail.com wrote:
Check your dependencies. That is an add-on library which must be included explicitly.

On Sun, Sep 11, 2022 at 5:10 AM Manas <manassriv...@gmail.com> wrote:
Hi All,

Good Day!

I'm new in GWT and I'm going through documentation and JSInterop. I'm facing issues with implementing chart.js using JSInterop. Can anyone guide me on how to resolve and keep things working? I am facing an error - "The import elemental2 cannot be resolved"

code is - 
package chartjs;

import elemental2.dom.HTMLCanvasElement; => facing error on this line
import jsinterop.annotations.JsPackage;
import jsinterop.annotations.JsType;

@JsType(isNative = true, namespace = JsPackage.GLOBAL)
public class Chart {

    public Chart(HTMLCanvasElement canvasElement, ChartConfiguration configuration) {
    }
}

--
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-tool...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/d85e1313-7a55-482f-b712-022cf6fef5acn%40googlegroups.com.

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/0b0ae3fa-2622-4762-b1e5-ec49bceca637n%40googlegroups.com.

Re: Wrapping Javascript library (chart.js) using JSInterop

<?xml version="1.0" encoding="UTF-8"?>
<project
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">

<modelVersion>4.0.0</modelVersion>
<groupId>com.jsinteropdemo</groupId>
<artifactId>jsinterop-demo</artifactId>
<packaging>gwt-app</packaging>
<version>0.1</version>

<properties>
<gwtVersion>2.8.1</gwtVersion>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<dependencies>
<dependency>
<groupId>com.google.gwt</groupId>
<artifactId>gwt-user</artifactId>
<version>${gwtVersion}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.google.gwt</groupId>
<artifactId>gwt-dev</artifactId>
<version>${gwtVersion}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.google.elemental2</groupId>
<artifactId>elemental2-core</artifactId>
<version>1.0.0-RC1</version>
</dependency>
<dependency>
<groupId>com.google.elemental2</groupId>
<artifactId>elemental2-dom</artifactId>
<version>1.0.0-RC1</version>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>net.ltgt.gwt.maven</groupId>
<artifactId>gwt-maven-plugin</artifactId>
<version>1.0-rc-9</version>
<extensions>true</extensions>
<configuration>
<classpathScope>compile</classpathScope>
<moduleName>com.jsinteropdemo.JSInteropDemo</moduleName>
<moduleShortName>JSInteropDemo</moduleShortName>
<warDir>${project.build.directory}/${project.build.finalName}</warDir>
<devmodeWorkDir>${project.build.directory}/${project.build.finalName}</devmodeWorkDir>
<startupUrls>
<startupUrl>
JSInteropDemo.html
</startupUrl>
</startupUrls>
<compilerArgs>
<arg>-generateJsInteropExports</arg>
</compilerArgs>
<useCompilerArgsForTests>true</useCompilerArgsForTests>
<codeserverArgs>
<arg>-generateJsInteropExports</arg>
</codeserverArgs>
<devmodeArgs>
<arg>-generateJsInteropExports</arg>
</devmodeArgs>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>3.0.0</version>
<configuration>
<failOnMissingWebXml>false</failOnMissingWebXml>
</configuration>
<executions>
<execution>
<id>war</id>
<phase>compile</phase>
<goals>
<goal>war</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>I have added a pom.xml file in the project attached below while running the command - mvn clean install I got an error - Compiling module com.jsinteropdemo.JSInteropDemo
[INFO]    [ERROR] Module has no entry points defined
Also attaching the screenshot of my project folder and default .XML file
On Sunday, September 11, 2022 at 5:59:36 PM UTC+5:30 m.conr...@gmail.com wrote:
Check your dependencies. That is an add-on library which must be included explicitly.

On Sun, Sep 11, 2022 at 5:10 AM Manas <manassriv...@gmail.com> wrote:
Hi All,

Good Day!

I'm new in GWT and I'm going through documentation and JSInterop. I'm facing issues with implementing chart.js using JSInterop. Can anyone guide me on how to resolve and keep things working? I am facing an error - "The import elemental2 cannot be resolved"

code is - 
package chartjs;

import elemental2.dom.HTMLCanvasElement; => facing error on this line
import jsinterop.annotations.JsPackage;
import jsinterop.annotations.JsType;

@JsType(isNative = true, namespace = JsPackage.GLOBAL)
public class Chart {

    public Chart(HTMLCanvasElement canvasElement, ChartConfiguration configuration) {
    }
}

--
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-tool...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/d85e1313-7a55-482f-b712-022cf6fef5acn%40googlegroups.com.

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/a7614089-bbf2-4cfa-be07-827d2f8ca96dn%40googlegroups.com.