You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2004/07/12 18:34:43 UTC
DO NOT REPLY [Bug 29679] -
Validator returns ActionErrors instead of ActionMessages
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=29679>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=29679
Validator returns ActionErrors instead of ActionMessages
------- Additional Comments From mailings@matthias-wessendorf.de 2004-07-12 16:34 -------
i played a bit on it,
did the following:
i added a second method for validation.
-->ActionMsgs doValidate()
so users can use their *good old* validate() with ActionErrorS
or the *new* doValidate()
in RequestProcessor i call 1. doValidate()
if is 'null' (user uses validate())
i call validate()
see files
btw. i changed signature of getValidationKey() to protected,
since it is only used in validate() (and now doValidate())
i didn't found an other clazz, that uses them.
regards
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org