"Christopher J. Kucera" <ckucera@globalcrossing.com> a ecrit:
Hello . . .
I was planning on using Javascript to do some data validation on a Zope site, but as it turns out, Javascript has big problems coping with the type-conversion tags (:string, :int, etc) and the ":records" tag. (I could certainly live without the type converters, but the ":records" tag would be quite handy.) I couldn't find a way to let Javascript reference any of the form items that used the ":whatever" construct.
Does anyone know a way around this?
Thanks in advance for any help! -CJ
Check the Zope list archives from January last year -- Andrew Snare posted a chunk of Javascript which leverages the conversion decorators to do typeful client-side validation. -- ========================================================= Tres Seaver tseaver@palladion.com 713-523-6582 Palladion Software http://www.palladion.com