On Thu, 2003-10-02 at 03:03, Carlos Ch�vez wrote: > Hello all, > > i am need write the expression: tasa_tasacambio > 0.0000 in the assert > validation, the data definition file is: > > <wd:field id="tasa_tasacambio" required="true"> > <wd:label>Tasa:</wd:label> > <wd:datatype base="decimal"> > <wd:convertor variant="number"> > <wd:patterns> > <wd:pattern>#.0000</wd:pattern> > </wd:patterns> > </wd:convertor> > <wd:validation> > <wd:assert test="tasa_tasacambio > 0.0000"/> > </wd:validation> > </wd:datatype> > </wd:field> > > the validation of the field empty work fine, but when is execute > the assert validation send the next message: > > An Error Occurred > > "resource://org/apache/cocoon/woody/flow/javascript/woody2.js", line 148: > uncaught JavaScript exception: at tasacambioform > (file:/home/desarrollo/tomcat/webapps/sga/docs/tasacambio/tasacambio.js, > Line 4) at (resource://org/apache/cocoon/woody/flow/javascript/woody2.js, > Line 148): java.lang.StackOverflowError > > org.apache.avalon.framework.CascadingRuntimeException: > "resource://org/apache/cocoon/woody/flow/javascript/woody2.js", line 148: > uncaught JavaScript exception: at tasacambioform > (file:/home/desarrollo/tomcat/webapps/sga/docs/tasacambio/tasacambio.js, > Line 4) at (resource://org/apache/cocoon/woody/flow/javascript/woody2.js, > Line 148): java.lang.StackOverflowError > > cause: java.lang.StackOverflowError > > full exception chain stacktrace[show] > > > i'am try to see the example of registration form of woody but > this not work too when the assert validation of confirmPassword field > is execute, the examplo present the empty page after thes execute. > > what is wrong?
I'd need to see the full stacktrace for this. However, for what you are trying to do here, I'd suggest using the "range" validation rule. -- Bruno Dumon http://outerthought.org/ Outerthought - Open Source, Java & XML Competence Support Center [EMAIL PROTECTED] [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
