Report validation error to interface?
Report validation error to interface?
- Subject: Report validation error to interface?
- From: Yung-Luen Lan <email@hidden>
- Date: Fri, 19 Jun 2009 19:45:38 +0800
Hi,
About data validation, there is a common pattern:
1. Present a form to let user input data.
2. Validate the data during input or when form submitted.
3. If there are invalid data, shows error message to each field.
To complete this task, I follow the approach that set the error
messages to a dictionary which was mentioned at:
http://www.stepwise.com/Articles/Technical/WOValidation.html
However, wolips complains that it cannot verify key beacsue the
keypath 'validationData' is a collection.
Also, use a bare string as a key isn't a good idea since tools cannot
verify the solidness of your code.
So, how do you deal with this situation?
Regards,
yllan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden