ok, thank you for replying. I am going to study the gwt-dnd-tree source and modify it for this.
On Sep 3, 1:06 pm, "Sanjiv Jivan" <[EMAIL PROTECTED]> wrote: > GWT-Ext doesn't support adding an arbitrary Widget to a TreeNode. You'll > need to write custom JS code along with the TreeNodeUI class if you want any > non standard display of tree nodes. > > Sanjiv > > On Sun, Aug 31, 2008 at 4:29 PM, Anil <[EMAIL PROTECTED]> wrote: > > > no replies? > > > On Aug 30, 4:45 pm, Anil <[EMAIL PROTECTED]> wrote: > > > I see that GWT has TreeItem which has addItem(Widget); > > > GWT-Ext doesn't seem to have anything similar. > >http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/g... > > > Any suggestions for a solution? > > > thanks, > > > Anil > > > > On Aug 30, 10:07 am, Anil <[EMAIL PROTECTED]> wrote: > > > > > 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 -~----------~----~----~----~------~----~------~--~---
