class EnsPortal.Component.packageText extends %ZEN.Component.control
Input control specialized for handling date values.
This displays a text box as well as a button that displays a popup calendar.
When the user enters a value into this control, it will be converted into the closest matching date value or and invalid date message.
Setting the value property of this control, will bypass date matching.
The default css class used for the main element within this control. This is overridden by subclasses.parameter USECOMMONDIRECTORY = 1;
If true, then the include files generated for this component, are placed in the common /csp/broker directory and not the local /csp/*namespace* directory.
This is intended for use with packages that are mapped so as to be visible to every namespace.
All Zen classes within the same package must have the same value for this parameter. It is the developer's responsibility to ensure this.
Localized "invalid date" message displayed by control.property maxDate as %ZEN.Datatype.string;
Optional. If specified, this is the latest date allowed by the calendar. This is a date in the form "YYYY-MM-DD".property minDate as %ZEN.Datatype.string;
Optional. If specified, this is the earliest date allowed by the calendar. This is a date in the form "YYYY-MM-DD".property onshowPopup as %ZEN.Datatype.eventHandler;
onshowPopup event handler: This event is fired just before the popup calendar is displayed. It provides an opportunity to pass additional settings to the popup calendar.
The argument, settings, passed to this callback, is an object (associative array). Property values within this object are passed on as setting to the calendar control.
settings['gapWidth'] = '100px';
Subclasses implement this in order to render the static HTML contents of a component.
Display date selector for this control.