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

Johannes Geppert updated WW-3395:
---------------------------------

    Attachment:     (was: utils.js)

> 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
>            Priority: Minor
>         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.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to