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

Leonardo Uribe resolved TOMAHAWK-1597.
--------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.1.11
         Assignee: Leonardo Uribe

Thanks to Michael Lyons for mention the documentation fix.

> Tld documentation on inputFileUpload - accept attribute
> -------------------------------------------------------
>
>                 Key: TOMAHAWK-1597
>                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-1597
>             Project: MyFaces Tomahawk
>          Issue Type: Bug
>          Components: File Upload
>    Affects Versions: 1.1.10
>            Reporter: Michael Lyons
>            Assignee: Leonardo Uribe
>            Priority: Trivial
>             Fix For: 1.1.11
>
>
> The JSF tablib doc for this attribute still states "This property appears to 
> have no purpose at all. It certainly has no documentation."
> It's actually a pretty important attribute for file upload.
> ex: <t:inputFileUpload  id="myUploadFile" accept="application/pdf,image/*" ...
> Maybe update to something like... "This attribute specifies a comma-separated 
> list of content types that a server processing this form will handle 
> correctly. User agents may use this information to filter out non-conforming 
> files when prompting a user to select files to be sent to the server (cf. the 
> INPUT element when type="file")." 
> (above was copied the above from w3c spec - 
> http://www.w3.org/TR/html401/interact/forms.html#adef-accept)
> Thanks,
> ...Mike
> ps. I'm using Tomahawk20-1.1.10 with myfaces 2.0.4 on tomcat 6.0.18. It 
> honors the 'accept' attribute. 

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

        

Reply via email to