Reputation: 197
I downlaoded the ExtJS liberary, but it does not contain the adapter folder.
can you provide me with a link to download the full Ext JS package/library?
Upvotes: 1
Views: 6362
Reputation: 5724
Adaptor is a legacy js file from when ExtJs was still based around other frameworks.
You are probably looking at the equivalent of http://www.sencha.com/learn/html-page-setup/ ,which is relevant to ExtJS 2 & 3 Download ExtJs 3 here.
ExtJS 3 will have the adaptor file etc, HOWEVER ExtJS 4 doesn't use or need one.
If your guide is using ExtJs 3, maybe use that, but remember that ExtJS 4 is the newest and greatest, and they change quite a lot each time.
Here is the official guide on how to install and use ExtJS 4.x
<link rel="stylesheet" type="text/css" href="./js/ExtJS/resources/css/ext-all.css" />
<script type="text/javascript" src="./js/ExtJS/bootstrap.js"></script>
<script type="text/javascript">
Ext.create('Ext.Panel',{
renderTo:Ext.getBody(),
html:'hello world'
})</script>
This is pretty much how it needs to look, but again GO READ THE LEARNING CENTER! Sencha did a ton of work on their tutorials and api docs for extjs 4, they hold your hand waaay better than i can ( http://docs.sencha.com/ext-js/4-0/#!/guide/getting_started )
Upvotes: 2