DomOafDatePicker¶
This behavior pattern implements standard behavior for Oracle Application Framework (OAF) Date Picker control.
Extends HTMLObject
Extends SeSSimulatedObject
Behavior Pattern: DomOafDatePickerBehavior
Property Summary¶
| Property | Description | Getter | Setter |
|---|---|---|---|
| IsOpen | Returns whether the date picker popup is currently visible. | GetIsOpen | |
| Month | Gets or sets the currently displayed month in the popup calendar. | GetMonth | SetMonth |
| SelectedDay | Gets the currently highlighted day number in the popup calendar. | GetSelectedDay | |
| Text | Gets or sets the current date value in the input field. | GetText | SetText |
| Year | Gets or sets the currently displayed year in the popup calendar. | GetYear | SetYear |
Action Summary¶
| Action | Description |
|---|---|
| DoClose | Closes the date picker popup calendar. |
| DoNextMonth | Navigates to the next month in the calendar popup. |
| DoOpen | Opens the date picker popup calendar. |
| DoPrevMonth | Navigates to the previous month in the calendar popup. |
| DoSelectDate | Selects a specific day in the currently displayed month. |
| DoSetText | Sets the date by typing directly into the input field. |
Property Detail¶
IsOpen¶
Returns whether the date picker popup is currently visible.
Type: boolean
Accessors: GetIsOpen
value = SeS('SomeDomOafDatePicker').GetIsOpen()
Month¶
Gets or sets the currently displayed month in the popup calendar. Accepts month name (e.g., 'January') or zero-based index (0-11).
Type: string|number
Accessors: GetMonth, SetMonth
value = SeS('SomeDomOafDatePicker').GetMonth()
SeS('SomeDomOafDatePicker').SetMonth()
SelectedDay¶
Gets the currently highlighted day number in the popup calendar. Returns -1 if no day is highlighted.
Type: number
Accessors: GetSelectedDay
value = SeS('SomeDomOafDatePicker').GetSelectedDay()
Text¶
Gets or sets the current date value in the input field.
Type: string
Accessors: GetText, SetText
value = SeS('SomeDomOafDatePicker').GetText()
SeS('SomeDomOafDatePicker').SetText()
Year¶
Gets or sets the currently displayed year in the popup calendar.
Type: string|number
Accessors: GetYear, SetYear
value = SeS('SomeDomOafDatePicker').GetYear()
SeS('SomeDomOafDatePicker').SetYear()
Action Detail¶
DoClose¶
Closes the date picker popup calendar.
SeS('SomeDomOafDatePicker').DoClose()
Returns:
boolean: true if popup closed successfully, false otherwise.
DoNextMonth¶
Navigates to the next month in the calendar popup.
SeS('SomeDomOafDatePicker').DoNextMonth()
Returns:
boolean: true if navigation successful, false otherwise.
DoOpen¶
Opens the date picker popup calendar.
SeS('SomeDomOafDatePicker').DoOpen()
Returns:
boolean: true if popup opened successfully, false otherwise.
DoPrevMonth¶
Navigates to the previous month in the calendar popup.
SeS('SomeDomOafDatePicker').DoPrevMonth()
Returns:
boolean: true if navigation successful, false otherwise.
DoSelectDate¶
Selects a specific day in the currently displayed month.
SeS('SomeDomOafDatePicker').DoSelectDate(day)
Parameters:
| Name | Type | Description |
|---|---|---|
| day | number | Day of month to select (1-31). |
Returns:
boolean: true if date selected successfully, false otherwise.
DoSetText¶
Sets the date by typing directly into the input field.
SeS('SomeDomOafDatePicker').DoSetText(value)
Parameters:
| Name | Type | Description |
|---|---|---|
| value | string | Date value in the format expected by the field (e.g., '23-Jan-2004'). |
Returns:
boolean: true if successful, false otherwise.