[richfaces-issues] [JBoss JIRA] Commented: (RF-3187) 3.2.1CR1: contextMenu stops working
Vladislav Baranov (JIRA)
jira-events at lists.jboss.org
Wed Apr 30 08:56:18 EDT 2008
[ http://jira.jboss.com/jira/browse/RF-3187?page=comments#action_12411312 ]
Vladislav Baranov commented on RF-3187:
---------------------------------------
I have found the origin of your issue. It's not a <rich:contextMenu> bug. Try to set id of your <h:outputText> component or move <rich:contextMenu> out from <h:outputText> component to <h:column> component (like in examples).
Example 1:
<h:column>
<h:outputText id="myId" value="#{kunde.nachname}">
<rich:contextMenu event="oncontextmenu" attached="true" submitMode="server">
<rich:menuItem value="#{i18n['contextMenu.details']}" action="#{kv.details}"/>
...
</rich:contextMenu>
</h:outputText>
</h:column>
Example2:
<h:column>
<h:outputText value="#{kunde.nachname}" />
<rich:contextMenu event="oncontextmenu" attached="true" submitMode="server">
<rich:menuItem value="#{i18n['contextMenu.details']}" action="#{kv.details}"/>
...
</rich:contextMenu>
</h:column>
> 3.2.1CR1: contextMenu stops working
> -----------------------------------
>
> Key: RF-3187
> URL: http://jira.jboss.com/jira/browse/RF-3187
> Project: RichFaces
> Issue Type: Bug
> Affects Versions: 3.2.1
> Environment: RF 3.2.1CR1
> Reporter: Juergen Zimmermann
> Assigned To: Tsikhon Kuprevich
> Priority: Critical
> Fix For: 3.2.2
>
>
> rich:contextMenu doesn't work any more. It was no problem with 3.2.0SR1.
> The tag looks like:
> <h:form
> <a4j:region>
> <rich:dataTable
> <h:column
> <h:outputText
> <rich:contextMenu event="oncontextmenu" attached="true" submitMode="server">
> <rich:menuItem value="#{...}" action="#{...}"/>
--
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