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.
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
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:
>
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
4 matches
Mail list logo