This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes GWT and the fly likes Context Menu on Tree in GWT 2.0.3 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » GWT
Bookmark "Context Menu on Tree in GWT 2.0.3" Watch "Context Menu on Tree in GWT 2.0.3" New topic
Author

Context Menu on Tree in GWT 2.0.3

Ganesh Shirsat
Ranch Hand

Joined: Jan 10, 2010
Posts: 33

hi friends,

GWT 2.0.3
Feature :
1. it's not allow to select the tree using right click.


I am try to use the Context menu on tree or TreeItem using
onBrowserEvent event.
but there is no TreeItem is selected on right click of treeitem.


how to achieve the context menu features in GWT 2.0.3

thanks,
Ganesh Shirsat
Vivek Kumar
Greenhorn

Joined: Aug 05, 2006
Posts: 17
Proabably extend the TreeItem class if GWT 2.x allows you to do so
Ganesh Shirsat
Ranch Hand

Joined: Jan 10, 2010
Posts: 33

hi,

TreeItem class not support the onBrowserEvent method.

because it is inherited from UIObject and onBrowServerEvent is not a part of UIObject class.

thanks,
Ganesh Shirsat
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Context Menu on Tree in GWT 2.0.3
 
It's not a secret anymore!