John Boyer
2014-10-11 02:20:44 UTC
Hi All:
Were using the latest version of Struts 2 in production and weve found that the client-side XML email validator always fails in the iOS 7.1 Safari browser. We havent tested it iOS 8 yet. However, removing the email validation from the following XML solved the problem.
<field name="user.email">
<field-validator type="email">
<param name="trim">true</param>
<message>Email address is invalid</message>
</field-validator>
</field>
Incidentally, the XML email validator works fine in Safari for Mac OS X.
Have a nice weekend.
Regards,
John Boyer
rodaxsoft.com
Were using the latest version of Struts 2 in production and weve found that the client-side XML email validator always fails in the iOS 7.1 Safari browser. We havent tested it iOS 8 yet. However, removing the email validation from the following XML solved the problem.
<field name="user.email">
<field-validator type="email">
<param name="trim">true</param>
<message>Email address is invalid</message>
</field-validator>
</field>
Incidentally, the XML email validator works fine in Safari for Mac OS X.
Have a nice weekend.
Regards,
John Boyer
rodaxsoft.com