[JBoss JIRA] Resolved: (RF-4076) ContextMenu: when attachTiming="immediate" menu incorrectly works with h:outputText
by Andrey Markhel (JIRA)
[ 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
15 years, 5 months
[JBoss JIRA] Work logged: (RF-4076) ContextMenu: when attachTiming="immediate" menu incorrectly works with h:outputText
by Andrey Markhel (JIRA)
[ https://jira.jboss.org/jira/browse/RF-4076?page=com.atlassian.jira.plugin... ]
Andrey Markhel logged work on RF-4076:
--------------------------------------
Author: Andrey Markhel
Created on: 04/Jun/09 11:48 AM
Start Date: 04/Jun/09 11:45 AM
Worklog Time Spent: 2 hours
Work Description: Done
Issue Time Tracking
-------------------
Remaining Estimate: 0 minutes
Time Spent: 2 hours
> 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: Andrey Markhel
> 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
15 years, 5 months