From Alpha1 to Alpha2 - Ext JS

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
  # 2  
02-24-2007, 11:47 PM

Make sure you include ext-yui-adapter.js as the second file per Jack's instructions.
__________________
Brian Moeskau
FAQ / Tutorials / User Extensions / Enhanced Forum Search

你可能感兴趣的:(JavaScript,css,ext,Yahoo,yui)