I just gave the showcase example a try but got this exception :( :
[ERROR] Unable to load module entry point class
com.jpmc.helloworld.client.HelloWorld (see associated exception for
details)
com.google.gwt.core.client.JavaScriptException: (TypeError): Object
expected
number: -2146823281
description: Object expected
at com.gwtext.client.widgets.tree.ColumnTree.init(Native Method)
at com.gwtext.client.widgets.tree.ColumnTree.<clinit>(ColumnTree.java:
34)
at com.jpmc.helloworld.client.HelloWorld.onModuleLoad(HelloWorld.java:
70)
This is the line which throws the exception :
final ColumnTree coltree = new ColumnTree();
I have placed the JSON file in the client directory and it is in the
same location as the HelloWorld.java file.
My gwt-xml file looks like this :
<module>
<inherits name='com.google.gwt.user.User'/>
<inherits name='com.gwtext.GwtExt' />
<inherits name="com.google.gwt.json.JSON" />
<inherits name='com.google.gwt.user.theme.standard.Standard'/>
<!-- Specify the app entry point class. --
>
<entry-point class='com.jpmc.helloworld.client.HelloWorld'/>
<stylesheet src='HelloWorld.css' />
<stylesheet src="js/ext/resources/css/ext-all.css" />
<script src="js/ext/adapter/ext/ext-base.js" />
<script src="js/ext/ext-all.js" />
</module>
On Apr 3, 12:54 pm, Dariusz Borowski <[email protected]> wrote:
> You should also read the GWT documentation. It helps you to understand how
> things are working.
>
> e.g.http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5&s=goog...http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5&s=goog...
>
> D.
>
>
>
> On Fri, Apr 3, 2009 at 9:51 AM, Neo <[email protected]> wrote:
>
> > Hi,
> > I am developing an application using GWT-EXT - 2.0.5. I want to add a
> > ColumnTree to my panel.
> > But it looks like that a ColumnTree is not directly supported in GWT
> > EXT. In the Showcase examples I got the code for it, the css files and
> > the JSON code. I am really confused about how to put these pieces
> > together. How should I use this JSON code in my application ? Please
> > help me.- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"GWT-Ext Developer Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/gwt-ext?hl=en
-~----------~----~----~----~------~----~------~--~---