William Huang wrote:
I have a form with some inputText, most are 'required' inputText..  While
testing, I purposely leave some required field empty to cause validation
error..   But when validation error appears, all the input field values
actually gets clean out as well.  Has anyone seen this problem?  By default
eventhough there are validation errrors, the input values should stay
unchanged in the input fields.

Yes, input field values should remain on validation failure, and they do for me.

The only thing I can think of is that the button (or link) you are clicking on has immediate=true, and it is returning a non-null navigation string. This will cause a new component tree to be created (which will not have the old values in it).

Otherwise I can't think of anything that may be causing this behaviour for you..


My environment is Myfaces 1.1.3, tomahawk 1.1.2, facelets 1.1.11, ajax4jsf
1.0.2, and seam 1.0.1

Reply via email to