On Aug 30, 2006, at 11:32 PM, Karl Guertin wrote:
> > On 8/30/06, Alexandre Futata <[EMAIL PROTECTED]> wrote: >> I'm looking for the basics in using JavaScript client-side >> validation. >> Should I use Mochikit, or something alike? > > I don't know offhand of any really good javascript validation tools, > so MochiKit works as well as anything at iterating through fields and > checking values. > > One of the blue-sky ideas I've had is to figure out how to use the > javascript pypy backend to convert python validation expressions into > javascript. You'd still have to build an engine to run the definitions > client side, but at least test translation could conceivably be > automatic. Hi Karl, If you want to go down that road I think I can be of some assistance. I've created an rpython2javascript egg that contains both pypy and it's py-lib dependancy. I've started writing a TurboGears template plugin and a RPythonSource widget (similar to JSSource) . This is all very much work in progress but at least it can kickstart your efforts. Since this is not ready for general consumption I would like to keep the url of the egg somewhat privaty for the time being. Please, mail me off-list if you are interested. >>> Eric > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears -~----------~----~----~----~------~----~------~--~---

