File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login
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
 
 
subject: How to get ondblclick event on <s:treenode/> or <s:tree />