PDA

View Full Version : ExtJs Migration issue from 2.3.0 to 3.3.0



sid_universe
22 Aug 2012, 2:39 AM
I am migrating the application from 2.3.0 to 3.3.0 and it seems like below line of code is causing the problem.
After migrating the application I am getting below error.

"Too much recursion."



this.grid.getBottomToolbar().add(new Ext.Button({buttonid: 'ADDOBJECT',
id: 'AddObject',
text: "+",
disabled: true,
tooltip: {text: OpenLayers.i18n("RedliningAddObjectTooltip")},
handler: this.addObjectToFeatureGrid, scope: this}));


I have also put the Grid defination below.


var redliningFeatureGrid = new Ext.grid.GridPanel({
id: 'redliningFeatureGrid',
name: 'redliningFeatureGrid',
columns: [{id:'text', header: 'Titel', dataIndex: 'text'},
this.rowActions],
stripeRows: true,
enableHdMenu: false,
autoExpandColumn: 'text',
width: Ext.isIE ? 250 : 'auto',
height: 180,
store: this.featureStore,
bbar: new GeoServices.Toolbar({map: this.map}),
plugins:[this.rowActions]
});

this.grid = redliningFeatureGrid;


It would be great help if any body can guide me how to fix this in ExtJS 3.3.0

scottmartin
22 Aug 2012, 8:46 AM
Have you tried 3.4? I noticed this thread in regards to your error on lower versions:
http://www.sencha.com/forum/showthread.php?89858

Scott.

sid_universe
22 Aug 2012, 11:46 PM
I can't upgrade the Ext JS version as its client requirement so I would need some solution for ExtJs 3.3.0.

sid_universe
29 Aug 2012, 10:39 PM
Someone please help me I am really stuck up. Let me know in case any information is required from my side.