-
1. Re: rich:fileUpload problem after adding dynafaces(with UI)
nbelaevski Dec 7, 2009 9:24 AM (in response to jsfgeeks)Hi,
Have you changed something in web.xml to add DynaFaces? -
2. Re: rich:fileUpload problem after adding dynafaces(with UI)
jsfgeeks Dec 8, 2009 5:47 AM (in response to jsfgeeks)Hi nbelaevski,
Thanks for your support. I might got the point, what you want to say. After adding Simple JSF pages(with UI components), the change I found in the web.xml is, it has an uploadFilter within it like below.<filter> <filter-name>UploadFilter</filter-name> <filter-class>com.sun.rave.web.ui.util.UploadFilter</filter-class> <init-param> <description>The maximum allowed upload size in bytes. If this is set to a negative value, there is no maximum. The default value is 1000000.</description> <param-name>maxSize</param-name> <param-value>1000000</param-value> </init-param> <init-param> <description>The size (in bytes) of an uploaded file which, if it is exceeded, will cause the file to be written directly to disk instead of stored in memory. Files smaller than or equal to this size will be stored in memory. The default value is 4096.</description> <param-name>sizeThreshold</param-name> <param-value>4096</param-value> </init-param> </filter>
So it doesn't work for richfaces fileUpload. Before adding the UI pages to Richfaces project, there were not a fileUpload Filter in the web.xml. My problem is I want to run both the fileUploader (UI & Richfaces) together(In different pages). How, I don't know.
Can you help me?
Thanks again for your support,
JSF GEEKS -
3. Re: rich:fileUpload problem after adding dynafaces(with UI)
jsfgeeks Dec 8, 2009 5:51 AM (in response to jsfgeeks)Sorry for dummy,
Just want to clarify that, if I remove that uploadFilter, then Richfaces fileUpload component works properly, but the ui fileUpload component stops wroking. And if I don't remove that uploadFilter, then ui fileUpload component works properly, but Richfaces fileUpload component stops working.
Thanks again,
JSF GEEKS -
4. Re: rich:fileUpload problem after adding dynafaces(with UI)
nbelaevski Dec 8, 2009 7:22 AM (in response to jsfgeeks)Looks like you'll have to choose between uploads. Why do you need UI's version of upload?
-
5. Re: rich:fileUpload problem after adding dynafaces(with UI)
jsfgeeks Dec 8, 2009 7:46 AM (in response to jsfgeeks)Thanks again for your support, but my requirement is to keep both of them, right now.
So is it possible, to do so, or not ?
Thanks,
JSF GEEKS