-
1. Re: Dynamic HtmlFileUpload doesn't work in 3.3.1 GA
kalomo Oct 5, 2009 3:35 AM (in response to kalomo)Does anyone have an idea?
-
2. Re: Dynamic HtmlFileUpload doesn't work in 3.3.1 GA
kalomo Oct 12, 2009 3:27 AM (in response to kalomo)Does anyone have an running fileupload configuration for RF 3.3.1 GA?
Do i have to use another filter config? -
3. Re: Dynamic HtmlFileUpload doesn't work in 3.3.1 GA
ilya_shaikovsky Oct 12, 2009 5:09 AM (in response to kalomo)try from the beginning the sample using simple page definitions.
if you will be able to build sample but will still not able to modify it for dynamical upload creation - share please the code using sendspace.com and we will investigate it. -
4. Re: Dynamic HtmlFileUpload doesn't work in 3.3.1 GA
kalomo Oct 12, 2009 5:41 AM (in response to kalomo)Hi Ilya,
thanx for your effort.
Here is a small example. I hope this will be enough for you to find out where my issue is located.
http://www.sendspace.com/file/u188xp
regards -
5. Re: Dynamic HtmlFileUpload doesn't work in 3.3.1 GA
ilya_shaikovsky Oct 13, 2009 7:23 AM (in response to kalomo)found the problem.. will update you after some investigation with jira link. thanks for your efforts and patience.
you could try to set fileUpload listener with methodBinding instead of using add. Should works then. -
6. Re: Dynamic HtmlFileUpload doesn't work in 3.3.1 GA
ilya_shaikovsky Oct 13, 2009 7:52 AM (in response to kalomo)FacesContext fc = FacesContext.getCurrentInstance(); fileUpload.setFileUploadListener(fc.getApplication(). createMethodBinding("#{fuListener.processUpload}", new Class[] {UploadEvent.class}));
workaround checked and works -
8. Re: Dynamic HtmlFileUpload doesn't work in 3.3.1 GA
kalomo Oct 13, 2009 9:18 AM (in response to kalomo)Hey Ilya,
i tried the workaround but for me it doesn't work :(
Can you please send me back the running example? Oder did you change any other parts of the code?createMethodBinding("#{fuListener.processUpload}", new Class[] {UploadEvent.class}));
"fuListener" is the uploadBean, right?
Regards -
9. Re: Dynamic HtmlFileUpload doesn't work in 3.3.1 GA
ilya_shaikovsky Oct 13, 2009 9:22 AM (in response to kalomo)oh.. yes, sorry forgot the faces-config declaration:
<managed-bean> <managed-bean-name>fuListener</managed-bean-name> <managed-bean-class>de.test.listener.SubformFileUploadListener</managed-bean-class> <managed-bean-scope>request</managed-bean-scope> </managed-bean>
-
10. Re: Dynamic HtmlFileUpload doesn't work in 3.3.1 GA
kalomo Oct 13, 2009 9:33 AM (in response to kalomo)thank you for the great support. Everything works now.