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/04/27 11:08:52 UTC
DO NOT REPLY [Bug 28618] New: -
validateUrl() is missing in validator-rules.xml
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=28618>.
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=28618
validateUrl() is missing in validator-rules.xml
Summary: validateUrl() is missing in validator-rules.xml
Product: Struts
Version: Nightly Build
Platform: Other
OS/Version: Windows NT/2K
Status: NEW
Severity: Normal
Priority: Other
Component: Validator Framework
AssignedTo: dev@struts.apache.org
ReportedBy: mailings@matthias-wessendorf.de
In validator-rules.xml, shipped with the nightly build,
there is no definition for validateUrl()-method.
and no "hint" for errors.url, for i18n-file.
i added that <sniplet/> in the validator-rules.xml of my app
and it works
<validator name="url"
classname="org.apache.struts.validator.FieldChecks"
method="validateUrl"
methodParams="java.lang.Object,
org.apache.commons.validator.ValidatorAction,
org.apache.commons.validator.Field,
org.apache.struts.action.ActionMessages,
javax.servlet.http.HttpServletRequest"
depends=""
msg="errors.url"/>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org