As far as I see there is no way to set FileUploadBase#fileSizeMax at the
moment.

I see two improvements here:
1) add Form#fileSizeMax and pass it to MultipartServletWebRequest
2) add MultipartServletWebRequestImpl#newFileUpload(FileItemFactory) that
applications can override if they need to set some more custom settings

What do you think ?

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Wed, Oct 22, 2014 at 1:12 PM, Roman Grigoriadi <
[email protected]> wrote:

> Martin, sorry, but "maxSize" is not the "maxFileSize" (which I am asking
> for). See javadoc comments in FileUploadBase:
>
> *maxSize:*/The maximum size permitted for the complete request, as opposed
> to {@link #fileSizeMax}./
>
> *fileSizeMax:*/The maximum size permitted for a single uploaded file, as
> opposed to {@link #sizeMax}/
>
> My appologies for mispelling attribute name in original post.
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/org-apache-wicket-util-upload-FileUploadBase-fileSizeMax-tp4668001p4668033.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to