[
https://issues.apache.org/jira/browse/TRINIDAD-1134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12607730#action_12607730
]
Gary Kind commented on TRINIDAD-1134:
-------------------------------------
The action attribute, as per the spec, is supposed to contain an navigation
case outcome. Therefore, whatever you put in as its value should evaluate to
an outcome. Workaround would be to have your bean return a navigation outcome
string.
> XmlMenuModel: action is interpreted as ValueExpression
> ------------------------------------------------------
>
> Key: TRINIDAD-1134
> URL: https://issues.apache.org/jira/browse/TRINIDAD-1134
> Project: MyFaces Trinidad
> Issue Type: Bug
> Reporter: Stephen Friedrich
>
> An action set on an ItemNode is evaluated as a value expression.
> Workround is to have a getter instead of an action-method-signature in the
> backing bean:
> public String getDoIt()
> for an itemNode like this:
> <itemNode id="companies" action="#{_companyList.doIt}"
> label="#{Output.COMPANIES}" ...
> See
> http://www.nabble.com/-Trinidad--Bug-in-XMLMenuModel---ItemNode---tt12376683.html#a12376683
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.