Re: AW: AW: AW: AW: Client-side validation in CForms

2008-07-23 Thread Jeremy Quinn
Hi Chris On 22 Jul 2008, at 21:17, Christofer Dutz wrote: Hi ... well I never really used the I18N Stuff, I have to admit. Every time I got in contact with it (currently using Cocoon 2.1.10) I thought they were text files and no Xml files. OK. IMHO i18n is well worth getting your head around

AW: AW: AW: AW: Client-side validation in CForms

2008-07-22 Thread Christofer Dutz
, all client side stuff is useless, since we can't get the validator rules to our cforms-xslt. Chris -Ursprüngliche Nachricht- Von: Jeremy Quinn [mailto:[EMAIL PROTECTED] Gesendet: Montag, 21. Juli 2008 13:45 An: dev@cocoon.apache.org Betreff: Re: AW: AW: AW: Client-side validation

Re: AW: AW: AW: Client-side validation in CForms

2008-07-21 Thread Jeremy Quinn
Hi Chris Sorry it took me so long to reply. On 17 Jul 2008, at 16:48, Christofer Dutz wrote: Hi Jeremy, doesn't dojo load a i18n resource for the messages? It does, but this may be perceived as a problem because CForms users expect to supply all of their own i18n messages (and I personall

AW: AW: AW: Client-side validation in CForms

2008-07-17 Thread Christofer Dutz
n the Dojo0.4 Stuff. At the moment simply using Dojo and providing some very basic JavaScripts should be sufficient. Chris -Ursprüngliche Nachricht- Von: Jeremy Quinn [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 16. Juli 2008 12:45 An: dev@cocoon.apache.org Betreff: Re: AW: AW: Client

Re: AW: AW: Client-side validation in CForms

2008-07-16 Thread Jeremy Quinn
Hi Chris Thanks for this, it should speed me up a bit, I hope : ) Simple client-side validation based on datatype is working here. Dojo's constraints and filters are working too, so as a proof of concept it is working well. One issue(?): when a field is invalid (while you are typing) you w

AW: AW: Client-side validation in CForms

2008-07-14 Thread Christofer Dutz
Hi Jeremy, Doesn't dojo already add support for this? I have a custom xslt transforming integer-widgets to NumberTextBox dates to DateTextBox and so on. One thing I was working on was to support server side validation errors. The only solution I could come up for here, was to add a client side reg