[Seaside] Field validation?
chad at clearwaterassociates.ca
Tue May 30 20:08:49 UTC 2006
Have a look at the store example in Seaside-Examples-Store.
Specifically, have a look at the class comments in WAStoreCreditCard.
They may be a good starting point to guide your thinking on
server-side model validation.
Hope this helps,
On 5/30/06, Boris Popov <boris at deepcovelabs.com> wrote:
> The round of questioning continues. How would I go about doing field
> validation nicely? Say, an amount field that contains a valid description of
> a numeric amount. I can think of three ways of doing it:
> or Scriptaculous?
> - Server side processing: could validate the fields in the form submit
> callback and return back to the form with some feedback
> - AJAX: could validate the field on the server as soon as user leaves it,
> any good examples of this?
> DeepCove Labs Ltd.
> 4th floor 595 Howe Street
> Vancouver, Canada V6C 2T5
> boris at deepcovelabs.com
> CONFIDENTIALITY NOTICE
> This email is intended only for the persons named in the message
> header. Unless otherwise indicated, it contains information that is
> private and confidential. If you have received it in error, please
> notify the sender and delete the entire message including any
> Thank you.
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
More information about the Seaside