rendered : true
});
+ if (this.progressUrl) {
+ // push a hidden field onto the list of fields..
+ this.items.addxtype( {
+ xns: Roo.form,
+ xtype : 'Hidden',
+ name : 'UPLOAD_IDENTIFIER'
+ });
+ }
+
+
Roo.each(xitems, this.addxtype, this);
* @param {String/HTMLElement/Element} container The element this component should be rendered into
* @return {Form} this
*/
- render : function(ct){
+ render : function(ct)
+ {
+
+
+
ct = Roo.get(ct);
var o = this.autoCreate || {
tag: 'form',
this.root.render(this.el);
- if (this.progressUrl && !this.findField( 'UPLOAD_IDENTIFIER')) {
- // push a hidden field onto the list of fields..
- this.items.unshift( Roo.factory( {
- xns: Roo.form,
- xtype : 'Hidden',
- name : 'UPLOAD_IDENTIFIER'
- }));
- }
+
this.items.each(function(f){
f.render('x-form-el-'+f.id);