	Xsn.DialogForm = function(config){
		var config = config || {};
		Ext.applyIf(config, {labelAlign: 'right', autoCreate: false}); 
		Ext.apply(this, config);	 
		this.containers = [];
		this.form = new Ext.form.Form(config);
		this.init();
	}		

	Ext.extend(Xsn.DialogForm, Ext.util.Observable, {

		init : function(){
		},
				
		getContainers : function(){
			return this.containers;
		},
		
		getForm : function(){
			return this.form;
		},
		
		setBaseParams : function(bp){
		 	(this.form.baseParams ? Ext.apply(this.form.baseParams, bp) : (this.form.baseParams = bp));
		},
		
		render : function(el){
			this.form.render(el);
		}

	});

