[
https://issues.apache.org/jira/browse/MYFACES-2968?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Matthias Weßendorf updated MYFACES-2968:
----------------------------------------
Resolution: Invalid
Status: Resolved (was: Patch Available)
That's a bug in Mojarra - at least according to the spec:
section 7.3 (Application Actions)
Application action is not a formal JSF API; instead any method that
meets the following requirements may be used as an
Action by virtue of evaluating a method binding expression:
■ The method must be public.
■ The method must take no parameters.
■ The method must return Object.
The action method will be called by.......
> ApplicationImpl.createMethodBinding should create expression with signature:
> void method(params)
> ------------------------------------------------------------------------------------------------
>
> Key: MYFACES-2968
> URL: https://issues.apache.org/jira/browse/MYFACES-2968
> Project: MyFaces Core
> Issue Type: Bug
> Reporter: Martin Kočí
> Attachments: MYFACES-2968.patch
>
>
> This is probably not specified but mojarra does it:
> Application.createMethodBinding creates method expression with void return
> type. That makes sence because original purpose of MethodBinding is a
> reference to faces listeners and they are without return values mostly.
> o.a.m.ApplicationImpl creates value expression to method with Object return
> type.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.