1. #1
    Ext User
    Join Date
    Apr 2010
    Posts
    9
    Vote Rating
    0
    soha is on a distinguished road

      0  

    Default gxt charts : No source code is available for type

    gxt charts : No source code is available for type


    I am using gxt-2.1.1 with GWT 2.0 and running on Eclipse Galileo.

    My code compiles by the java compiler but generates the following error with the GWT compiler.

    [ERROR] Line 95: No source code is available for type com.extjs.gxt.charts.client.Chart; did you forget to inherit a required module?

    The import causes no problem: import com.extjs.gxt.charts.client.Chart;

    However, if I use the Chart type...or any other class from charts package, I get the above error.
    This is the code that generates the problem:
    Chart chart2 = new Chart("NewChart");

    Any help or hints is appreciated.

    PS: I used other ext gwt libraries and encounter this problem ONLY with charts.

  2. #2
    Sencha User
    Join Date
    Jan 2008
    Posts
    7
    Vote Rating
    0
    alacret is on a distinguished road

      0  

    Default


    on : yourapp.gwt.xml:

    <inherits name='com.extjs.gxt.charts.Chart' />

  3. #3
    Ext User
    Join Date
    Apr 2010
    Posts
    9
    Vote Rating
    0
    soha is on a distinguished road

      0  

    Smile RE:

    RE:


    Thanks
    It works now

  4. #4
    Sencha User
    Join Date
    Feb 2013
    Location
    Russian federation, Smolensk
    Posts
    38
    Vote Rating
    0
    Mike_javaJunior is on a distinguished road

      0  

    Default


    the main problem that it's quite impossible to find any documentation for GXT 2.. you can only find some odds and ends and try to gather them together. the things like that you are talking about we found by me only after looking throug doesns of forums.

Thread Participants: 2