- 
        1. Re: richfaces-3.2 - fileUploadratoo Mar 27, 2008 2:52 PM (in response to kaobiore)I think you need to add 
 uploadData="#{componentBean.files}"
 into the tag, don't ask me why...
- 
        2. Re: richfaces-3.2 - fileUploadkaobiore Mar 28, 2008 6:17 AM (in response to kaobiore)Hi Ratoo! 
 Thanks for your reply ...
 No, does not help.
 Really weired is that if a configure a nonexisting listener in the jsp - I don't even get an error message?!? The listener is not called.
 You have it working ... right? Could you please post you code?
 Thanks!
 -=k=-
- 
        3. Re: richfaces-3.2 - fileUploadratoo Mar 28, 2008 8:51 AM (in response to kaobiore)Hello! 
 Yes an it works...
 the code itself is huge enough...
 So I'll try to snip it...<rich:fileUpload fileUploadListener="#{AnySequenceForm.upload}" uploadData="#{AnySequenceForm.files}" maxFilesQuantity="1" immediateUpload="true" autoclear="true" listHeight="30px" fileEntryControlClass="UploaderEntryControlClass" uploadListClass="UploaderListClass"> <a4j:support event="onuploadcomplete" ajaxSingle="true" reRender="the_sequence_panel"/> </rich:fileUpload>
 And the bean itself (AnySequenceForm)public class AnySequenceForm { private List files; private UploadItem item; public List getFiles() { if (files == null) { files = new ArrayList(); } return files; } public void setFiles(List files) { this.files = files; } public void upload(UploadEvent event) throws IOException { item = event.getUploadItem(); ... } }
 DON'T forget<h:form enctype="multipart/form-data"> 
 and have a filter in web.xml<filter> <display-name>Ajax4jsf Filter</display-name> <filter-name>ajax4jsf</filter-name> <filter-class>org.ajax4jsf.Filter</filter-class> <init-param> <param-name>createTempFiles</param-name> <param-value>true</param-value> </init-param> <init-param> <param-name>maxRequestSize</param-name> <param-value>20000000</param-value> </init-param> </filter> <filter-mapping> <filter-name>ajax4jsf</filter-name> <servlet-name>Faces Servlet</servlet-name> <dispatcher>REQUEST</dispatcher> <dispatcher>FORWARD</dispatcher> <dispatcher>INCLUDE</dispatcher> </filter-mapping> 
 It works in RC5 (now gonna test in RC6)
 Cheers
- 
        4. Re: richfaces-3.2 - fileUploadmoldovan Mar 28, 2008 10:03 AM (in response to kaobiore)Hy guys! 
 I tested the code with CR6, file got uploaded but upload-listener didn't fire!
- 
        5. Re: richfaces-3.2 - fileUploadjuergen.zimmermann Mar 28, 2008 12:20 PM (in response to kaobiore)enctype should be omitted from <h:form> 
- 
        6. Re: richfaces-3.2 - fileUploadandrei_exadel Mar 28, 2008 12:24 PM (in response to kaobiore)"moldovan" wrote: 
 Hy guys!
 I tested the code with CR6, file got uploaded but upload-listener didn't fire!
 Tell me please if you use RF with myfaces or seam framework.
 In our invironment all fires.
- 
        7. Re: richfaces-3.2 - fileUploadmoldovan Mar 31, 2008 3:35 AM (in response to kaobiore)"Juergen.Zimmermann" wrote: 
 enctype should be omitted from <h:form>
 no difference between declaring the enctype - attribute or not. listener gets not fired!
- 
        8. Re: richfaces-3.2 - fileUploadmoldovan Mar 31, 2008 3:41 AM (in response to kaobiore)"andrei_exadel" wrote: "moldovan" wrote: 
 Hy guys!
 I tested the code with CR6, file got uploaded but upload-listener didn't fire!
 Tell me please if you use RF with myfaces or seam framework.
 In our invironment all fires.
 I'm using bundled JSF RI 1.2 Libs from JBoss 4.2.2.GA
- 
        9. Re: richfaces-3.2 - fileUploadilya_shaikovsky Apr 1, 2008 6:47 AM (in response to kaobiore)Is it still actual for you using GA version? 
- 
        10. Re: richfaces-3.2 - fileUploadmoldovan Apr 1, 2008 7:10 AM (in response to kaobiore)Yes, problem, that listener does not fire, still exists in the RF 3.2.0.GA Release! 
- 
        11. Re: richfaces-3.2 - fileUploadilya_shaikovsky Apr 1, 2008 9:32 AM (in response to kaobiore)our livedemo example(GA libs) using listener to process uploaded files... 
- 
        12. Re: richfaces-3.2 - fileUploadilya_shaikovsky Apr 1, 2008 9:32 AM (in response to kaobiore)anyway request sent to FU developer. 
- 
        13. Re: richfaces-3.2 - fileUploadandrei_exadel Apr 1, 2008 10:23 AM (in response to kaobiore)Please provide us more detailed info about the issue. We cannot reproduce this one. Can you post code (pages, beans, webxml) of your application. I think it will help us to find the problem. 
- 
        14. Re: richfaces-3.2 - fileUploadkaobiore Apr 1, 2008 11:52 AM (in response to kaobiore)Hi! 
 I've sent an email (to andrei and ilya) including a http-link to download a war-file for reproducing this mentioned behavior.
 Hope this helps.
 Cheers
 -=k=-
 
     
     
     
     
    