8 Roo.mailer = Roo.mailer || {};
11 * @class Roo.mailer.BodyContainer
12 * @extends Roo.bootstrap.Component
13 * Bootstrap Element class
14 * @cfg {String} cls class of the element
17 * Create a new Element
18 * @param {Object} config The config object
23 Roo.mailer.Body = function(config){
24 Roo.mailer.Body.superclass.constructor.call(this, config);
25 //this.el = Roo.get(document.body);
26 var body = Roo.get(document.body);
34 Roo.mailer.Body._calls++;
35 if (Roo.mailer.Body._calls > 1) {
41 this.onRender = function() { };
45 Roo.mailer.Body._calls = 0;
47 Roo.extend(Roo.mailer.Body, Roo.bootstrap.Component, {
53 getAutoCreate : function(){
65 cls: 'roo-m-body-table ' + this.cls,
75 cls : 'roo-m-body-cell'
87 getChildContainer : function()
91 return this.el.select('.roo-m-body-cell').first();
93 addxtype : function (tree, cntr)
95 return this.addxtypeChild(tree,cntr);