{
"name" : "labelAlign",
"type" : "String",
- "desc" : "Valid values are \"left,\" \"top\" and \"right\" (defaults to \"left\").\nThis property cascades to child containers if not set.",
- "memberOf" : ""
+ "desc" : "t) Valid values are \"left,\" \"top\" and \"right\" (defaults to \"left\").\nThis property cascades to child containers if not se",
+ "memberOf" : "",
+ "isOptional" : false,
+ "optvals" : [
+ "left",
+ "top",
+ "right"
+ ]
+ },
+ {
+ "name" : "(left|center|right)",
+ "type" : "String",
+ "desc" : "buttonAlign Valid values are \"left,\" \"center\" and \"right\" (defaults to \"center\")",
+ "memberOf" : "",
+ "isOptional" : false,
+ "optvals" : []
},
{
"name" : "listeners",
"type" : "Object",
"desc" : "list of events and functions to call for this object, \nFor example :\n<pre><code>\n listeners : { \n 'click' : function(e) {\n ..... \n } ,\n .... \n } \n </code></pre>",
- "memberOf" : "Roo.util.Observable"
+ "memberOf" : "Roo.util.Observable",
+ "isOptional" : false,
+ "optvals" : []
},
{
"name" : "formData",
"type" : "boolean|FormData",
"desc" : "- true to use new 'FormData' post, or set to a new FormData({dom form}) Object, if\nsending a formdata with extra parameters - eg uploaded elements.",
- "memberOf" : ""
+ "memberOf" : "",
+ "isOptional" : false,
+ "optvals" : []
},
{
"name" : "monitorValid",
"type" : "Boolean",
"desc" : "If true the form monitors its valid state <b>client-side</b> and\nfires a looping event with that state. This is required to bind buttons to the valid\nstate using the config value formBind:true on the button.",
- "memberOf" : ""
+ "memberOf" : "",
+ "isOptional" : false,
+ "optvals" : []
},
{
"name" : "fileUpload",
"type" : "Boolean",
"desc" : "Set to true if this form is a file upload.",
- "memberOf" : "Roo.form.BasicForm"
+ "memberOf" : "Roo.form.BasicForm",
+ "isOptional" : false,
+ "optvals" : []
},
{
"name" : "progressUrl",
"type" : "String",
"desc" : "- Url to return progress data",
- "memberOf" : ""
+ "memberOf" : "",
+ "isOptional" : false,
+ "optvals" : []
},
{
"name" : "buttons[]",
"type" : "Roo.Button",
"desc" : "buttons at bottom of form",
- "memberOf" : ""
+ "memberOf" : "",
+ "isOptional" : false,
+ "optvals" : []
},
{
"name" : "minButtonWidth",
"type" : "Number",
"desc" : "Minimum width of all buttons in pixels (defaults to 75)",
- "memberOf" : ""
- },
- {
- "name" : "buttonAlign",
- "type" : "String",
- "desc" : "Valid values are \"left,\" \"center\" and \"right\" (defaults to \"center\")",
- "memberOf" : ""
+ "memberOf" : "",
+ "isOptional" : false,
+ "optvals" : []
},
{
"name" : "method",
"type" : "String",
"desc" : "The request method to use (GET or POST) for form actions if one isn't supplied in the action options.",
- "memberOf" : "Roo.form.BasicForm"
+ "memberOf" : "Roo.form.BasicForm",
+ "isOptional" : false,
+ "optvals" : []
},
{
"name" : "errorMask",
"type" : "Boolean",
- "desc" : "e) default false",
- "memberOf" : "Roo.form.BasicForm"
+ "desc" : "e) default fal",
+ "memberOf" : "Roo.form.BasicForm",
+ "isOptional" : false,
+ "optvals" : [
+ "true",
+ "false"
+ ]
},
{
"name" : "itemCls",
"type" : "String",
"desc" : "A css class to apply to the x-form-item of fields. This property cascades to child containers.",
- "memberOf" : ""
+ "memberOf" : "",
+ "isOptional" : false,
+ "optvals" : []
},
{
"name" : "labelWidth",
"type" : "Number",
"desc" : "The width of labels. This property cascades to child containers.",
- "memberOf" : ""
+ "memberOf" : "",
+ "isOptional" : false,
+ "optvals" : []
},
{
"name" : "timeout",
"type" : "Number",
"desc" : "Timeout for form actions in seconds (default is 30 seconds).",
- "memberOf" : "Roo.form.BasicForm"
+ "memberOf" : "Roo.form.BasicForm",
+ "isOptional" : false,
+ "optvals" : []
},
{
"name" : "monitorPoll",
"type" : "Number",
"desc" : "The milliseconds to poll valid state, ignored if monitorValid is not true (defaults to 200)",
- "memberOf" : ""
+ "memberOf" : "",
+ "isOptional" : false,
+ "optvals" : []
},
{
"name" : "baseParams",
"type" : "Object",
"desc" : "Parameters to pass with all requests. e.g. baseParams: {id: '123', foo: 'bar'}.",
- "memberOf" : "Roo.form.BasicForm"
+ "memberOf" : "Roo.form.BasicForm",
+ "isOptional" : false,
+ "optvals" : []
},
{
"name" : "trackResetOnLoad",
"type" : "Boolean",
"desc" : "If set to true, form.reset() resets to the last loaded\nor setValues() data instead of when the form was first created.",
- "memberOf" : "Roo.form.BasicForm"
+ "memberOf" : "Roo.form.BasicForm",
+ "isOptional" : false,
+ "optvals" : []
},
{
"name" : "reader",
"type" : "DataReader",
"desc" : "An Roo.data.DataReader (e.g. {@link Roo.data.XmlReader}) to be used to read data when executing \"load\" actions.\nThis is optional as there is built-in support for processing JSON.",
- "memberOf" : "Roo.form.BasicForm"
+ "memberOf" : "Roo.form.BasicForm",
+ "isOptional" : false,
+ "optvals" : []
},
{
"name" : "errorReader",
"type" : "DataReader",
"desc" : "An Roo.data.DataReader (e.g. {@link Roo.data.XmlReader}) to be used to read data when reading validation errors on \"submit\" actions.\nThis is completely optional as there is built-in support for processing JSON.",
- "memberOf" : "Roo.form.BasicForm"
+ "memberOf" : "Roo.form.BasicForm",
+ "isOptional" : false,
+ "optvals" : []
},
{
"name" : "url",
"type" : "String",
"desc" : "The URL to use for form actions if one isn't supplied in the action options.",
- "memberOf" : "Roo.form.BasicForm"
+ "memberOf" : "Roo.form.BasicForm",
+ "isOptional" : false,
+ "optvals" : []
},
{
"name" : "maskOffset",
"type" : "Number",
"desc" : "Default 100",
- "memberOf" : "Roo.form.BasicForm"
+ "memberOf" : "Roo.form.BasicForm",
+ "isOptional" : false,
+ "optvals" : []
}
],
"methods" : [
{
"name" : "asString",
"type" : "Boolean",
- "desc" : "",
+ "desc" : "(def)",
"isOptional" : false
}
],
{
"name" : "getFieldValues",
"type" : "function",
- "desc" : "Returns the fields in this form as an object with key/value pairs. \nThis differs from getValues as it calls getValue on each child item, rather than using dom data.",
- "sig" : "()\n{\n\n}",
+ "desc" : "Returns the fields in this form as an object with key/value pairs. \nThis differs from getValues as it calls getValue on each child item, rather than using dom data.\nNormally this will not return readOnly data",
+ "sig" : "(with_readonly)",
"static" : false,
"memberOf" : "Roo.form.BasicForm",
"isStatic" : false,
"see" : "",
"exceptions" : "",
"requires" : "",
- "params" : [],
+ "params" : [
+ {
+ "name" : "with_readonly",
+ "type" : "Boolean",
+ "desc" : "return readonly field data.",
+ "isOptional" : false
+ }
+ ],
"returns" : [
{
"name" : "",