Project Documentation
Foundation

Summary

Tag name: <s:validateUrl>
Validator class: org.apache.myfaces.custom.urlvalidator.UrlValidator
Tag class: org.apache.myfaces.custom.urlvalidator.ValidateUrlTag
validator id: org.apache.myfaces.validator.Url
A custom validator for url format, based upons Jakarta Commons.

Attributes

Name Type Supports EL? Description
allow2Slashes boolean Yes Allow two slashes in the path component of the URL.
allowAllSchemas boolean Yes Allows all validly formatted schemes to pass validation instead of supplying a set of valid schemes.
detailMessage String Yes alternate validation error detail message format string (use 'message' and 'detailMessage' alternatively)
message String Yes alternate validation error detail message format string (use 'message' and 'detailMessage' alternatively)
schemes String Yes CSV values that indicates the set of schemes to check this url. If allowAllSchemas = true, the values of this field are ignored. If no schemes are provided, default to this set ("http", "https", "ftp").
summaryMessage String Yes alternate validation error summary message format string