You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Lukasz Lenart (JIRA)" <ji...@apache.org> on 2011/03/07 15:22:59 UTC

[jira] Updated: (WW-3395) Client Validation don't display Global Messages

     [ https://issues.apache.org/jira/browse/WW-3395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lukasz Lenart updated WW-3395:
------------------------------

    Assignee: Johannes Geppert

> Client Validation don't display Global Messages
> -----------------------------------------------
>
>                 Key: WW-3395
>                 URL: https://issues.apache.org/jira/browse/WW-3395
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Other
>    Affects Versions: 2.1.8.1
>            Reporter: Johannes Geppert
>            Assignee: Johannes Geppert
>            Priority: Minor
>              Labels: client, validation
>         Attachments: utils.js.patch
>
>
> When I define a Validation like this:
> @Validations(requiredStrings = {
>     @RequiredStringValidator(fieldName = "loginuser", type = ValidatorType.FIELD, message = "Login User is required"), 
>     @RequiredStringValidator(fieldName = "loginpassword", type = ValidatorType.FIELD, message = "Password is required")
> }, expressions = {
>   @ExpressionValidator(expression = "loginpassword.trim().equals('test') == true", message = "Password must be test."),
> })
> The Form with XHTML Theme only display the RequiredString Messages but not the Expression Message.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira