PDA

View Full Version : From Alpha1 to Alpha2



franklt69
24 Feb 2007, 9:36 PM
Hi I began to migrate from 0.33 to alpha1 and the page was working ok, I did:

...
2. Replace yui-ext.css with ext-all.css.
Change Ext CSS entries in your code/html. The 'y' prefix is replaced with 'x-'. For example, 'ydlg' becomes 'x-dlg' and 'ylayout-inactive-content' becomes 'x-layout-inactive-content'.

3. Replace 'YAHOO.ext.' with 'Ext.'

in alpha1 I had:

<script type="text/javascript" src="Build/utilities_2.1.0.js"></script>
<script type="text/javascript" src="ext-all.js"></script>
<script language="javascript" src="examples/layout/ETSLayoutAll.js"></script>

to alpha2 I changed
<script type="text/javascript" src="yui-utilities.js"></script>
<script type="text/javascript" src="ext-all.js"></script>
<script language="javascript" src="examples/layout/ETSLayoutAll.js"></script>

now when I run the page I get this error:

Ext is not defined
init : function(){
// initialize state manager, we will use cookies
Ext.state.Manager.setProvider(new Ext.state.CookieProvider());
maybe is trivial, I am missing something?

kind regards
Frank

brian.moeskau
24 Feb 2007, 9:47 PM
Make sure you include ext-yui-adapter.js as the second file per Jack's instructions.