Details
-
Type: Improvement
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: EE-3.3.0.GA_P03, 4.1
-
Fix Version/s: EE-4.2.0.GA, EE-3.3.0.GA_P05
-
Component/s: ACE-Components
-
Labels:None
-
Environment:All
-
Assignee Priority:P2
-
Support Case References:Support Case #13672 - https://icesoft.my.salesforce.com/5007000001YH4VQ
-
Affects:Documentation (User Guide, Ref. Guide, etc.), Sample App./Tutorial
Description
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
r51402: ace:dateTimeEntry, added ability to define multiple ranges of min/max dates via the new 'selectableDateRanges' attribute
This is the TLD documentation for the 'selectableDateRanges' attribute, explaining how it works and other considerations:
Specifies a number of ranges of selectable dates. The value can be a number of date strings separated by commas, a List of Date objects or an Array of Date objects. These dates are taken in pairs to delimit a range; the first date in the pair is the start date, and the second date in the pair is the end date of that range. These dates are inclusive. If the first date of the pair is null, the empty string, or an invalid date, then the range will be considered to be from any date in the past up to its end date. Likewise, if the second date of the pair is null, an empty string, or an invalid date, then the range will be considered to be from its start date to any date in the future thereafter. If the dates are specified as strings, they are parsed according to the 'pattern' attribute of this component. Dates are taken literally, as they appear in the calendar, without regard for time zones. This attribute takes precedence over the 'mindate', 'maxdate', 'minDateTime', and 'maxDateTime' attributes. This attribute is only used to specify date ranges, not date-time ranges.
Verified ICEfaces 4 trunk r51643, Tomcat 8, MS Edge, IE 11, 10, 9, 8, FF 47, Chrome 57.