[prev in list] [next in list] [prev in thread] [next in thread] 

List:       struts-user
Subject:    struts-jquery-tree-tags issues
From:       Giuliano Catrambone <giulianoc () catrasoftware ! it>
Date:       2013-12-12 10:17:03
Message-ID: 52A98D1F.2090801 () catrasoftware ! it
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic