• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Report validation error to interface?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Report validation error to interface?
      • From: Yung-Luen Lan <email@hidden>
References: 
 >Report validation error to interface? (From: Yung-Luen Lan <email@hidden>)
 >Re: Report validation error to interface? (From: Yung-Luen Lan <email@hidden>)

  • Prev by Date: Re: strange inheritance problem
  • Next by Date: Re: strange inheritance problem
  • Previous by thread: Re: Report validation error to interface?
  • Next by thread: Re: Report validation error to interface?
  • Index(es):
    • Date
    • Thread