myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerhard Petracek (JIRA)" <...@myfaces.apache.org>
Subject [jira] Commented: (MYFACES-2968) ApplicationImpl.createMethodBinding should create expression with signature: void method(params)
Date Wed, 10 Nov 2010 16:14:15 GMT

    [ https://issues.apache.org/jira/browse/MYFACES-2968?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12930636#action_12930636
] 

Gerhard Petracek commented on MYFACES-2968:
-------------------------------------------

+1 for fixing the spec.!

restricting it to object doesn't make sense. if you don't have to navigate with an action
method, it's easier to use void (instead of returning null).

> 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.


Mime
View raw message