( libraries issue )

亡梦爱人 提交于 2020-01-04 09:23:13

问题


I am using Sencha Architect with Extjs 4 and by following the basic example here : http://geoext.org/tutorials/quickstart.html#basic-example

i have to switch included libraries from Ext 3 to Ext 4, so i typed :

<script src="extjs-4/ext-all.js"  type="text/javascript"></script>
<script src="extjs-4/ext.js"  type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="extjs-4/resources/css/ext-all.css"></link>
<script src="GeoExt/lib/GeoExt.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="GeoExt/resources/css/geoext-all-debug.css"></link>
<script type="text/javascript" src="app.js"></script>

the problem is i keep getting errors which i think because missing library. but still can't figure out what it is exactly.


回答1:


Geo ext is compatible with extjs 3.x top, so doesn't work with extjs 4. You should check geo ext 2 sources, which is compatible with extjs 4. See this link http://geoext.blogspot.ro/2012/05/geoext2-sprint-results.html



来源:https://stackoverflow.com/questions/11309998/libraries-issue

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!