19 Nov 2009 7:03 AM #1
GWT 2.0.0RC1 and GXT 2.0.1
I tried the forum search but I did not find anything...
My project compiles and runs perfectly with GWT 1.7 and GXT 2.0.1.
I just tested GXT 2.0.1 with GWT 2.0.0RC1 and get errors like
Validating newly compiled units
[ERROR] Errors in 'jar:file:.../war/WEB-INF/lib/gxt.jar!/com/extjs/gxt/ui/client/widget/Component.java'
[ERROR] Line 1417: Cannot reduce the visibility of the inherited method from Widget
Found type 'com.extjs.gxt.ui.client.event.TreeGridEvent'
Found type 'com.extjs.gxt.ui.client.event.GridEvent'
Found type 'com.extjs.gxt.ui.client.widget.grid.Grid'
[ERROR] Unable to resolve class com/extjs/gxt/ui/client/widget/BoxComponent
Did I miss something in the compiler configuration?
Is it planned to support GWT 2.0?
19 Nov 2009 7:04 AM #2
This is due to public api changes in GWT2. It should be expected that you cannot just switch major versions.
You will need to use GXT 2.0.3 or above.
19 Nov 2009 7:09 AM #3
I have already ordered a gxt subscription, but (due to processes in bigger companies it may take a while until you get the order...
As soon as I can download 2.0.4 or higher I will give it another try.
19 Nov 2009 7:16 AM #4
2.1 which will be there soon does also support it.
We adjusted the code right after the change for GWT hit the GWT svn.
19 Nov 2009 7:51 AM #5
is it planet to use this part available for GXT?
* Declarative User Interface: GWT's UiBinder now allows you to create
user interfaces mostly declaratively. Previously, widgets had to be
created and assembled programmatically, requiring lots of code. Now,
you can use XML to declare your UI, making the code more readable,
easier to maintain, and faster to develop. The Mail sample has been
updated to use the new declarative UI.This forum needs your help: you got hints from the community and now you have fixed your code? dont just reply with "now its fixed" or "i found the error"! please take the time to post also an detailed answer with the working code.
GreaseMonkey Script for a GXT-only Forum: it hides ExtJs here: New Posts • Search Results • Advanced Search form • Category overview http://www.extjs.com/forum/showthrea...041#post410041
19 Nov 2009 8:00 AM #6
This was discussed before. GXT 2.X cannot support this because of backward compatibility. The first version to look into this would be GXT 3.