You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Johannes Geppert (JIRA)" <ji...@apache.org> on 2011/01/03 16:06:47 UTC
[jira] Commented: (WW-3395) Client Validation don't display Global
Messages
[ https://issues.apache.org/jira/browse/WW-3395?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12976770#action_12976770 ]
Johannes Geppert commented on WW-3395:
--------------------------------------
any plans to apply this patch?
> 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.
-
You can reply to this email to add a comment to the issue online.