Hybrid View

  1. #1
    Ext User
    Join Date
    Nov 2009
    Posts
    4
    Vote Rating
    0
    toedter_k is on a distinguished road

      0  

    Default GWT 2.0.0RC1 and GXT 2.0.1

    GWT 2.0.0RC1 and GXT 2.0.1


    Hi All,

    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

    and

    Resolving com.extjs.gxt.ui.client.event.TreeGridEvent
    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?

    Thanks

    Kai

  2. #2
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    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.

  3. #3
    Ext User
    Join Date
    Nov 2009
    Posts
    4
    Vote Rating
    0
    toedter_k is on a distinguished road

      0  

    Default


    Thanks Sven,

    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.

  4. #4
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    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.

  5. #5
    Ext User
    Join Date
    Sep 2008
    Location
    Germany
    Posts
    961
    Vote Rating
    0
    Arno.Nyhm is on a distinguished road

      0  

    Default


    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.
    Source: http://groups.google.com/group/googl...79ebe444b9126d
    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

  6. #6
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    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.