Ext.ns('ES');

ES.waterCounterEntryFormWindow = Ext.extend(Ext.Window,{
  title: 'Ajout d une consommation d eau',
  closable:true,
  width: 410,
  //height: 250,
  layout: 'column',
  defaults: {
    columnWidth: 1,
    style: {
      padding: '10px'
    }
  }
  ,initComponent:function() {
    var config = {items:[{
      xtype:'ESwatercounterentryform'
    }]};
    // apply config
    Ext.apply(this, Ext.apply(this.initialConfig, config));
    // call parent initComponent
    ES.waterCounterEntryFormWindow.superclass.initComponent.call(this);
  } // end of function initComponent
  ,onRender:function() {
    // call parent
    ES.waterCounterEntryFormWindow.superclass.onRender.apply(this, arguments);
    // after parent code, e.g. install event handlers on rendered components
  } // eo function onRender
});

Ext.reg('ESwatercounterentryformwindow', ES.waterCounterEntryFormWindow);
