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 2003/05/13 21:32:16 UTC
DO NOT REPLY [Bug 19903] -
Field considered valid if no ActionError created
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19903>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19903
Field considered valid if no ActionError created
mohankishore@yahoo.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|Normal |Enhancement
------- Additional Comments From mohankishore@yahoo.com 2003-05-13 19:32 -------
Think the idea does merit an enhancement. Maybe just the documentation for the
immediate release...
But in the longer run, I would recommend a Utility method (in
o.a.s.validator.Resources?), say: ActionErrors getActionErrors(ValidatorResults
results, HttpServletRequest request), and use the same in Validator Forms. The
method will generate the ActionErrors based on invalid ValidatorResult objects
(which can provide the Field and ValidatorAction objects).
IMHO, this provides a cleaner handoff between Validator and Struts...
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org