-
1. Re: file upload and form parameters
mazz Feb 11, 2009 1:55 AM (in response to mazz)BTW: I don't even need this page to re-render. I'd be happy if the file upload component just uploaded the content and didn't touch the page (i.e. I do not need this page to refresh itself).
-
2. Re: file upload and form parameters
andrei_exadel Feb 11, 2009 3:42 AM (in response to mazz)Hi,
The error caused by id parameter that fileupload component sends on each upload for internal purpose. See https://jira.jboss.org/jira/browse/RF-5960.
Before it wil be fixed you should keep in mind that unexpected id can be sent to server by upload component. Also, you can rename your id parameter to fix the problem. -
3. Re: file upload and form parameters
mazz Feb 11, 2009 8:54 AM (in response to mazz)You mean rich faces uses its own parameter called "id" and therefore does not allow any user applications to use "id" as a parameter name?
I would suggest the RichFaces impl be changed - "id" seems to me to be a very common parameter name almost every medium to large UI project would want to use. Rich Faces should try to avoid clashing with known or common names (perhaps use __id).
We have "id" all over the place and its used in common, resuable components so its not easy for me to change this one page's use of "id" - it would require my entire app to change :-( -
4. Re: file upload and form parameters
andrei_exadel Feb 11, 2009 10:40 AM (in response to mazz)Yes.
You right that this is a very common parameter. We need to rename it.
Please wait for the issue will be fixed. -
5. Re: file upload and form parameters
mazz Mar 12, 2009 10:21 AM (in response to mazz)Can you give me some pointers as to what file(s) I would need to change if I were to fix this myself? This is causing a bit more headache for me than I would like, so at a minimum I want to patch my own copy of RichFaces myself. If its easy enough, I could contribute the patch back.