[richfaces-issues] [JBoss JIRA] Commented: (RF-2448) org.ajax4jsf.Filter doesn't include MultipartFilter after RF-2396

Andrei Markavtsov (JIRA) jira-events at lists.jboss.org
Tue Mar 11 06:00:59 EDT 2008


    [ http://jira.jboss.com/jira/browse/RF-2448?page=comments#action_12402083 ] 
            
Andrei Markavtsov commented on RF-2448:
---------------------------------------

Juergen, 
file upload component does not require to be placed into multipart form.  
JS code setups form's encoding during upload processing. 
But anyway you can define form as multipart. Is should not influence on file uploading by component. 
Only one note: form's action will not be worked in this case, because JSF engine can not process multipart requests. So multipart request will be skipped and no action & listeners will be invoked.




> org.ajax4jsf.Filter doesn't include MultipartFilter after RF-2396
> -----------------------------------------------------------------
>
>                 Key: RF-2448
>                 URL: http://jira.jboss.com/jira/browse/RF-2448
>             Project: RichFaces
>          Issue Type: Bug
>    Affects Versions: 3.2.0
>         Environment: richfaces-ui-3.2.0-20080310.045513-93
>            Reporter: Juergen Zimmermann
>         Assigned To: Andrei Markavtsov
>            Priority: Critical
>             Fix For: 3.2.0
>
>
> In 3.2.0CR1 there was MultipartFilter for file upload. It worked (although there are some bugs which are registered in JIRA).
> After RF-2396 I changed web.xml as follows:
> * Remove <filter> for MultipartFilter
> * Remove the according <filter-mapping>
> * Move the 2 <init-param> with maxRequestSize and createTempFiles to org.ajax4jsf.Filter
> Result: upload doesn't work any more.
> * The action method for <h:form enctype="multipart/form-data"> isn't invoked where <rich:fileUpload> is contained.
> * I also tried an action listener method which isn't invoked either.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the richfaces-issues mailing list