wood burning stoves 2.0*
The moose likes Struts and the fly likes How to get ondblclick event on <s:treenode/> or <s:tree /> Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How to get ondblclick event on <s:treenode/> or <s:tree />" Watch "How to get ondblclick event on <s:treenode/> or <s:tree />" New topic
Author

How to get ondblclick event on <s:treenode/> or <s:tree />

Ram Mandavkar
Greenhorn

Joined: Mar 23, 2009
Posts: 16
Hello,

Is it possible to get ondblclick event (mouse event) with Tree or treenote tag(<s:treenode/> or <s:tree />)

Thanks
Ram Mandavkar
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

As per the S2 Ajax tag docs you'll probably need to use Dojo's even handling mechanism. On that page there's a link to the Dojo event handling mechanism docs.
Ram Mandavkar
Greenhorn

Joined: Mar 23, 2009
Posts: 16
David Newton wrote:As per the S2 Ajax tag docs you'll probably need to use Dojo's even handling mechanism. On that page there's a link to the Dojo event handling mechanism docs.


Thanks for reply

Can we give check box to each tree node as we are giving label to each tree nodes
if yes then
how to collect Checked tree notes out of all tree check box on submit event/button
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to get ondblclick event on <s:treenode/> or <s:tree />
 
Similar Threads
Problem in giving action on tree created using <s:tree> tag
Ajax tag is not working in strus2.1.6 with eclipse editor
getting a selected node in a tree
Linking a table to s:tree
Doubts In struts tree(tree attribute refers which tld file in struts)