Line 6... |
Line 6... |
6 |
modified BSD license. For more information on Dojo licensing, see:
|
6 |
modified BSD license. For more information on Dojo licensing, see:
|
Line 7... |
Line 7... |
7 |
|
7 |
|
8 |
http://dojotoolkit.org/community/licensing.shtml
|
8 |
http://dojotoolkit.org/community/licensing.shtml
|
Line -... |
Line 9... |
- |
|
9 |
*/
|
- |
|
10 |
|
9 |
*/
|
11 |
|
10 |
|
12 |
|
11 |
dojo.provide("dojo.widget.Textbox");
|
13 |
dojo.provide("dojo.widget.Textbox");
|
12 |
dojo.require("dojo.widget.*");
|
14 |
dojo.require("dojo.widget.*");
|
13 |
dojo.require("dojo.widget.HtmlWidget");
|
15 |
dojo.require("dojo.widget.HtmlWidget");
|
14 |
dojo.require("dojo.widget.Manager");
|
16 |
dojo.require("dojo.widget.Manager");
|
15 |
dojo.require("dojo.widget.Parse");
|
17 |
dojo.require("dojo.widget.Parse");
|
16 |
dojo.require("dojo.xml.Parse");
|
18 |
dojo.require("dojo.xml.Parse");
|
17 |
dojo.require("dojo.lang.array");
|
19 |
dojo.require("dojo.lang.array");
|
18 |
dojo.require("dojo.lang.common");
|
20 |
dojo.require("dojo.lang.common");
|
19 |
dojo.require("dojo.i18n.common");
|
21 |
dojo.require("dojo.i18n.common");
|
20 |
dojo.requireLocalization("dojo.widget", "validate", null, "fr,ja,zh-cn,ROOT");
|
22 |
dojo.requireLocalization("dojo.widget", "validate", null, "zh-cn,ja,ROOT,fr");
|
21 |
dojo.widget.defineWidget("dojo.widget.Textbox", dojo.widget.HtmlWidget, {className:"", name:"", value:"", type:"", trim:false, uppercase:false, lowercase:false, ucFirst:false, digit:false, htmlfloat:"none", templateString:"<span style='float:${this.htmlfloat};'>\n\t<input dojoAttachPoint='textbox' dojoAttachEvent='onblur;onfocus'\n\t\tid='${this.widgetId}' name='${this.name}'\n\t\tclass='${this.className}' type='${this.type}' >\n</span>\n", textbox:null, fillInTemplate:function () {
|
23 |
dojo.widget.defineWidget("dojo.widget.Textbox", dojo.widget.HtmlWidget, {className:"", name:"", value:"", type:"", trim:false, uppercase:false, lowercase:false, ucFirst:false, digit:false, htmlfloat:"none", templateString:"<span style='float:${this.htmlfloat};'>\n\t<input dojoAttachPoint='textbox' dojoAttachEvent='onblur;onfocus'\n\t\tid='${this.widgetId}' name='${this.name}'\n\t\tclass='${this.className}' type='${this.type}' >\n</span>\n", textbox:null, fillInTemplate:function () {
|
22 |
this.textbox.value = this.value;
|
24 |
this.textbox.value = this.value;
|
23 |
}, filter:function () {
|
25 |
}, filter:function () {
|