|
From: Anthony E. <me...@an...> - 2002-03-21 18:38:13
|
Yes, I see that there is a problem...I am troubleshooting it now and
will let you know when the fix is in the CVS.
-Anthony
> -----Original Message-----
> From: for...@li...
> [mailto:for...@li...] On
> Behalf Of Dan Bachelder
> Sent: Tuesday, March 19, 2002 3:36 PM
> To: FormProc Developer List
> Subject: [FormProc-developer] REValidator
>
>
> REValidator doesn't appear to be working the way it used to...
>
> I have the following:
>
> ------ formproc.xml ---------
>
> <shared-validator name="notempty">
> <validator type="expression">
> <pattern>.{1,}</pattern>
> <error lang="en">Field must not be empty</error>
> </validator>
> </shared-validator>
>
> ------ userform.xml ---------
>
> <element name="username">
> <validator type="shared" name="notempty"/>
> <message lang="en">username must not be empty.</message>
> </element>
>
>
> ------ my log -------------
>
> [DEBUG]:org.formproc.validation.REValidator - Validating form
> data username with value of test
> [DEBUG]:org.formproc.validation.REValidator - The pattern is:
> [DEBUG]:org.formproc.validation.REValidator - Form data value
> NOT matched.
>
>
> so.. REValidator doesn't seem to have my expression in it...
> is my configuration wrong?
>
> thanks,
> dan
>
>
>
> _______________________________________________
> FormProc-developer mailing list
> For...@li...
> https://lists.sourceforge.net/lists/listinfo/formproc-developer
>
|