]
Nick Belaevski resolved RF-6739.
--------------------------------
Fix Version/s: (was: Future)
Resolution: Won't Fix
use provided workaround
Context menu reappears when menu item is clicked
------------------------------------------------
Key: RF-6739
URL:
https://jira.jboss.org/jira/browse/RF-6739
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.0
Environment: Win XP, Java 6, Apache Tomcat 6, IE7
Reporter: Nils ten Hoeve
Assignee: Nick Belaevski
I have a tree that shows a context menu that is triggered by the onclick event of a tree
node. The context menu reappears on the location where a menu item is clicked (unwanted
behavior). It works fine when using the oncontextmenu event. The problem is that I need a
left-click to trigger the context menu.
<rich:tree switchType="client" selectedClass="active"
toggleOnClick="true">
<rich:recursiveTreeNodesAdaptor roots="#{menu.rootNode}"
var="node" nodes="#{node.children}">
<rich:treeNode>
<h:outputText value="#{node.class.simpleName}" />
<rich:contextMenu event="onclick" submitMode="ajax">
<rich:menuItem value="Test"
actionListener="#{menu.test}"></rich:menuItem>
</rich:contextMenu>
</rich:treeNode>
</rich:recursiveTreeNodesAdaptor>
</rich:tree>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: