You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Michael Borgwardt (JIRA)" <de...@myfaces.apache.org> on 2011/02/11 16:41:57 UTC

[jira] Created: (MYFACES-3041) does not use converter for parameters

<h:outputFormat> does not use converter for parameters
------------------------------------------------------

                 Key: MYFACES-3041
                 URL: https://issues.apache.org/jira/browse/MYFACES-3041
             Project: MyFaces Core
          Issue Type: Bug
          Components: JSR-127
    Affects Versions: 2.0.3
            Reporter: Michael Borgwardt
            Priority: Minor


<h:outputFormat> simply does a toString() on its parameters, instead of properly using converters.

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

        

[jira] Commented: (MYFACES-3041) does not use converter for parameters

Posted by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/MYFACES-3041?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12997585#comment-12997585 ] 

Leonardo Uribe commented on MYFACES-3041:
-----------------------------------------

The spec javadoc of h:outputFormat says this:

"...If there are one or more accumulated parameter values, convert the list of parameter values to an Object array, call MessageFormat.format(), passing the value of this component as the first argument, and the array of parameter values as the second argument, and render the result. Otherwise, render the value of this component unmodified...."

It is not expected this component uses the converter for parameters. I don't see how this could work. I'll close this issue as invalid. Maybe this should be raised as a spec bug on:

http://java.net/jira/browse/JAVASERVERFACES_SPEC_PUBLIC

But at least one use case should be provided to support a change.

> <h:outputFormat> does not use converter for parameters
> ------------------------------------------------------
>
>                 Key: MYFACES-3041
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3041
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: JSR-127
>    Affects Versions: 2.0.3
>            Reporter: Michael Borgwardt
>            Priority: Minor
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> <h:outputFormat> simply does a toString() on its parameters, instead of properly using converters.

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