[richfaces-issues] [JBoss JIRA] (RF-12283) Provide better way to specify maxRequestSize in rich:fileUpload (per component, not globally)

Jan Papousek (JIRA) jira-events at lists.jboss.org
Wed May 23 11:08:18 EDT 2012


     [ https://issues.jboss.org/browse/RF-12283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jan Papousek updated RF-12283:
------------------------------

    Issue Type: Feature Request  (was: Bug)

    
> Provide better way to specify maxRequestSize in rich:fileUpload (per component, not globally)
> ---------------------------------------------------------------------------------------------
>
>                 Key: RF-12283
>                 URL: https://issues.jboss.org/browse/RF-12283
>             Project: RichFaces
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: component-input
>    Affects Versions: 4.2.2.Final
>            Reporter: Jan Papousek
>
> Now, when developer wants to specify size limit for uploaded files, he/she has to specify 'rg.richfaces.fileUpload.maxRequestSize' context parameter in web.xml:
> {code}
> <context-param>
>     <param-name>org.richfaces.fileUpload.maxRequestSize</param-name>
>     <param-value>100000</param-value>
> </context-param>
> {code}
> It would be much better to provide an attribute (e.g. 'sizeLimit') for rich:fileUpload component. Why? Consider the following use cases:
> - different size limit for text files and images
> - different size limit depending on user's role

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list