[richfaces-issues] [JBoss JIRA] Resolved: (RF-10790) rich:menuItem "action" and "actionListener" attributes not evaluating MethodExpression correctly when passed by ui:param

Nick Belaevski (JIRA) jira-events at lists.jboss.org
Tue Mar 22 18:35:45 EDT 2011


     [ https://issues.jboss.org/browse/RF-10790?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nick Belaevski resolved RF-10790.
---------------------------------

    Resolution: Won't Fix


This not a bug, but Facelets limitation. MethodExpression can not be passed as ui:param, because it requires additional metadata that simple template you've created doesn't provide. 

You should redesign included template as composite component with proper cc:interface section containing cc:actionSource tag.  

> rich:menuItem "action" and "actionListener" attributes not evaluating MethodExpression correctly when passed by ui:param
> ------------------------------------------------------------------------------------------------------------------------
>
>                 Key: RF-10790
>                 URL: https://issues.jboss.org/browse/RF-10790
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component, component-menu
>    Affects Versions: 4.0.0.CR1
>            Reporter: Kip Moore
>              Labels: rich:menuItem
>
> A full report on this bug can be found in the linked forum post.  Basically, the "action" and "actionListener" attributes of rich:menuItem do not seem to be correctly evaluating a MethodExpression if it has been passed into it via a ui:param, as opposed to a direct backing bean MethodExpression reference. Superficially, this bug seems very similar to https://issues.jboss.org/browse/RF-10781 .

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the richfaces-issues mailing list