I simply can not recreate this problem that you are seeing.  I am using
the latest CVS HEAD version though.  Perhaps that is the difference.

Here is what I did to test....

I created a field like this:
<field name="Email" key="email" type="String"
validator="BooleanValidator" />

This should give me a String field which would normally use the
DefaultValidator.  This definition will force the BooleanValidator.

I put in a non-boolean value for the field and submitted the form to my
action.  When group.isAllValid() was called, the result was false.  The
form was redisplayed.  $group.Email.Value displayed exactly what I
entered.  The error message for the field was also set properly.

I tried again with a real boolean and everything worked as expected.


I think that my use of BooleanValidator was a good test for this because
it is a subclass of DefaultValidator just like your validators.  Try
using the BooleanValidator as a custom validator in your environment and
see what happens.  

Please let me know what the results are.

> -----Original Message-----
> From: Marc Lustig [mailto:[EMAIL PROTECTED]] 
> Sent: Tuesday, January 21, 2003 11:04 AM
> To: Marc Lustig
> Cc: [EMAIL PROTECTED]
> Subject: [SOURCE] Issue #TTWS37 - Intake: validator-attribute 
> not processed
> 
> 
> You can view the issue detail at the following URL: 
> <http://scarab.werken.com/scarab/issues/id/TTWS37>
> 
> Type :        Defect
> Issue Id :    TTWS37
> Reported by: Marc Lustig
>              axismundi - ([EMAIL PROTECTED])
> 
> Details:
> 
> Platform: PC
> Operating system: windows 2000
> Summary: Intake: validator-attribute not processed
> Description: <field name="xx" key="xx" type="xx" 
> validator="de.geoconnect.audiotex.validation.MyValidator">
> --> on form-validation MyValidator is not being processed
> 
> Status: New
> Priority: High
> Severity: Blocker
> Functional area: UI
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:turbine-dev-> [EMAIL PROTECTED]>
> For 
> additional commands, 
> e-mail: <mailto:[EMAIL PROTECTED]>
> 
> 

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to