Matt Bathje <[EMAIL PROTECTED]> wrote on 09/10/2004 12:27:10 PM:

> [EMAIL PROTECTED] wrote:
>
> >
> >
> >
> > I pulled this old thread off the archives in  order to give context to
a
> > couple of questions....
> >
> >
> >
> >>And if you want to do a javascript validation on it as well, don't
forget
> >>to set the <var-jstype> attribute to be regexp in the validation.xml.
> >
> >
> > Is this a valid tag?  I don't see any reference to it in the dtd.
> >
>
> You must be looking at an old DTD. The 1.1.3 and 1.2.0 versions of the
> validator DTD both have this tag.
>

Yep.  Had an old one.  Thanks.


> For a MASK validation, you don't need to set the var-jstype attribute.
> This looks like you are quoting me (at least I remember saying this...)
> and I think when I said that I was talking about a custom validator and
> not about the builtin MASK validator. For MASK you can just use var-name
> and var-value safely.
>
>

Yep.  I'm trying to validate a field with 3 masks so I need to do some
customization.


> snip of the part I don't have an answer to.
>
>
> >>
> >>
> >>
> >>----- Original Message -----
> >>From: "Berke, Wayne [IT]" <[EMAIL PROTECTED]>
> >>To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> >>Sent: Wednesday, April 21, 2004 2:03 PM
> >>Subject: Validation with 2 masks?
> >>
> >>
> >>I'd like to a property validation against 2 different regular
expressions
> >>with 2 different error messages.
> >>
> >>This seems like a fairly common use.  Is there a best practice for it?
> >>
> >>Wayne
> >>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >>
> >>
> >>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


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

Reply via email to