PDA

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


carleton
01-19-2008, 10: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
01-19-2008, 11:02 AM
http://img255.imageshack.us/img255/2941/layouttutorialbn6.png

:-?

carleton
01-19-2008, 01:28 PM
details, details, details :">

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

aconran
01-19-2008, 01:43 PM
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