projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
95df222
)
Roo/form/BasicForm.js
author
Alan Knowles
<alan@akbkhome.com>
Mon, 26 Jul 2010 09:14:01 +0000
(17:14 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Mon, 26 Jul 2010 09:14:01 +0000
(17:14 +0800)
Roo/form/BasicForm.js
patch
|
blob
|
history
diff --git
a/Roo/form/BasicForm.js
b/Roo/form/BasicForm.js
index
4ab1eda
..
06ddf74
100644
(file)
--- a/
Roo/form/BasicForm.js
+++ b/
Roo/form/BasicForm.js
@@
-96,6
+96,13
@@
Roo.extend(Roo.form.BasicForm, Roo.util.Observable, {
*/
trackResetOnLoad : false,
*/
trackResetOnLoad : false,
+
+ /**
+ * allFields - full list of fields.
+ * @type {Array}
+ */
+ allFields : false,
+
/**
* By default wait messages are displayed with Roo.MessageBox.wait. You can target a specific
* element by passing it or its id or mask the form itself by passing in true.
/**
* By default wait messages are displayed with Roo.MessageBox.wait. You can target a specific
* element by passing it or its id or mask the form itself by passing in true.
@@
-369,6
+376,14
@@
clientValidation Boolean Applies to submit only. Pass true to call fo
* @return {Object}
*/
getValues : function(asString){
* @return {Object}
*/
getValues : function(asString){
+ if (this.childForms) {
+ Roo.each(this.childForms, function (f) {
+ f.setValues(values);
+ }, this);
+ }
+
+
+
var fs = Roo.lib.Ajax.serializeForm(this.el.dom);
if(asString === true){
return fs;
var fs = Roo.lib.Ajax.serializeForm(this.el.dom);
if(asString === true){
return fs;