Re: GXT 2.3.1 to 4.0.2 migration

2022-08-06 Thread Lorenzo Aditi
do you mean to unzip the jar, modify the .java file, compile it and zip 
into a jar ?

Le vendredi 5 août 2022 à 22:19:54 UTC+2, Ricardo Serathiuk a écrit :

> Try to change the line 322 of ListField to this: 
> sb.append(m.get(prop).toString());
>
>
>
> Em sex., 5 de ago. de 2022 às 16:34, Lorenzo Aditi  
> escreveu:
>
>> Hello,
>>
>> We used to have GWT 2.4 & GXT 2.2.5 and we migrated to GWT 2.8.1.
>>
>> Now I am using GWT 2.8 with gxt 2.2.5 and Jdk 1.8.0_291, even when 
>> upgrading gxt-2.3.1a-gwt22 I still get this error when maven is building 
>> I got this error
>>
>> jar:file:/war/WEB-INF/lib/gxt-2.3.1a-gwt22.jar!/com/extjs/gxt/ui/client/widget/form/ListField.java'
>>  
>> > Line 322: The method append(boolean) is ambiguous for the type > 
>> StringBuffer
>>
>> After searching I thought it is imposible to resolve it, I don't have the 
>> right to edit the dependency. 
>>
>> So I decided to upgrade gxt to 4.0.2, am I right? 
>>
>> but when I did all the app broke, most of the Types don't exist anymore 
>> and the migration is not well documented on sencha website, they provide a 
>> unique page that doesn't help.
>>
>> Do you have  a tutorial or a guide that helps? or maybe a workaround?
>>
>> 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-tool...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/google-web-toolkit/2c202184-3d3b-4f3f-a547-50e488d4c244n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/google-web-toolkit/2c202184-3d3b-4f3f-a547-50e488d4c244n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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/a42bf19d-356a-4c4c-8b56-2992667d03f6n%40googlegroups.com.


Re: GXT 2.3.1 to 4.0.2 migration

2022-08-05 Thread Lorenzo Aditi
How to change that? It is a .class file (compiled) of a the gxt dependency. 
I don't have the hand over that. 
Do you mean creating a class that extends ListField and overriding that 
method? If so is there a way in java to tell the compiler to use the 
overidden class instead?

Le vendredi 5 août 2022 à 22:19:54 UTC+2, Ricardo Serathiuk a écrit :

> Try to change the line 322 of ListField to this: 
> sb.append(m.get(prop).toString());
>
>
>
> Em sex., 5 de ago. de 2022 às 16:34, Lorenzo Aditi  
> escreveu:
>
>> Hello,
>>
>> We used to have GWT 2.4 & GXT 2.2.5 and we migrated to GWT 2.8.1.
>>
>> Now I am using GWT 2.8 with gxt 2.2.5 and Jdk 1.8.0_291, even when 
>> upgrading gxt-2.3.1a-gwt22 I still get this error when maven is building 
>> I got this error
>>
>> jar:file:/war/WEB-INF/lib/gxt-2.3.1a-gwt22.jar!/com/extjs/gxt/ui/client/widget/form/ListField.java'
>>  
>> > Line 322: The method append(boolean) is ambiguous for the type > 
>> StringBuffer
>>
>> After searching I thought it is imposible to resolve it, I don't have the 
>> right to edit the dependency. 
>>
>> So I decided to upgrade gxt to 4.0.2, am I right? 
>>
>> but when I did all the app broke, most of the Types don't exist anymore 
>> and the migration is not well documented on sencha website, they provide a 
>> unique page that doesn't help.
>>
>> Do you have  a tutorial or a guide that helps? or maybe a workaround?
>>
>> 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-tool...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/google-web-toolkit/2c202184-3d3b-4f3f-a547-50e488d4c244n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/google-web-toolkit/2c202184-3d3b-4f3f-a547-50e488d4c244n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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/511d4224-aad8-4919-849b-5216da9b6ab1n%40googlegroups.com.


GXT 2.3.1 to 4.0.2 migration

2022-08-05 Thread Lorenzo Aditi
Hello,

We used to have GWT 2.4 & GXT 2.2.5 and we migrated to GWT 2.8.1.

Now I am using GWT 2.8 with gxt 2.2.5 and Jdk 1.8.0_291, even when 
upgrading gxt-2.3.1a-gwt22 I still get this error when maven is building I 
got this error

jar:file:/war/WEB-INF/lib/gxt-2.3.1a-gwt22.jar!/com/extjs/gxt/ui/client/widget/form/ListField.java'
 
> Line 322: The method append(boolean) is ambiguous for the type > 
StringBuffer

After searching I thought it is imposible to resolve it, I don't have the 
right to edit the dependency. 

So I decided to upgrade gxt to 4.0.2, am I right? 

but when I did all the app broke, most of the Types don't exist anymore and 
the migration is not well documented on sencha website, they provide a 
unique page that doesn't help.

Do you have  a tutorial or a guide that helps? or maybe a workaround?

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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/2c202184-3d3b-4f3f-a547-50e488d4c244n%40googlegroups.com.


Gxt/GWT Element has been deprecated

2022-07-30 Thread Lorenzo Aditi


I migrated to gwt 2.8.1 and I am using gxt 2.2.5

I am using the method onRender from 
com.exts.gxt.ui.client.widget.LayoutContainer:

*nRender*(com.google.gwt.user.client.Element parent, int index) 


The issue is that *com.google.gwt.user.client.Element *was deprecated and 
replaced by *com.google.gwt.dom.client.Element.*

So I am getting this warning Element in com.google.gwt.user.client has been 
deprecated 


Is there a workaround to avoid this warning and keep using gwt 2.8.1 & gxt 
2.2.5.

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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/bebb78bb-2390-4c9f-a4e8-a6b264eb382fn%40googlegroups.com.