a:28:{s:9:"#provides";s:15:"dijit.form.Form";s:9:"#resource";s:12:"form/Form.js";s:9:"#requires";a:3:{i:0;a:2:{i:0;s:6:"common";i:1;s:13:"dijit._Widget";}i:1;a:2:{i:0;s:6:"common";i:1;s:16:"dijit._Templated";}i:2;a:2:{i:0;s:6:"common";i:1;s:21:"dijit.form._FormMixin";}}s:15:"dijit.form.Form";a:5:{s:4:"type";s:8:"Function";s:6:"chains";a:2:{s:9:"prototype";a:1:{i:0;s:13:"dijit._Widget";}s:4:"call";a:3:{i:0;s:13:"dijit._Widget";i:1;s:16:"dijit._Templated";i:2;s:21:"dijit.form._FormMixin";}}s:6:"mixins";a:1:{s:9:"prototype";a:2:{i:0;s:26:"dijit._Templated.prototype";i:1;s:31:"dijit.form._FormMixin.prototype";}}s:7:"summary";s:71:"Widget corresponding to HTML form tag, for validation and serialization";s:9:"classlike";b:1;}s:20:"dijit.form.Form.name";a:2:{s:9:"prototype";s:15:"dijit.form.Form";s:7:"summary";s:0:"";}s:22:"dijit.form.Form.action";a:3:{s:9:"prototype";s:15:"dijit.form.Form";s:4:"type";s:6:"String";s:7:"summary";s:25:"Server-side form handler.";}s:22:"dijit.form.Form.method";a:3:{s:9:"prototype";s:15:"dijit.form.Form";s:4:"type";s:6:"String";s:7:"summary";s:80:"HTTP method used to submit the form, either "GET" or "POST".";}s:23:"dijit.form.Form.encType";a:4:{s:9:"prototype";s:15:"dijit.form.Form";s:8:"instance";s:15:"dijit.form.Form";s:4:"type";s:6:"String";s:7:"summary";s:66:"Encoding type for the form, ex: application/x-www-form-urlencoded.";}s:30:"dijit.form.Form.accept-charset";a:3:{s:9:"prototype";s:15:"dijit.form.Form";s:4:"type";s:6:"String";s:7:"summary";s:27:"List of supported charsets.";}s:22:"dijit.form.Form.accept";a:3:{s:9:"prototype";s:15:"dijit.form.Form";s:4:"type";s:6:"String";s:7:"summary";s:35:"List of MIME types for file upload.";}s:22:"dijit.form.Form.target";a:3:{s:9:"prototype";s:15:"dijit.form.Form";s:4:"type";s:6:"String";s:7:"summary";s:46:"Target frame for the document to be opened in.";}s:30:"dijit.form.Form.templateString";a:2:{s:9:"prototype";s:15:"dijit.form.Form";s:7:"summary";s:0:"";}s:28:"dijit.form.Form.attributeMap";a:2:{s:9:"prototype";s:15:"dijit.form.Form";s:7:"summary";s:0:"";}s:35:"dijit.form.Form.postMixInProperties";a:4:{s:9:"prototype";s:15:"dijit.form.Form";s:4:"type";s:8:"Function";s:6:"source";s:1907:"dojo.provide("dijit.form.Form"); dojo.require("dijit._Widget"); dojo.require("dijit._Templated"); dojo.require("dijit.form._FormMixin"); dojo.declare( "dijit.form.Form", [dijit._Widget, dijit._Templated, dijit.form._FormMixin], { // summary: // Widget corresponding to HTML form tag, for validation and serialization // // example: // |
// | myObj = {name: "John Doe"}; // | dijit.byId('myForm').attr('value', myObj); // | // | myObj=dijit.byId('myForm').attr('value'); // HTML ", attributeMap: dojo.delegate(dijit._Widget.prototype.attributeMap, { action: "", method: "", encType: "", "accept-charset": "", accept: "", target: "" }), postMixInProperties: function(){ // Setup name=foo string to be referenced from the template (but only if a name has been specified) // Unfortunately we can't use attributeMap to set the name due to IE limitations, see #8660 this.nameAttrSetting = this.name ? ("name='" + this.name + "'") : ""; this.inherited(arguments);";s:7:"summary";s:0:"";}s:23:"dijit.form.Form.execute";a:6:{s:9:"prototype";s:15:"dijit.form.Form";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:12:"formContents";a:1:{s:4:"type";s:6:"Object";}}s:6:"source";s:76:" // summary: // Deprecated: use submit() // tags: // deprecated";s:7:"summary";s:24:"Deprecated: use submit()";s:4:"tags";s:10:"deprecated";}s:25:"dijit.form.Form.onExecute";a:5:{s:9:"prototype";s:15:"dijit.form.Form";s:4:"type";s:8:"Function";s:6:"source";s:78:" // summary: // Deprecated: use onSubmit() // tags: // deprecated";s:7:"summary";s:26:"Deprecated: use onSubmit()";s:4:"tags";s:10:"deprecated";}s:31:"dijit.form.Form._setEncTypeAttr";a:6:{s:9:"prototype";s:15:"dijit.form.Form";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:5:"value";a:1:{s:4:"type";s:6:"String";}}s:6:"source";s:121:" this.encType = value; dojo.attr(this.domNode, "encType", value); if(dojo.isIE){ this.domNode.encoding = value; }";s:7:"private";b:1;s:7:"summary";s:0:"";}s:26:"dijit.form.Form.postCreate";a:4:{s:9:"prototype";s:15:"dijit.form.Form";s:4:"type";s:8:"Function";s:6:"source";s:2723:"dojo.provide("dijit.form.Form"); dojo.require("dijit._Widget"); dojo.require("dijit._Templated"); dojo.require("dijit.form._FormMixin"); dojo.declare( "dijit.form.Form", [dijit._Widget, dijit._Templated, dijit.form._FormMixin], { // summary: // Widget corresponding to HTML form tag, for validation and serialization // // example: // | // | myObj = {name: "John Doe"}; // | dijit.byId('myForm').attr('value', myObj); // | // | myObj=dijit.byId('myForm').attr('value'); // HTML ", attributeMap: dojo.delegate(dijit._Widget.prototype.attributeMap, { action: "", method: "", encType: "", "accept-charset": "", accept: "", target: "" }), postMixInProperties: function(){ // Setup name=foo string to be referenced from the template (but only if a name has been specified) // Unfortunately we can't use attributeMap to set the name due to IE limitations, see #8660 this.nameAttrSetting = this.name ? ("name='" + this.name + "'") : ""; this.inherited(arguments); }, execute: function(/*Object*/ formContents){ // summary: // Deprecated: use submit() // tags: // deprecated }, onExecute: function(){ // summary: // Deprecated: use onSubmit() // tags: // deprecated }, _setEncTypeAttr: function(/*String*/ value){ this.encType = value; dojo.attr(this.domNode, "encType", value); if(dojo.isIE){ this.domNode.encoding = value; } }, postCreate: function(){ // IE tries to hide encType // TODO: this code should be in parser, not here. if(dojo.isIE && this.srcNodeRef && this.srcNodeRef.attributes){ var item = this.srcNodeRef.attributes.getNamedItem('encType'); if(item && !item.specified && (typeof item.value == "string")){ this.attr('encType', item.value); } } this.inherited(arguments);";s:7:"summary";s:0:"";}s:23:"dijit.form.Form.onReset";a:7:{s:9:"prototype";s:15:"dijit.form.Form";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:1:"e";a:2:{s:8:"optional";b:1;s:4:"type";s:5:"Event";}}s:6:"source";s:26:" return true; // Boolean";s:7:"summary";s:221:"Callback when user resets the form. This method is intended to be over-ridden. When the `reset` method is called programmatically, the return value from `onReset` is used to compute whether or not resetting should proceed";s:4:"tags";s:8:"callback";s:7:"returns";s:7:"Boolean";}s:24:"dijit.form.Form._onReset";a:7:{s:9:"prototype";s:15:"dijit.form.Form";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:1:"e";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:3628:"dojo.provide("dijit.form.Form"); dojo.require("dijit._Widget"); dojo.require("dijit._Templated"); dojo.require("dijit.form._FormMixin"); dojo.declare( "dijit.form.Form", [dijit._Widget, dijit._Templated, dijit.form._FormMixin], { // summary: // Widget corresponding to HTML form tag, for validation and serialization // // example: // | // | myObj = {name: "John Doe"}; // | dijit.byId('myForm').attr('value', myObj); // | // | myObj=dijit.byId('myForm').attr('value'); // HTML ", attributeMap: dojo.delegate(dijit._Widget.prototype.attributeMap, { action: "", method: "", encType: "", "accept-charset": "", accept: "", target: "" }), postMixInProperties: function(){ // Setup name=foo string to be referenced from the template (but only if a name has been specified) // Unfortunately we can't use attributeMap to set the name due to IE limitations, see #8660 this.nameAttrSetting = this.name ? ("name='" + this.name + "'") : ""; this.inherited(arguments); }, execute: function(/*Object*/ formContents){ // summary: // Deprecated: use submit() // tags: // deprecated }, onExecute: function(){ // summary: // Deprecated: use onSubmit() // tags: // deprecated }, _setEncTypeAttr: function(/*String*/ value){ this.encType = value; dojo.attr(this.domNode, "encType", value); if(dojo.isIE){ this.domNode.encoding = value; } }, postCreate: function(){ // IE tries to hide encType // TODO: this code should be in parser, not here. if(dojo.isIE && this.srcNodeRef && this.srcNodeRef.attributes){ var item = this.srcNodeRef.attributes.getNamedItem('encType'); if(item && !item.specified && (typeof item.value == "string")){ this.attr('encType', item.value); } } this.inherited(arguments); }, onReset: function(/*Event?*/ e){ // summary: // Callback when user resets the form. This method is intended // to be over-ridden. When the `reset` method is called // programmatically, the return value from `onReset` is used // to compute whether or not resetting should proceed // tags: // callback return true; // Boolean }, _onReset: function(e){ // create fake event so we can know if preventDefault() is called var faux = { returnValue: true, // the IE way preventDefault: function(){ // not IE this.returnValue = false; }, stopPropagation: function(){}, currentTarget: e.currentTarget, target: e.target }; // if return value is not exactly false, and haven't called preventDefault(), then reset if(!(this.onReset(faux) === false) && faux.returnValue){ this.reset(); } dojo.stopEvent(e); return false;";s:7:"returns";s:18:"Boolean|the IE way";s:7:"private";b:1;s:7:"summary";s:0:"";}s:25:"dijit.form.Form._onSubmit";a:6:{s:9:"prototype";s:15:"dijit.form.Form";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:1:"e";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:437:" var fp = dijit.form.Form.prototype; // TODO: remove this if statement beginning with 2.0 if(this.execute != fp.execute || this.onExecute != fp.onExecute){ dojo.deprecated("dijit.form.Form:execute()/onExecute() are deprecated. Use onSubmit() instead.", "", "2.0"); this.onExecute(); this.execute(this.getValues()); } if(this.onSubmit(e) === false){ // only exactly false stops submit dojo.stopEvent(e); }";s:7:"private";b:1;s:7:"summary";s:0:"";}s:24:"dijit.form.Form.onSubmit";a:8:{s:9:"prototype";s:15:"dijit.form.Form";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:1:"e";a:2:{s:8:"optional";b:1;s:4:"type";s:5:"Event";}}s:6:"source";s:36:" return this.isValid(); // Boolean";s:7:"summary";s:36:"Callback when user submits the form.";s:11:"description";s:256:"This method is intended to be over-ridden, but by default it checks and returns the validity of form elements. When the `submit` method is called programmatically, the return value from `onSubmit` is used to compute whether or not submission should proceed";s:4:"tags";s:9:"extension";s:7:"returns";s:7:"Boolean";}s:22:"dijit.form.Form.submit";a:4:{s:9:"prototype";s:15:"dijit.form.Form";s:4:"type";s:8:"Function";s:6:"source";s:74:" if(!(this.onSubmit() === false)){ this.containerNode.submit(); }";s:7:"summary";s:71:"programmatically submit form if and only if the `onSubmit` returns true";}s:31:"dijit.form.Form.nameAttrSetting";a:2:{s:8:"instance";s:15:"dijit.form.Form";s:7:"summary";s:0:"";}s:32:"dijit.form.Form.domNode.encoding";a:2:{s:8:"instance";s:15:"dijit.form.Form";s:7:"summary";s:0:"";}s:27:"dijit.form.Form.returnValue";a:2:{s:8:"instance";s:15:"dijit.form.Form";s:7:"summary";s:0:"";}s:10:"dijit.form";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:0:"";}s:5:"dijit";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:0:"";}}