jQuery in Action, 3rd edition
The moose likes JSF and the fly likes context menyu not closing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "context menyu not closing" Watch "context menyu not closing" New topic

context menyu not closing

amarshi mohanty
Ranch Hand

Joined: Jul 01, 2008
Posts: 110
for the below code ,I m able to get the menu item value on contextmenu, but the response time is very slow.
i need to get the cut option enable first on click of any leaf node and when i click the next time then the paste menu will be enable .
but its not that first .
and sometimes the contextmenu is not even closing, the functionality works fine , but the component behaves very slowly.
is there anyway i can improve the performance of the component.


SCJP (97%), SCWCD (95%))
Brendan Healey
Ranch Hand

Joined: May 12, 2009
Posts: 218
You don't specify but it looks like you're using RF 3.3.* and to be honest I've only ever used RF 4. At a guess you need to
move the contextMenu outside the rich:tree, it doesn't need to be a child component because of the attachTo (renamed to
target in RF 4.2.0.CR1). That's the way you'd do it in RF 4 anyway.

amarshi mohanty
Ranch Hand

Joined: Jul 01, 2008
Posts: 110
Hi Brendan Healey,
I tried doing the same, but it doesn't make any difference.Is it a problem with the 3.3 version?

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 menyu not closing
It's not a secret anymore!