[richfaces-issues] [JBoss JIRA] Resolved: (RF-3748) contextMenu: "event" attribute should be extanded only for component, that contain rich:contextMenu.
Nick Belaevski (JIRA)
jira-events at lists.jboss.org
Thu Jun 19 10:39:37 EDT 2008
[ http://jira.jboss.com/jira/browse/RF-3748?page=all ]
Nick Belaevski resolved RF-3748.
--------------------------------
Resolution: Won't Fix
Not a bug, event is going upper in the component tree making context menu appear again.
Use:
1. Event.stop to prevent event propagation
2. Attach context menu to the sibling component, not the parent one
> contextMenu: "event" attribute should be extanded only for component, that contain rich:contextMenu.
> ----------------------------------------------------------------------------------------------------
>
> Key: RF-3748
> URL: http://jira.jboss.com/jira/browse/RF-3748
> Project: RichFaces
> Issue Type: Bug
> Affects Versions: 3.2.2
> Environment: IE, FF, Opera, Safari
> Reporter: Mikhail Vitenkov
> Assigned To: Nick Belaevski
>
> Step 1. Set event="onclick" inside rich:contextMenu tag:
> <rich:contextMenu id="contextMenuID" attached="#{contextMenu.attached}" ...>
> <f:param name="cmdParam" value="abc" />
> </rich:menuItem>
> <rich:menuSeparator />
> <rich:menuItem icon="/pics/info.gif" value="action" reRender="cmInfoID">
> <f:param name="cmdParam" value="action" />
> </rich:menuItem>
> ...
> </rich:contextMenu>
> Step 2. Navigate to the page, contained contextMenu.
> Step 3. Click on panel that contain tested component. - contextMenu appears.
> Step 4. Click on any item of rich:contextMenu.
> Actual behavior:
> contextMenu disappears & then appears again.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list