git.ithinksw.org
/
extjs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upgrade to ExtJS 3.3.0 - Released 10/06/2010
[extjs.git]
/
docs
/
source
/
BasicForm.html
diff --git
a/docs/source/BasicForm.html
b/docs/source/BasicForm.html
index
5d2401f
..
f7cad84
100644
(file)
--- a/
docs/source/BasicForm.html
+++ b/
docs/source/BasicForm.html
@@
-7,7
+7,7
@@
</head>
<body onload="prettyPrint();">
<pre class="prettyprint lang-js">/*!
</head>
<body onload="prettyPrint();">
<pre class="prettyprint lang-js">/*!
- * Ext JS Library 3.
2
.0
+ * Ext JS Library 3.
3
.0
* Copyright(c) 2006-2010 Ext JS, Inc.
* licensing@extjs.com
* http://www.extjs.com/license
* Copyright(c) 2006-2010 Ext JS, Inc.
* licensing@extjs.com
* http://www.extjs.com/license
@@
-487,7
+487,16
@@
myFormPanel.getForm().submit({
fs.each(function(f){
var field = this.findField(f.name);
if(field){
fs.each(function(f){
var field = this.findField(f.name);
if(field){
- record.set(f.name, field.getValue());
+ var value = field.getValue();
+ if ( value.getGroupValue ) {
+ value = value.getGroupValue();
+ } else if ( field.eachItem ) {
+ value = [];
+ field.eachItem(function(item){
+ value.push(item.getValue());
+ });
+ }
+ record.set(f.name, value);
}
}, this);
record.endEdit();
}
}, this);
record.endEdit();
@@
-571,6
+580,8
@@
myFormPanel.getForm().submit({
return false;
} else if (f.isComposite) {
return f.items.each(findMatchingField);
return false;
} else if (f.isComposite) {
return f.items.each(findMatchingField);
+ } else if (f instanceof Ext.form.CheckboxGroup && f.rendered) {
+ return f.eachItem(findMatchingField);
}
}
};
}
}
};
@@
-676,7
+687,7
@@
myFormPanel.getForm().submit({
key,
val;
this.items.each(function(f) {
key,
val;
this.items.each(function(f) {
- if (
dirtyOnly !== true || f.isDirty(
)) {
+ if (
!f.disabled && (dirtyOnly !== true || f.isDirty()
)) {
n = f.getName();
key = o[n];
val = f.getValue();
n = f.getName();
key = o[n];
val = f.getValue();
@@
-745,6
+756,13
@@
myFormPanel.getForm().submit({
return this;
},
return this;
},
+ <div id="method-Ext.form.BasicForm-cleanDestroyed"></div>/**
+ * Removes all fields from the collection that have been destroyed.
+ */
+ cleanDestroyed : function() {
+ this.items.filterBy(function(o) { return !!o.isDestroyed; }).each(this.remove, this);
+ },
+
<div id="method-Ext.form.BasicForm-render"></div>/**
* Iterates through the {@link Ext.form.Field Field}s which have been {@link #add add}ed to this BasicForm,
* checks them for an id attribute, and calls {@link Ext.form.Field#applyToMarkup} on the existing dom element with that id.
<div id="method-Ext.form.BasicForm-render"></div>/**
* Iterates through the {@link Ext.form.Field Field}s which have been {@link #add add}ed to this BasicForm,
* checks them for an id attribute, and calls {@link Ext.form.Field#applyToMarkup} on the existing dom element with that id.