Hello,

I've added the request method to the request wrapper in the CVS versions.
Beware though as the FileUpload filter has been replaced by an ExtensionsFilter, and so, the MultipartRequestWrapper has been moved to the org.apache.myfaces.component.html.util package.

Best regards,

Sylvain.

On Sat, 2004-12-11 at 14:14 +0000, Eirikur Hrafnsson wrote:
Hi all,

I just signed up for the mailinglist but my company, Idega Softare,  is 
now actively changing our webapplication framework(platform), IdegaWeb, 
to use JSF for its presentation layer and MyFaces as its JSF 
Implementation so thanks a lot for your excellent work and I hope we 
can in time contribute to the project ourselves.

So geting to the point of this email...
There seems to be a "missing" get method in MultipartRequestWrapper. It 
looks to me that the whole upload part in myfaces is a copy of the 
O'reilly multipart filter (why?) that we currently use ourselves and 
there we are using the method getFileNames() and we need a similar 
method in MultipartRequestWrapper.

The method we need would simply return the HashMap fileList in the 
MultipartRequestWrapper.
The reason we need that method is because we have our own uploader 
outside of JSF that needs to work for backward compatability and we 
cannot use getFileItem(String) because we don't now the name of the 
parameter!

Can somebody add a method like getFileItems(){ return fileItems } to 
MultipartRequestWrapper?

Also I would like to point out that on http://www.myfaces.org the 
documentation for the fileInput component states that you need to have 
the O'reilly filter set up and does not mention the myfaces 
multipartfilter at all.

Best Regards

Eirikur S. Hrafnsson, [EMAIL PROTECTED]
Chief Software Engineer
Idega Software
http://www.idega.com

Reply via email to