We are facing issue after upgrading GWT 1.2 to 2.3. Our map has been worked
well with GWT 1.2 for a while but the components are not loaded with GWT
2.3 upgrading. We can see
==== in logs with gwt1.2 ====
10.140.3.56 - - [07/Sep/2012:10:41:47 -0500] "GET
/portal/site/qcnetworx/template.binary/binary/module/866e5df7a19577c1785bde10c87c00a0/binary_content/?proxy_inline=true&epiproxyrealurl=http://qcnmap-e2e.dev.qintra.com:80/qcnmap/6270670BB31873C9D34757A8AE5F5E86.cache.png
HTTP/1.1" 200 132
10.140.3.56 - - [07/Sep/2012:10:41:40 -0500] "GET
/portal/site/qcnetworx/template.binary/binary/module/866e5df7a19577c1785bde10c87c00a0/binary_content/?proxy_inline=true&epiproxyrealurl=http%3A//qcnmap-e2e.dev.qintra.com%3A80/qcnmap/CB077DBB20C0024BF959357807E0AF33.cache.html
HTTP/1.1" 200 204685
==== in logs with gwt2.3 ====
10.140.3.56 - - [05/Sep/2012:04:59:09 -0600] "GET
/portal/site/qcnetworx/template.binary/binary/module/04d63778515a84718b726cd8cb1c00a0/binary_content/
*clear.cache.gif* HTTP/1.1" 404 -
...
10.140.3.56 - - [05/Sep/2012:04:59:10 -0600] "GET
/portal/site/qcnetworx/template.binary/binary/module/04d63778515a84718b726cd8cb1c00a0/binary_content/
*22F660BA52A9F0C9DDAEFD5E41E380E6.cache.html* HTTP/1.1" 404 -
Comparing the CommonMapUI.nocache.js (that's the .Html packed), we see the
differences. attached...
e2e is with v1.2
int is with v2.3
Any help will be appriciate.
Lilly
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-web-toolkit/-/R_W6pCQJ-DoJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.
function com_qwest_control_commonmap_CommonMapUI(){var
l=window,k=document,t=l.external,ab,w,q,p='',z={},db=[],F=[],o=[],C,E;if(!l.__gwt_stylesLoaded){l.__gwt_stylesLoaded={};}if(!l.__gwt_scriptsLoaded){l.__gwt_scriptsLoaded={};}function
v(){try{return t&&(t.gwtOnLoad&&l.location.search.indexOf('gwt.hybrid')==
-1);}catch(a){return false;}}
function y(){if(ab&&w){var
c=k.getElementById('com.qwest.control.commonmap.CommonMapUI');var
b=c.contentWindow;b.__gwt_initHandlers=com_qwest_control_commonmap_CommonMapUI.__gwt_initHandlers;if(v()){b.__gwt_getProperty=function(a){return
r(a);};}com_qwest_control_commonmap_CommonMapUI=null;b.gwtOnLoad(C,'com.qwest.control.commonmap.CommonMapUI',p);}}
function s(){var
j,h='__gwt_marker_com.qwest.control.commonmap.CommonMapUI',i;k.write('<script
id="'+h+'"><\/script>');i=k.getElementById(h);j=i&&i.previousSibling;while(j&&j.tagName!='SCRIPT'){j=j.previousSibling;}function
d(b){var a=b.lastIndexOf('/');return a>=0?b.substring(0,a+1):'';}
;if(j&&j.src){p=d(j.src);}if(p==''){var
c=k.getElementsByTagName('base');if(c.length>0){p=c[c.length-1].href;}else{var
g=k.location;var e=g.href;p=d(e.substr(0,e.length-g.hash.length));}}else
if(p.match(/^\w+:\/\//)){}else{var
f=k.createElement('img');f.src=p+'clear.cache.gif';p=d(f.src);}if(i){i.parentNode.removeChild(i);}}
function D(){var f=document.getElementsByTagName('meta');for(var
d=0,g=f.length;d<g;++d){var
e=f[d],h=e.getAttribute('name'),b;if(h){if(h=='gwt:property'){b=e.getAttribute('content');if(b){var
i,c=b.indexOf('=');if(c>=0){h=b.substring(0,c);i=b.substring(c+1);}else{h=b;i='';}z[h]=i;}}else
if(h=='gwt:onPropertyErrorFn'){b=e.getAttribute('content');if(b){try{E=eval(b);}catch(a){alert('Bad
handler "'+b+'" for "gwt:onPropertyErrorFn"');}}}else
if(h=='gwt:onLoadErrorFn'){b=e.getAttribute('content');if(b){try{C=eval(b);}catch(a){alert('Bad
handler "'+b+'" for "gwt:onLoadErrorFn"');}}}}}}
function n(a,b){return b in db[a];}
function m(a){var b=z[a];return b==null?null:b;}
function cb(d,e){var a=o;for(var
b=0,c=d.length-1;b<c;++b){a=a[d[b]]||(a[d[b]]=[]);}a[d[c]]=e;}
function r(d){var e=F[d](),b=db[d];if(e in b){return e;}var a=[];for(var c in
b){a[b[c]]=c;}if(E){E(d,a,e);}throw null;}
F['user.agent']=function(){var d=navigator.userAgent.toLowerCase();var
b=function(a){return
parseInt(a[1])*1000+parseInt(a[2]);};if(d.indexOf('opera')!= -1){return
'opera';}else if(d.indexOf('webkit')!= -1){return 'safari';}else
if(d.indexOf('msie')!= -1){var c=/msie
([0-9]+)\.([0-9]+)/.exec(d);if(c&&c.length==3){if(b(c)>=6000){return
'ie6';}}}else if(d.indexOf('gecko')!= -1){var
c=/rv:([0-9]+)\.([0-9]+)/.exec(d);if(c&&c.length==3){if(b(c)>=1008)return
'gecko1_8';}return 'gecko';}return
'unknown';};db['user.agent']={'gecko':0,'gecko1_8':1,'ie6':2,'opera':3,'safari':4};com_qwest_control_commonmap_CommonMapUI.onInjectionDone=function(){ab=true;y();};com_qwest_control_commonmap_CommonMapUI.onScriptLoad=function(){w=true;y();};s();D();var
bb;if(v()){bb='hosted.html?com_qwest_control_commonmap_CommonMapUI';}else{try{cb(['opera'],'22E1A80AB53F0CF727D68271A27A83DC');cb(['safari'],'60A35622304C4E48DEE4321857251410');cb(['gecko1_8'],'88DE8D22654BC8B2B4E10BF0C1A295EF');cb(['ie6'],'CB077DBB20C0024BF959357807E0AF33');cb(['gecko'],'DFA396A800938C94DF5846BFF6A620DE');bb=o[r('user.agent')];}catch(a){return;}bb+='.cache.html';}var
B;function
A(){if(!q){q=true;y();if(k.removeEventListener){k.removeEventListener('DOMContentLoaded',A,false);}if(B){clearInterval(B);}}}
var u;function x(){if(!u){u=true;var
a=k.createElement('iframe');a.src="javascript:''";a.id='com.qwest.control.commonmap.CommonMapUI';a.style.cssText='position:absolute;width:0;height:0;border:none';k.body.appendChild(a);a.src=p+bb;}}
if(k.addEventListener){k.addEventListener('DOMContentLoaded',function(){x();A();},false);}var
B=setInterval(function(){if(/loaded|complete/.test(k.readyState)){x();A();}},50);if(!__gwt_stylesLoaded['CommonMap.css']){__gwt_stylesLoaded['CommonMap.css']=true;document.write('<link
rel="stylesheet"
href="'+p+'CommonMap.css">');}k.write("<script>com_qwest_control_commonmap_CommonMapUI.onInjectionDone('com.qwest.control.commonmap.CommonMapUI')<\/script>");}
com_qwest_control_commonmap_CommonMapUI.__gwt_initHandlers=function(i,e,j){var
d=window,g=d.onresize,f=d.onbeforeunload,h=d.onunload;d.onresize=function(a){try{i();}finally{g&&g(a);}};d.onbeforeunload=function(a){var
c,b;try{c=e();}finally{b=f&&f(a);}if(c!=null){return c;}if(b!=null){return
b;}};d.onunload=function(a){try{j();}finally{h&&h(a);}};};com_qwest_control_commonmap_CommonMapUI();function commonmapui(){var O='',vb='" for "gwt:onLoadErrorFn"',tb='" for
"gwt:onPropertyErrorFn"',hb='"><\/script>',Y='#',Vb='.cache.html',$='/',Ob='086534CF8F74AEF42648301C3AC760BE',Pb='2DCD2795F4CBABD55D0EC9953354CB1C',Qb='3F433C0C70E5DB28A6C4342191BEBB86',Rb='7C30B62E09B5D36316A8C3B176D70EA4',Ub=':',nb='::',Xb='<script
defer="defer">commonmapui.onInjectionDone(\'commonmapui\')<\/script>',gb='<script
id="',qb='=',Z='?',sb='Bad handler
"',Sb='DE1EA9596A1245F7D9978F1F3BE0DE4C',Wb='DOMContentLoaded',Tb='E62226DA9D46A6A25F7E849DFE7E76BB',ib='SCRIPT',fb='__gwt_marker_commonmapui',jb='base',bb='baseUrl',S='begin',R='bootstrap',ab='clear.cache.gif',P='commonmapui',db='commonmapui.nocache.js',mb='commonmapui::',pb='content',X='end',Ib='gecko',Jb='gecko1_8',T='gwt.codesvr=',U='gwt.hosted=',V='gwt.hybrid',ub='gwt:onLoadErrorFn',rb='gwt:onPropertyErrorFn',ob='gwt:property',Mb='hosted.html?commonmapui',Hb='ie6',Gb='ie8',Fb='ie9',wb='iframe',_='img',xb="javascript:''",Lb='loadExternalRefs',kb='meta',zb='moduleRequested',W='moduleStartup',Eb='msie',lb='name',Bb='opera',yb='position:absolute;width:0;height:0;border:none',Db='safari',cb='script',Nb='selectingPermutation',Q='startup',eb='undefined',Kb='unknown',Ab='user.agent',Cb='webkit';var
l=window,m=document,n=l.__gwtStatsEvent?function(a){return
l.__gwtStatsEvent(a)}:null,o=l.__gwtStatsSessionId?l.__gwtStatsSessionId:null,p,q,r,s=O,t={},u=[],v=[],w=[],x=0,y,z;n&&n({moduleName:P,sessionId:o,subSystem:Q,evtGroup:R,millis:(new
Date).getTime(),type:S});if(!l.__gwt_stylesLoaded){l.__gwt_stylesLoaded={}}if(!l.__gwt_scriptsLoaded){l.__gwt_scriptsLoaded={}}function
A(){var b=false;try{var c=l.location.search;return
(c.indexOf(T)!=-1||(c.indexOf(U)!=-1||l.external&&l.external.gwtOnLoad))&&c.indexOf(V)==-1}catch(a){}A=function(){return
b};return b}
function B(){if(p&&q){var b=m.getElementById(P);var
c=b.contentWindow;if(A()){c.__gwt_getProperty=function(a){return
G(a)}}commonmapui=null;c.gwtOnLoad(y,P,s,x);n&&n({moduleName:P,sessionId:o,subSystem:Q,evtGroup:W,millis:(new
Date).getTime(),type:X})}}
function C(){function e(a){var b=a.lastIndexOf(Y);if(b==-1){b=a.length}var
c=a.indexOf(Z);if(c==-1){c=a.length}var d=a.lastIndexOf($,Math.min(c,b));return
d>=0?a.substring(0,d+1):O}
function f(a){if(a.match(/^\w+:\/\//)){}else{var
b=m.createElement(_);b.src=a+ab;a=e(b.src)}return a}
function g(){var a=E(bb);if(a!=null){return a}return O}
function h(){var a=m.getElementsByTagName(cb);for(var
b=0;b<a.length;++b){if(a[b].src.indexOf(db)!=-1){return e(a[b].src)}}return O}
function i(){var a;if(typeof isBodyLoaded==eb||!isBodyLoaded()){var b=fb;var
c;m.write(gb+b+hb);c=m.getElementById(b);a=c&&c.previousSibling;while(a&&a.tagName!=ib){a=a.previousSibling}if(c){c.parentNode.removeChild(c)}if(a&&a.src){return
e(a.src)}}return O}
function j(){var a=m.getElementsByTagName(jb);if(a.length>0){return
a[a.length-1].href}return O}
var
k=g();if(k==O){k=h()}if(k==O){k=i()}if(k==O){k=j()}if(k==O){k=e(m.location.href)}k=f(k);s=k;return
k}
function D(){var b=document.getElementsByTagName(kb);for(var
c=0,d=b.length;c<d;++c){var
e=b[c],f=e.getAttribute(lb),g;if(f){f=f.replace(mb,O);if(f.indexOf(nb)>=0){continue}if(f==ob){g=e.getAttribute(pb);if(g){var
h,i=g.indexOf(qb);if(i>=0){f=g.substring(0,i);h=g.substring(i+1)}else{f=g;h=O}t[f]=h}}else
if(f==rb){g=e.getAttribute(pb);if(g){try{z=eval(g)}catch(a){alert(sb+g+tb)}}}else
if(f==ub){g=e.getAttribute(pb);if(g){try{y=eval(g)}catch(a){alert(sb+g+vb)}}}}}}
function E(a){var b=t[a];return b==null?null:b}
function F(a,b){var c=w;for(var
d=0,e=a.length-1;d<e;++d){c=c[a[d]]||(c[a[d]]=[])}c[a[e]]=b}
function G(a){var b=v[a](),c=u[a];if(b in c){return b}var d=[];for(var e in
c){d[c[e]]=e}if(z){z(a,d,b)}throw null}
var H;function I(){if(!H){H=true;var
a=m.createElement(wb);a.src=xb;a.id=P;a.style.cssText=yb;a.tabIndex=-1;m.body.appendChild(a);n&&n({moduleName:P,sessionId:o,subSystem:Q,evtGroup:W,millis:(new
Date).getTime(),type:zb});a.contentWindow.location.replace(s+K)}}
v[Ab]=function(){var b=navigator.userAgent.toLowerCase();var
c=function(a){return parseInt(a[1])*1000+parseInt(a[2])};if(function(){return
b.indexOf(Bb)!=-1}())return Bb;if(function(){return b.indexOf(Cb)!=-1}())return
Db;if(function(){return b.indexOf(Eb)!=-1&&m.documentMode>=9}())return
Fb;if(function(){return b.indexOf(Eb)!=-1&&m.documentMode>=8}())return
Gb;if(function(){var a=/msie
([0-9]+)\.([0-9]+)/.exec(b);if(a&&a.length==3)return c(a)>=6000}())return
Hb;if(function(){return b.indexOf(Ib)!=-1}())return Jb;return
Kb};u[Ab]={gecko1_8:0,ie6:1,ie8:2,ie9:3,opera:4,safari:5};commonmapui.onScriptLoad=function(){if(H){q=true;B()}};commonmapui.onInjectionDone=function(){p=true;n&&n({moduleName:P,sessionId:o,subSystem:Q,evtGroup:Lb,millis:(new
Date).getTime(),type:X});B()};D();C();var J;var
K;if(A()){if(l.external&&(l.external.initModule&&l.external.initModule(P))){l.location.reload();return}K=Mb;J=O}n&&n({moduleName:P,sessionId:o,subSystem:Q,evtGroup:R,millis:(new
Date).getTime(),type:Nb});if(!A()){try{F([Fb],Ob);F([Jb],Pb);F([Hb],Qb);F([Bb],Rb);F([Gb],Sb);F([Db],Tb);J=w[G(Ab)];var
L=J.indexOf(Ub);if(L!=-1){x=Number(J.substring(L+1));J=J.substring(0,L)}K=J+Vb}catch(a){return}}var
M;function
N(){if(!r){r=true;B();if(m.removeEventListener){m.removeEventListener(Wb,N,false)}if(M){clearInterval(M)}}}
if(m.addEventListener){m.addEventListener(Wb,function(){I();N()},false)}var
M=setInterval(function(){if(/loaded|complete/.test(m.readyState)){I();N()}},50);n&&n({moduleName:P,sessionId:o,subSystem:Q,evtGroup:R,millis:(new
Date).getTime(),type:X});n&&n({moduleName:P,sessionId:o,subSystem:Q,evtGroup:Lb,millis:(new
Date).getTime(),type:S});m.write(Xb)}
commonmapui();