META-INF.mcv.tld Maven / Gradle / Ivy
1.1.7
mcv
http://myfaces.apache.org/commons/validators
Myfaces Commons Validator Tag Library 1.2.
MyFaces subproject that contains validator to be used with any JSF 1.2
implementation.
validateCSV
org.apache.myfaces.commons.validator.ValidateCSVTag
empty
subvalidatorId
separator
false
summaryMessage
message
detailMessage
validateCompareTo
org.apache.myfaces.commons.validator.ValidateCompareToTag
empty
Specify the foreign component with the for={foreign-component-id} attribute.
Valid operator attribute values:
- equals: eq, ==, =,
- not equals: ne, !=,
- greater than: gt, >,
- less than: lt, <,
- greater than or equals: ge, >=,
- less than or equals: le, <=
If the comparator attribute is specified, the component values are compared
using the specified java.util.Comparator object.
If no comparator is specified, the component values must implement Comparable
and are compared using compareTo().
If either value or foreign value does not implement Comparable and no Comparator
is specified, validation always succeeds.
Put this validator on the bottom-most component to insure that
the foreign component's value has been converted and validated first.
However, this validator will attempt to convert and validate the foreign
component's value if this has not already occurred. This process may not
be identical to the standard JSF conversion and validation process.
The validation error message key is currently hardcoded as
"{0} value <{1}> must be {2} {3} value <{4}>"
where
- {0} is the parent component id,
- {1} is the parent component value,
- {2} is the operator name,
- {3} is the foreign component id, and
- {4} is the foreign component value.
The alternateOperatorName attribute can specify a custom operator name.
For example, use "after" instead of "greater than" when comparing dates.
The message attribute can specify an alternate validation error message key.
For example, use "{0} must be {2} {3}" to remove values from the message.
Known issues:
- Operator names should be localized.
- The default message key should be localized.
- Perhaps an exception should be thrown if the two values are not Comparable and no Comparator is specified.
]]>
for
operator
comparator
java.lang.Object
alternateOperatorName
summaryMessage
message
detailMessage
validateCreditCard
org.apache.myfaces.commons.validator.ValidateCreditCardTag
empty
amex
boolean
discover
boolean
mastercard
boolean
none
boolean
visa
boolean
summaryMessage
message
detailMessage
validateDateRestriction
org.apache.myfaces.commons.validator.ValidateDateRestrictionTag
empty
invalidMonths
java.lang.Object
invalidDaysOfWeek
java.lang.Object
invalidDays
org.apache.myfaces.commons.validator.model.DateListProvider
summaryMessage
message
detailMessage
validateRegExpr
org.apache.myfaces.commons.validator.ValidateRegExprTag
empty
pattern
false
patternExpression
summaryMessage
message
detailMessage
validateUrl
org.apache.myfaces.commons.validator.ValidateUrlTag
empty
schemes
allow2Slashes
boolean
allowAllSchemas
boolean
summaryMessage
message
detailMessage
validateEmail
org.apache.myfaces.commons.validator.ValidateEmailTag
empty
summaryMessage
message
detailMessage
validateISBN
org.apache.myfaces.commons.validator.ValidateISBNTag
empty
summaryMessage
message
detailMessage