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

Dora Rajappan commented on MYFACES-3716:
----------------------------------------

standard-faces-config has renderer entry only for InputFile  and not for 
javax.faces.File
<renderer>
        <component-family>javax.faces.Input</component-family>
        <renderer-type>javax.faces.InputFile</renderer-type>
        
<renderer-class>org.apache.myfaces.renderkit.html.HtmlInputFileRenderer</renderer-class>
      </renderer>
      
      2.2 spec says
      Represents an HTML input element of type file.

By default, the rendererType property must be set to "javax.faces.File". This 
value can be changed by calling the setRendererType() method.

HtmlInputFileTag sets rendertype to File and this finds no renderer

Should the standard-faces-config file renderer entry to be updated with File or 
change the default rendertype to InputFile in _HtmlInputFile?

WARNING: No Renderer found for component {Component-Path : [Class: javax.faces.c
omponent.UIViewRoot,ViewId: /greeting.jspx][Class: javax.faces.component.html.Ht
mlForm,Id: helloForm][Class: javax.faces.component.html.HtmlInputFile,Id: file]}
 (component-family=javax.faces.Input, renderer-type=javax.faces.File) 
                
> Implement h:inputFile
> ---------------------
>
>                 Key: MYFACES-3716
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3716
>             Project: MyFaces Core
>          Issue Type: Task
>          Components: JSR-344
>            Reporter: Leonardo Uribe
>
> Implement h:inputFile as described in the spec

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to