Hello,
I need to create a tree whose nodes are panels containing widgets.
The internal nodes and leaf nodes are panels containing buttons and
text areas.
1) How do I do this?
I am wondering perhaps I should create
class MyTreeNodeUI extends TreeUI {
Panel node;
public MyTreeNodeUI() {
super(what to put here??);
node = new Panel();
node.add(new Button("push me!"));
}
}
class MyTreeNode extends AsyncTreeNode {
MyTreeNodeUI myNodeUI = new MyTreeNodeUI();
TreeUI getUI() {
return myNodeUI;
}
}
The TreeUI constructor takes JavaScriptObject - can someone please
explain what it is?
2) From the example, http://www.gwt-ext.com/demo/#sortMultiSelectTree
The data file is loader.setDataUrl("data/countries.xml");
Running in hosted mode, where do I put this file. Should it be here?
C:\ProjectDownloads\Hello_GWT-Ext\tomcat\webapps\ROOT\WEB-INF
Any help appreciated.
thanks,
Anil
(I am posting this in both gwt-ext forums because my posts have been
delayed in the google groups forums by over a day - I need to make
progress sooner than that! If you can reply to my email account also,
I will be able to get your reply sooner.)
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---