This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
Linking a table to s:tree
Doubts In struts tree(tree attribute refers which tld file in struts)
Ajax tag is not working in strus2.1.6 with eclipse editor
Problem in giving action on tree created using <s:tree> tag
getting a selected node in a tree