Friday, August 5, 2022

Re: GXT 2.3.1 to 4.0.2 migration

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 <dhia.xd...@gmail.com> 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.

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

No comments:

Post a Comment