aspose file tools
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
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Reply 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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: How to get ondblclick event on <s:treenode/> or <s:tree />
 
Similar Threads
Doubts In struts tree(tree attribute refers which tld file in struts)
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