[Seaside] Re: seaside Digest, Vol 105, Issue 31

Ted Wrinch ted.wrinch at gmail.com
Sat Sep 17 20:22:29 UTC 2011


I use JQuery Validate: http://docs.jquery.com/Plugins/validation. I've hooked into the Squeak pragma framework, rather than Magritte, to specify the validations that are required at the field level on my model (I couldn't use Magritte because I do lot's of other things than validation). JQV is very easy to use, stable (copyright is from 06) and in wide use (Microsoft have droped their own client side JavaScript validation framework in favour of JQV in their latest ASP.Net release). I still need to get server side validation working (maybe hook into Magritte) for when JavaScript is disabled in the browser. 

T

Ted Wrinch




On 13 Sep 2011, at 23:36, seaside-request at lists.squeakfoundation.org wrote:

> Message: 1
> Date: Tue, 13 Sep 2011 15:58:33 -0400
> From: Larry White <ljw1001 at gmail.com>
> Subject: [Seaside] how do you do validation?
> To: Seaside - general discussion <seaside at lists.squeakfoundation.org>
> Message-ID:
> 	<CAMdbzVh09OCUfCzpA+uP1AH7z=hUjz_YX2wptyew9tBXuyj-uA at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> I'm looking for a way to validate my form data.  I briefly considered
> Magritte, but get kind of frightened by the size of the framework (once
> bitten by rails, twice shy :).  Do people generally use that? Is there
> another framework that people recommend. Or does everyone roll their own?
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20110913/5cb08f87/attachment-0001.htm

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20110917/43e2bdeb/attachment.htm


More information about the seaside mailing list