(图书馆问题) [英] ( libraries issue )
问题描述
我正在使用Sencha Architect与Extjs 4
,并遵循以下基本示例: http://geoext.org/tutorials/quickstart.html#basic-example
I am using Sencha Architect with Extjs 4 and by following the basic example here : http://geoext.org/tutorials/quickstart.html#basic-example
我必须将包含的库从Ext 3切换到Ext 4 ,所以我键入:
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.
推荐答案
Geo ext与extjs 3.x顶部兼容,所以没有不要使用extjs 4.
您应该检查与extjs兼容的geo ext 2源。
请参阅此链接 http://geoext.blogspot.ro/2012/05/geoext2-sprint-results.html
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
这篇关于(图书馆问题)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!