Re: Report validation error to interface?
Re: Report validation error to interface?
- Subject: Re: Report validation error to interface?
- From: Yung-Luen Lan <email@hidden>
- Date: Sat, 20 Jun 2009 03:56:51 +0800
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