struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From marisol <mopr...@patagonia-tech.com>
Subject Email validation doesn't work
Date Thu, 01 Jun 2006 18:45:09 GMT

With Struts Validator Framework, the following mail is valid ===aaa@aaa.com.

I tried with the following but it doesn't work.

<field property="email" depends="required, mask, email">
    <msg name="mask" key="userRegistration.mailMask" />
    <arg0 key="userRegistration.email" />
        <var>
            <var-name>mask</var-name>
            <var-value>^[=]*$</var-value>
        </var>
</field>

Anyone knows if there's a bug place or it's me doing something wrong???

THANKS!
Marisol.



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message