[richfaces-issues] [JBoss JIRA] Created: (RF-8521) context menu doesn't show with rightclickselection in FF OS X
Craig Bensemann (JIRA)
jira-events at lists.jboss.org
Wed Mar 10 22:43:42 EST 2010
context menu doesn't show with rightclickselection in FF OS X
-------------------------------------------------------------
Key: RF-8521
URL: https://jira.jboss.org/jira/browse/RF-8521
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: browser compatibility
Affects Versions: 3.3.3.CR1
Environment: Firefox 3.6, OS X 10.6.2
Reporter: Craig Bensemann
using rightclickselection=true and a context menu should allow the selected node to be set (the nodeSelectListener is called) and then the menu rendered.
The following code works fine in IE 7 & 8 and FF 3.6 in windows but does not work in OS X. In FF 3.6 OS X the nodeSelectListener is called but the menu does not render (note the broswer context menu also does NOT render in its place)
<rich:dragIndicator id="indicator" />
<rich:tree id="allCorrectiveActionsTree" toggleOnClick="true" ajaxChildActivationEncodeBehavior="none"
ajaxNodeSelectionEncodeBehavior="none" ajaxKeys="#{null}"
nodeSelectListener="#{manageCorrectiveActionsController.processSelection}"
dropListener="#{manageCorrectiveActionsController.dropListener}" dragIndicator="indicator"
rightClickSelection="true" ajaxSubmitSelection="true">
<rich:recursiveTreeNodesAdaptor roots="#{root}" nodes="#{caTreeNode.children}" var="caTreeNode">
<rich:treeNodesAdaptor nodes="#{caTreeNode.correctiveActions}" var="action">
<rich:treeNode dragType="leaf">
<h:outputText id="leafLabel" value="#{action.title}" />
<rich:dndParam name="label" value="#{action.title}" type="drag" />
<rich:contextMenu submitMode="none" attached="true">
<rich:menuItem value="#{messages.button_delete}" id="delete2"
onclick="#{rich:component('deleteConfirmationPanel')}.show();" />
</rich:contextMenu>
</rich:treeNode>
</rich:treeNodesAdaptor>
<rich:treeNode id="nodeNode" icon="/a4j/g/3_3_3.CR1images/iconFolder.gif"
iconLeaf="/a4j/g/3_3_3.CR1images/iconFolder.gif" acceptedTypes="node, leaf" dragType="node">
<h:outputText id="nodeLabel" value="#{caTreeNode.title}" />
<rich:dndParam name="label" value="#{caTreeNode.title}" type="drag" />
<rich:contextMenu id="nodeContextMenu" submitMode="none">
<rich:menuItem value="#{messages.manage_corrective_actions_add_new_node}" id="newNode"
onclick="#{rich:component('newNodePanel')}.show();" />
<rich:menuItem value="#{messages.manage_corrective_actions_add_new_leaf}" id="newLeaf"
onclick="#{rich:component('newLeafPanel')}.show();" />
<rich:menuItem value="#{messages.button_delete}" id="delete"
onclick="#{rich:component('deleteConfirmationPanel')}.show();" />
</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: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list