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:
: 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.
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
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
4 matches
Mail list logo