I found out that I was wrong here. The problem that I was running into was that I had a table with text boxes in it and the table values were being forgotten (or more correctly, reverted to their old values (i..e it reverting it to the converted values rather than the submitted values)) when there was a validation error in a text box that came before the table. At the time, I was using the JSF RI. As far as I could tell, everything was coded properly, so, I decided to try it with MyFaces and sure enough, it worked fine with MyFaces (I'm glad I've figured out how to get MyFaces up and running now, it's great for debugging). So, I think it might be a bug in the JSF RI. I'm going to try to make a simplified test case and possibly submit it as a bug, but, I also want to try it with a JSF RI nightly build.

Jon

----- Original Message ----- From: "Jonathan Eric Miller" <[EMAIL PROTECTED]>
To: "MyFaces Discussion" <myfaces-user@incubator.apache.org>
Sent: Wednesday, March 16, 2005 3:50 PM
Subject: Re: Behavior of inputFileUpload when uploadMaxFileSize exceeded



One other thing that I noticed is that it appears that if you have fields after a file upload field and the file upload field has required="true", it seems to not store the values of the later fields in the bean if no value is specified for the file upload field. So, it forgets those values. I need to test it further though, to make sure it's not something that I'm doing. Has anyone else seen this problem?

Jon



Reply via email to