[
https://jira.jboss.org/jira/browse/RF-4076?page=com.atlassian.jira.plugin...
]
Andrey Markhel resolved RF-4076.
--------------------------------
Resolution: Rejected
Assignee: Alexander Dubovsky (was: Andrey Markhel)
It is not a bug.
When first context menu rendered, wrapped div yet not constructed so javascript error
arised and first contextmenu not created. When second context-menu rendered all markup is
accessible, so his creation successfull. So only one context-menu is created and showed in
both cases. You must use attaching='onload' instead
ContextMenu: when attachTiming="immediate" menu incorrectly
works with h:outputText
-----------------------------------------------------------------------------------
Key: RF-4076
URL:
https://jira.jboss.org/jira/browse/RF-4076
Project: RichFaces
Issue Type: Bug
Components: component-menu
Affects Versions: 3.2.2
Reporter: Nick Belaevski
Assignee: Alexander Dubovsky
Priority: Minor
Fix For: 3.3.2.CR1
Time Spent: 2 hours
Remaining Estimate: 0 minutes
<h:outputText id="text1" value="Some text with context menu1">
<cm:contextMenu attachTiming="immediate">
<mc:menuItem value="a">
<f:param name="cmdParam" value="a" />
</mc:menuItem>
</cm:contextMenu>
</h:outputText>
<h:outputText id="text2" value="Some text with context menu2">
<cm:contextMenu attachTiming="immediate">
<mc:menuItem value="b">
<f:param name="cmdParam" value="b" />
</mc:menuItem>
</cm:contextMenu>
</h:outputText>
Click first, then second text. Both shows "b" menu item, but the first should
show "a"
--
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