aspose file tools*
The moose likes Struts and the fly likes Tree node onclick is not working Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Tree node onclick is not working" Watch "Tree node onclick is not working" New topic
Author

Tree node onclick is not working

tania in
Greenhorn

Joined: Jul 05, 2011
Posts: 2
Dear Experts,

Dojo tree is wokring perfectly in my code, but I am not able to link any actions wiht the tree node. Here is my code

<s:textfield label="Name" name="name"/>

<sx:tree label="Kenan Packages" >
<s:iterator value="rpt_portal_plan_List" >
<sx:treenode label = "%{PACKAGE_NAME}" >
<s:iterator value="rpt_portal_hir_List" >
<sx:treenode label = "%{USAGE_TYPE}" >
<sx:treenode label = "%{ CALL_TYPE}">
<sx:treenode label = "%{MO}" >
<sx:treenode label = "%{ONET}" />


<sx:treenode label = "%{OFNET}" />

</sx:treenode>
<sx:treenode label = "%{MT}" >
<sx:treenode label = "%{ONET}" />
<sx:treenode label = "%{OFNET}" />
</sx:treenode>
</sx:treenode>
</sx:treenode>
</s:iterator>
</sx:treenode>
</s:iterator>
</sx:tree>

ONET and OFNET values are coming from the database. My pupose is to execute action on clicking on Child tree node ONNET adn OFNET. Please help !

Thanks,
tania :banghead:
tania in
Greenhorn

Joined: Jul 05, 2011
Posts: 2
Please please help !!!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tree node onclick is not working