Re: GWT Migration from 2.1.0 to 2.9.0

2022-09-28 Thread Mihai Stanciu
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  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
>>> 

Re: GWT Migration from 2.1.0 to 2.9.0

2022-09-27 Thread Pramod Patil
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  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
>> 

Re: GWT Migration from 2.1.0 to 2.9.0

2022-09-26 Thread Thomas Broyer
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
> 

Re: GWT Migration from 2.1.0 to 2.9.0

2022-09-26 Thread Pramod Patil
One more thing I noticed is, we have script tags in app.gwt.xml like below

Re: GWT Migration from 2.1.0 to 2.9.0

2022-09-26 Thread Pramod Patil
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.


other properties are present like







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  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+unsubscr...@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+unsubscr...@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

2022-09-26 Thread Jens
"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+unsubscr...@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.


GWT Migration from 2.1.0 to 2.9.0

2022-09-26 Thread Pramod Patil
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+unsubscr...@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.