Re: Report validation error to interface?
Re: Report validation error to interface?
- Subject: Re: Report validation error to interface?
- From: Chuck Hill <email@hidden>
- Date: Fri, 19 Jun 2009 13:08:17 -0700
I gave a presentation on WebObjects Validation Next Generation at
WOWODC. However... the code is not 100% complete yet AND it needs an
example app and more documentation.
Soon...
Chuck
On Jun 19, 2009, at 12:56 PM, Yung-Luen Lan wrote:
Or is there any advanced technology in newer framework/runtime that
gives a beautiful solution?
regards,
yllan
On Fri, Jun 19, 2009 at 7:45 PM, Yung-Luen Lan<email@hidden>
wrote:
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
--
Chuck Hill Senior Consultant / VP Development
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
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