You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Guido Dubois (JIRA)" <de...@myfaces.apache.org> on 2010/09/02 14:53:54 UTC

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

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


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.


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

Posted by "Bernd Bohmann (JIRA)" <de...@myfaces.apache.org>.
    [ 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.


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

Posted by "Bernd Bohmann (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TOBAGO-912?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bernd Bohmann resolved TOBAGO-912.
----------------------------------

    Resolution: Fixed

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