RE: form fields clearing on validation errors

2006-01-27 Thread Tom Butler
Issue Resolved - had error in the .jsp page (had a misplaced tag) -Original Message- From: Tom Butler [mailto:[EMAIL PROTECTED] Sent: Friday, January 27, 2006 10:43 PM To: 'MyFaces Discussion' Subject: RE: form fields clearing on validation errors I'm not sure how t:

RE: form fields clearing on validation errors

2006-01-27 Thread Tom Butler
: MyFaces Discussion Subject: Re: form fields clearing on validation errors You are correct. To maintain those values, try using the t:saveState tag, where the value attribute is set to the model value you wish to preserve across each request. I'm pretty sure there is a wiki article on this.

Re: form fields clearing on validation errors

2006-01-26 Thread Dennis Byrne
Byrne >-Original Message- >From: Tom Butler [mailto:[EMAIL PROTECTED] >Sent: Friday, January 27, 2006 12:28 AM >To: ''MyFaces Discussion'' >Subject: RE: form fields clearing on validation errors > >Ps I see that validation steps occur before the update mod

RE: form fields clearing on validation errors

2006-01-26 Thread Tom Butler
Ps I see that validation steps occur before the update model values (assume update model values invokes setters to updated properties in the backing bean), so if a validation error occurs, the model (backing bean) is not updated.  Based on this, I assume on the post-back that the form in th