[
https://jira.jboss.org/jira/browse/RF-6927?page=com.atlassian.jira.plugin...
]
Nick Belaevski resolved RF-6927.
--------------------------------
Resolution: Rejected
Assignee: Alexander Dubovsky (was: Nick Belaevski)
Context menu is re-rendered and why it's hidden
Tree with contextMenu: browser context menu is shown instead of
rich:context menu after the 1th right click in case rightClickSelection=true and
ajaxSubmitSelection=true
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Key: RF-6927
URL:
https://jira.jboss.org/jira/browse/RF-6927
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.1
Environment: 3.3.1.BETA5
Reporter: Alexander Dubovsky
Assignee: Alexander Dubovsky
Source:
<h:form>
<rich:tree id="dTree" value="#{tree.data}"
rightClickSelection="true"
var="var" ajaxSubmitSelection="true">
<rich:treeNode>
<h:outputText id="text" value="#{var}">
<rich:contextMenu>
<rich:menuItem value="it-1"
action="#{tree.action1}"></rich:menuItem>
<rich:menuItem value="it-1"
action="#{tree.action2}"></rich:menuItem>
</rich:contextMenu>
</h:outputText>
</rich:treeNode>
</rich:tree>
</h:form>
# Open page. Expand tree.
# Make right click on any tree node
Result: browser context menu is shown
# Make right click for the same node again
Result: only now rich:contextMenu is shown
--
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