Web Application Framework Component Reference Guide
|
  
|
The Date View component is a visual display field component which displays the date whose fields (month, day, year) are represented by Combo Boxes. Also includes a javascript mini-calendar popup.
The Date View component is available from the component palette and is added to a Container View is the same way as other components. The Date View component displays the date portion of the value of its model field binding. A javascript mini-calendar popup can be configured with this component through the Show Mini-Calendar property. Two other configuration properties (Max/Min Year Choice Display Value) can be set to limit the size of the year field combo box.
Property Name
|
Description
|
Notes
|
Model Reference
|
A reference to the model to which the visual component's bound model field belongs. This property must be configured before the Model Field Binding property can be configured.
|
Req
|
Model Field Binding
|
The model field to which the visual component is bound (where it stores/retrieves its value). The Model Reference property must be configured before this property can be configured.
|
Dependent on Model Reference
|
Name
|
The name of the component instance.
|
|
Max Year Choice Display Value
|
Specify the maximum year to display for the year field combo box.
|
Default is <current year> + 50
|
Min Year Choice Display Value
|
Specify the minimum year to display for the year field combo box.
|
Default is <current year> - 50
|
Show Mini-Calendar
|
Specify whether to display the button to invoke the mini-calendar popup.
|
Default is false.
|
Web Application Framework Component Reference Guide
|
819-0725-10
|
  
|
Copyright © 2004, Sun Microsystems, Inc. All Rights Reserved.