You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Bernd Bohmann (JIRA)" <de...@myfaces.apache.org> on 2010/09/11 10:08:33 UTC

[jira] Commented: (TOBAGO-912) tc:validateFileItem define multiple contentType

    [ https://issues.apache.org/jira/browse/TOBAGO-912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12908290#action_12908290 ] 

Bernd Bohmann commented on TOBAGO-912:
--------------------------------------

You can use 'application/*' but a list of content types would be nice.

> tc:validateFileItem define multiple contentType
> -----------------------------------------------
>
>                 Key: TOBAGO-912
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-912
>             Project: MyFaces Tobago
>          Issue Type: New Feature
>          Components: Core
>    Affects Versions: 1.0.28
>            Reporter: Guido Dubois
>            Assignee: Bernd Bohmann
>             Fix For: 1.5.0-alpha-2, 1.0.29
>
>
> Is it possible - if yes, how to do this - or it woul'd be nice to be able to define multiple content types in tag <tc:validateFileItem> for file uploads like follows
>             <tc:validateFileItem maxSize="5242880" contentType="application/pdf, application/vnd.ms-excel" />

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.