var cfg = Roo.apply({}, this.getAutoCreate());
+
cfg.id = this.id || Roo.id();
// fill in the extra attributes
onLoad : function()
{
- Roo.log('ds onload');
+// Roo.log('ds onload');
this.clear();
var _this = this;
}
if (this.before && typeof(this.before) == 'object') {
this.before = Roo.factory(this.before);
- Roo.log(this.before);
+
inputblock.cn.push({
tag :'span',
cls : 'roo-input-before input-group-' +
}
if (this.after && typeof(this.after) == 'object') {
this.after = Roo.factory(this.after);
- Roo.log(this.after);
+
inputblock.cn.push({
tag :'span',
cls : 'roo-input-after input-group-' +
};
if (align ==='left' && this.fieldLabel.length) {
- Roo.log("left and has label");
+
cfg.cn = [
{
];
} else if ( this.fieldLabel.length) {
- Roo.log(" label");
+
cfg.cn = [
{
} else {
- Roo.log(" no label && no align");
cfg.cn = [
inputblock
};
- Roo.log('input-parentType: ' + this.parentType);
if (this.parentType === 'Navbar' && this.parent().bar) {
cfg.cls += ' navbar-form';
- Roo.log(cfg);
}
return cfg;
}
if (align ==='left' && this.fieldLabel.length) {
- Roo.log("left and has label");
+// Roo.log("left and has label");
cfg.cn = [
{
];
} else if ( this.fieldLabel.length) {
- Roo.log(" label");
+// Roo.log(" label");
cfg.cn = [
{
} else {
- Roo.log(" no label && no align");
+// Roo.log(" no label && no align");
cfg.cn = [
inputblock
};
if(this.multiple){
-// Roo.log('multiple');
-
box = {
tag: 'div',
cn: [
if (align ==='left' && this.fieldLabel.length) {
- Roo.log("left and has label");
+// Roo.log("left and has label");
cfg.cn = [
{
];
} else if ( this.fieldLabel.length) {
- Roo.log(" label");
+// Roo.log(" label");
cfg.cn = [
{
} else {
- Roo.log(" no label && no align");
+// Roo.log(" no label && no align");
cfg = combobox
}
if (align ==='left' && this.fieldLabel.length) {
- Roo.log("left and has label");
+// Roo.log("left and has label");
cfg.cn = [
{
];
} else if ( this.fieldLabel.length) {
- Roo.log(" label");
+// Roo.log(" label");
cfg.cn = [
{
} else {
- Roo.log(" no label && no align");
+// Roo.log(" no label && no align");
cfg.cn = [ inputblock ] ;
// add the buttons to the navgroup
if(this.displayInfo){
- Roo.log(this.el.select('ul.navbar-nav',true).first());
this.el.select('ul.navbar-nav',true).first().createChild({cls:'x-paging-info'});
this.displayEl = this.el.select('.x-paging-info', true).first();
// var navel = this.navgroup.addItem( { tagtype : 'span', html : '', cls : 'x-paging-info', preventDefault : true } );