myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cagatay Civici (JIRA)" <...@myfaces.apache.org>
Subject [jira] Resolved: (MYFACES-1562) ValueBinding's getType always returns object when trying to converter for class
Date Wed, 14 Mar 2007 23:55:09 GMT

     [ https://issues.apache.org/jira/browse/MYFACES-1562?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Cagatay Civici resolved MYFACES-1562.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.2.0-SNAPSHOT

Fixed by using valueexpression

> ValueBinding's getType always returns object when trying to converter for class
> -------------------------------------------------------------------------------
>
>                 Key: MYFACES-1562
>                 URL: https://issues.apache.org/jira/browse/MYFACES-1562
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: JSR-252
>    Affects Versions: 1.2.0-SNAPSHOT
>            Reporter: Cagatay Civici
>         Assigned To: Cagatay Civici
>             Fix For: 1.2.0-SNAPSHOT
>
>
> In _SharedRendererUtils findUIOutputConverter,
> ValueBinding vb = component.getValueBinding("value");
> if (vb == null) return null;
> Class valueType = vb.getType(facesContext);
> if (valueType == null) return null;
> if (Object.class.equals(valueType)) return null;    //There is no converter for Object
class
> vb.getType(facesContext) always returns java.lang.Object so conversion does not happen.
We should start replacing valuebinding stuff with valueexpression anyway.

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