I think it should show the value that failed validation so that the user sees 
what the 
failed validation is refering to.

--
Rob

@objectsource.org


---------- Original Message -----------
From: Robert Breidecker <[EMAIL PROTECTED]>
To: MyFaces Discussion <[email protected]>
Sent: Thu, 21 Apr 2005 12:52:22 -0700 (PDT)
Subject: What to show when field fails validation?

> Now that I've moved past my last problem... :)
> 
> If I have a field (inputText) that fails validation,
> should the value that is displayed when the page is
> displayed show the original value or the invalid value
> that was rejected by the validator?
> 
> The behavior I am seeing is that the original value is
> being displayed.
> 
> I have another numberic field that when it fails
> conversion, it still displays the invalid character I
> typed into it.
> 
> Thanks,
> Rob Breidecker
> 
>               
> __________________________________ 
> Do you Yahoo!? 
> Yahoo! Mail - Find what you need with new enhanced search. 
> http://info.mail.yahoo.com/mail_250
------- End of Original Message -------

Reply via email to