You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Cagatay Civici (JIRA)" <de...@myfaces.apache.org> on 2007/03/15 00:55:09 UTC

[jira] Resolved: (MYFACES-1562) ValueBinding's getType always returns object when trying to converter for class

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