Hi all,

If the end-user input wrong date-type (eg., date format is incorrect, or for
'number of people' he types 'Q') the 'input' is fired and it shows the error
message.

I do that with the 'return input' and the jsp page (this is ajax-id) looks
like this:


<%@ taglib prefix="s" uri="/struts-tags" %>

udpate Fail<BR>
<s:fielderror />


the problem is that the user see something like this:
Update fail:
Invalid field value for field "Car.returnDate".

obviously returnDate is a field name in Car (that's great for the
developers); but my question is this: How can I show a nice understandable
error message such as: 'error with car return date'


thanks for any pointers
* once again, this is only when the data-type is incorrect. 

-- 
View this message in context: 
http://www.nabble.com/%3Cs%3Afielderror--%3E----how-to-provide-an-understandable-error-message-to-the-enduser--tp18144819p18144819.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to