RE: Set the tree node to a given value

2007-09-14 Thread GEDA
gt; To: user@struts.apache.org > Subject: RE: Set the tree node to a given value > > > Thank you for the info. It was really helpful although I didn't use it :( > Because the expansion of the parents is not done automatically ... I see > no > reason for using this.

RE: Set the tree node to a given value

2007-09-14 Thread Manu Mahajan
14, 2007 11:20 AM To: user@struts.apache.org Subject: RE: Set the tree node to a given value Thank you for the info. It was really helpful although I didn't use it :( Because the expansion of the parents is not done automatically ... I see no reason for using this. Maybe in the future they

RE: Set the tree node to a given value

2007-09-13 Thread GEDA
Thank you for the info. It was really helpful although I didn't use it :( Because the expansion of the parents is not done automatically ... I see no reason for using this. Maybe in the future they will integrate the automatic expansion of the parents of selected node. Manu Mahajan-2 wrote: >

RE: Set the tree node to a given value

2007-09-13 Thread Manu Mahajan
Hi. For your specific question Try treeSelector = dojo.widget.byId('treeSelector_TREENAME') treeNode = dojo.widget.byId(ID) treeSelector.doSelect(treeNode); dojo.event.topic.publish("treeSelected", {node:dojo.widget.byId(treeSelection)}); Replace TREENAME with the name of your tree, ID is th