[Users] Error loading application
Andreas Hocevar
ahocevar at opengeo.org
Tue Feb 7 12:01:43 CET 2012
Hi,
just add lib/overrides/override-ext-ajax.js as extra JavaScript
resource to your html.
Andreas.
On Tue, Feb 7, 2012 at 11:54 AM, Vidal, Antoni <antoni.vidal at icc.cat> wrote:
> Hi Andreas,
>
> True, I've made your suggested test and it seems to solved it, but now I've a new problem, in /lib/GeoExt.js I added the following change in order to solve some problems with printprovider:
>
>
> if(!singleFile) {
> var jsfiles = new Array(
> "overrides/override-ext-ajax.js",
>
> However, in /script/GeoExt.js (compressed file) How can I add the override-ext-ajax.js file?
>
> Thanks again
>
>
> Antoni Vidal
> Unitat d'Aplicacions SIG-WEB
> Institut Cartogràfic de Catalunya
> Parc de Montjuïc, E-08038 Barcelona
> Tel. (+34) 93 567 15 00 (ext. 3228)
> www.icc.cat
>
>
>
> -----Missatge original-----
> De: andreas.hocevar at gmail.com [mailto:andreas.hocevar at gmail.com] En nom de Andreas Hocevar
> Enviat: martes, 07 de febrero de 2012 11:05
> Per a: Vidal, Antoni
> Tema: Re: [Users] Error loading application
>
> Hi,
>
> it looks like you are using an older version of GeoExt in debug mode (i.e. with the script loader that pulls in all JavaScript files at runtime). For debugging, you should upgrade to a recent GeoExt version
> (1.1 or the latest from github). For production, you shouldn't use the debug version at all.
>
> As a quick test to see if this is the issue, try to replace the lib/GeoExt.js reference in your html with script/GeoExt.js. If you don't have that, try http://api.geoext.org/1.1/script/GeoExt.js.
>
> Andreas.
>
> On Tue, Feb 7, 2012 at 9:29 AM, Vidal, Antoni <antoni.vidal at icc.cat> wrote:
>> Hi list,
>>
>>
>>
>> Sometimes, especially when I'm testing my geoext application and I've
>> emptied browser cache, I got this error:
>>
>>
>>
>> new GeoExt.ZoomSliderTip is not a constructor
>>
>>
>>
>> I've tried to load GeoExt/widgets/tips/ZoomSliderTip.js before, but
>> without success.
>>
>>
>>
>> Any help?
>>
>>
>>
>> Yours,
>>
>>
>>
>> Antoni Vidal
>>
>> Unitat d'Aplicacions SIG-WEB
>> Institut Cartogràfic de Catalunya
>> Parc de Montjuïc, E-08038 Barcelona
>> Tel. (+34) 93 567 15 00 (ext. 3228)
>> www.icc.cat
>>
>>
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at geoext.org
>> http://www.geoext.org/cgi-bin/mailman/listinfo/users
>>
>
>
>
> --
> Andreas Hocevar
> OpenGeo - http://opengeo.org/
> Expert service straight from the developers.
> _______________________________________________
> Users mailing list
> Users at geoext.org
> http://www.geoext.org/cgi-bin/mailman/listinfo/users
--
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.
More information about the Users
mailing list