source: Dev/trunk/src/client/dojox/form/DateTextBox.js @ 529

Last change on this file since 529 was 483, checked in by hendrikvanantwerpen, 11 years ago

Added Dojo 1.9.3 release.

File size: 789 bytes
Line 
1define([
2        "dojo/_base/kernel",
3        "dojo/dom-style",
4        "dojox/widget/Calendar",
5        "dijit/form/_DateTimeTextBox",
6        "dojo/_base/declare"
7        ], function(kernel, domStyle, Calendar, _DateTimeTextBox, declare){
8        kernel.experimental("dojox/form/DateTextBox");
9        return declare( "dojox.form.DateTextBox", _DateTimeTextBox,
10                {
11                        // summary:
12                        //              A validating, serializable, range-bound date text box with a popup calendar
13
14                        baseClass: "dijitTextBox dijitComboBox dojoxDateTextBox",
15
16                        // popupClass: String
17                        //              The popup widget to use. In this case, a calendar with Day, Month and Year views.
18                        popupClass: Calendar,
19
20                        _selector: "date",
21
22                        openDropDown: function(){
23                                this.inherited(arguments);
24                                domStyle.set(this.dropDown.domNode.parentNode, "position", "absolute");
25                        }
26                }
27        );
28});
Note: See TracBrowser for help on using the repository browser.