Hi Danilo,

Have you tried it with CommonsMultipartResolver from Spring, if so, what was 
the outcome? I havent tried this myself. My assumption is that it should work 
with the normal spring concepts. But it could be that the magnolia multipart 
wrapper needs to be bridged into Spring. If that is the case, then it should be 
added to Blossom.

// Tobias

On Sep 1, 2010, at 12:56 PM, Danilo Ghirardelli wrote:

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



----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to