myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rudy De Busscher (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Commented] (MYFACESTEST-52) ValueExpression mocks cannot return types for null references
Date Fri, 27 May 2011 09:26:47 GMT

    [ https://issues.apache.org/jira/browse/MYFACESTEST-52?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13040145#comment-13040145
] 

Rudy De Busscher commented on MYFACESTEST-52:
---------------------------------------------

Isn't it easier to just return the expectedType passed in as constructor parameter?

> ValueExpression mocks cannot return types for null references
> -------------------------------------------------------------
>
>                 Key: MYFACESTEST-52
>                 URL: https://issues.apache.org/jira/browse/MYFACESTEST-52
>             Project: MyFaces Test
>          Issue Type: Improvement
>          Components: Mock Objects
>            Reporter: Matt Benson
>         Attachments: MYFACESTEST-52.patch.txt
>
>
> For example, MyFaces cannot deduce the proper converter for a given UIComponent if the
target of its 'value' binding is null.  Delegating to ELResolver.getType() fixes this.

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

Mime
View raw message