Am I the first one trying to submit a multipart form to a page
containing blossom paragraphs? I'm using spring 3 and there seems to be
something missing... Files uploaded in a form are recognized by Spring
with the interface "MultipartFile", but I don't see any implementation
of it in the Blossom module. Also, spring requires an implementation of
MultipartResolver and MultipartHttpServletRequest, and I don't see any
of those. Am I missing something big?
If I use this in a controller's method:
@RequestParam("myParam") MultipartFile myParam
the request is refused by the server (error 400), but if don't include
the mulipart param among other, everything works fine. I haven't found
any hint of multipart configuration for Blossom, so I'm asking what is
the trick. Should I try using the default commons-fileupload
implementation of spring even if multipart wrapping is already done in
Magnolia? Or that needs the Magnolia multipart wrapper be the
commons-filupload one and not the cos one? Or should I go and take that
parameter from MgnlContext (that only returns strings) or something like
that? Or simply nobody ever implemented this part of spring integration?
Thanks for any hint.
Regards, Danilo.
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------