struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johannes Geppert (JIRA)" <j...@apache.org>
Subject [jira] Commented: (WW-3395) Client Validation don't display Global Messages
Date Thu, 15 Apr 2010 10:04:49 GMT

    [ https://issues.apache.org/jira/browse/WW-3395?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12857255#action_12857255
] 

Johannes Geppert commented on WW-3395:
--------------------------------------

a patch is now attached.

> 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

        

Mime
View raw message