Myfaces Commons Validator Tag Library 2.0.
Tag validateDateRestriction


Validate that the date entered is within a given restriction.

Handles setting a Validator instance on a EditableValueHolder. Will wire all attributes set to the Validator instance created/fetched. Uses the "binding" attribute for grabbing instances to apply attributes to.

Will only set/create Validator is the passed UIComponent's parent is null, signifying that it wasn't restored from an existing tree.



Tag Information
Tag Classorg.apache.myfaces.commons.validator.ValidateDateRestrictionTagHandler
TagExtraInfo ClassNone
Body Contentempty
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
forfalsefalsejava.lang.String{@inheritDoc}
invalidMonthsfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String[])
Specify the month which are invalid for your use case. The attribute takes a whitespace delimited list of months. Possible values are jan, feb, mar, apr, may, jun, jul, aug, sep, oct, nov, dec.
invalidDaysOfWeekfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String[])
Specify the weekdays which are invalid for your use case. The attribute takes whitespace delimited list of weekdays. Possible values are sun, mon, tue, wed, thu, fri, sat.
invalidDaysfalsefalsejavax.el.ValueExpression
(must evaluate to org.apache.myfaces.commons.validator.model.DateListProvider)
To specifiy a concrete List of Dates, use the invalidDays attribute and wire it to a DateListProvider implementation. This returns a list of dates, which are invalid.
summaryMessagefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
alternate validation error summary message format string
messagefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
alternate validation error detail message format string (use 'message' and 'detailMessage' alternatively)
detailMessagefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
alternate validation error detail message format string (use 'message' and 'detailMessage' alternatively)

Variables
No Variables Defined.


Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.