struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Giuliano Catrambone <giulia...@catrasoftware.it>
Subject struts-jquery-tree-tags issues
Date Thu, 12 Dec 2013 10:17:03 GMT
Hi,
     I'm trying to manage a tree using struts-jquery-tree.

     In my jsp I have:

<s:url var="menuTreeDataUrl" action="menuTreeData"/>
<sjt:tree
     id="jsonTree"
     href="%{menuTreeDataUrl}"
     onClickTopics="treeClicked"
     onClick="managenode()"
     />

     I implemented using java the menuTreeDataUrl action and the tree is 
filled
     correctly.

     My problem is that I do not know in the javascript managenode function
     how to get information regarding the current selected node, i.e. 
like his id,
     his text, ...

     Could someone tell me how to retrieve those information?
     Thanks
         Giuliano


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message