PDA

View Full Version : [CLOSED] Tutorial:Using Layouts with Ext - Part 1 does not work...



carleton
19 Jan 2008, 7:41 AM
I was reading through the Using Layouts with Ext - Part 1 (http://extjs.com/learn/Tutorial:Using_Layouts_with_Ext_-_Part_1) tutorial and started to try the examples using ext-2.0 in both Firefox 2.0.0.1 and IE7 and it did not work. Firebug was saying that there is an issue with line 9 of script.js:

center: { }

The sample works fine with the ext-1.1.1 release.

Sam

mystix
19 Jan 2008, 8:02 AM
http://img255.imageshack.us/img255/2941/layouttutorialbn6.png

:-?

carleton
19 Jan 2008, 10:28 AM
details, details, details :">

So, is there a fix to get it working with 2.0? It looks like pretty simple stuff.

aconran
19 Jan 2008, 10:43 AM
carleton -

This is actually one of the things that changed during the architectural shift between 1.x and 2.0. A full tutorial of how to migrate existing 1.x BorderLayouts to 2.0 layouts is located here:
http://extjs.com/learn/Ext_1_to_2_Migration_Guide#Converting_BorderLayout_to_2.0