declaring both a GWT and a javascript event handler on a html element

2010-09-07 Thread GWT noob
When I declare a event handler on a html element both at the GWT
level(using ClickHandler's onclick)  and at the external Javascript
levele(by using the onlclick attribute of the html element), the GWT
event handler is overriding the event handler in the external
javascript. Is there a way to have both these event handlers run on a
successful event.

thanks

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Error: missing ; after for-loop initializer

2009-03-04 Thread gwt-noob

In the Firefox error console I see the error message:

Error: missing ; after for-loop initializer
Source File: my host.cache.html
Line: 42, Column: 167

I'm using GWT 1.5.3 and I looking around found a Fixed issue but the
link on GWT release notes is dead
http://code.google.com/webtoolkit/releases/release-notes-1.1.10.html
(issue 4927592)

Maybe something is still not fixed and I've run into it. Any help
would be appreciated.

FYI, the page loads fine in GWT shell but IE, Firefox and Chrome all
dont work.

Thanks!


That line in the GWT generated code is:

function cr(q,r){var a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,s,t;if
(200==r.a.status){t=r.a.responseText;o=(t2(),C4(u2,t));c=c4(new b4(),
(B4(),o.a.getElementsByTagNameNS(ri,ik)));this.a.c=nab(new mab());for
(i=0;ic.a.length;++i){a=aq(new Ep());d=E3(f5(c.a,i));m=c4(new b4
(),d.a.childNodes);for(k=0;km.a.length;++k){p=E3(f5(m.a,k));if(j8
(p.a.nodeName,tk)){a.b=e4(c4(new b4(),p.a.childNodes),0).a.nodeValue}
else if(j8(p.a.nodeName,Ek)){s=c4(new b4(),p.a.childNodes);for
(l=0;ls.a.length;++l){e=c4(new b4(),E3(f5(s.a,l)).a.childNodes);f=new
Ap();Fq(e,jl);f.b=Fq(e,vl);n=Fq(e,am);if(n==null)continue;n=n.substr
(0,n.length-4-0);n+=lm;f.a=n;oab(a.a,f)}}}oab(this.a.c,a)}CW
(this.a.d);for(b=B${new z${},this.a.c};b.ab.b.Fb();){a=dy(E${b},
3);j=DV(new nV(),a.b);for(g=B${new z${},a.a};g.ag.b.Fb();){f=dy(E${g},
4);h=DV(new nV(),f.b);fY(h,f.a);j.u(h)}EU(this.a.d.g,j)}
this.a.i.t.style.display=ul}else{$wnd.alert(wm+r.a.status)}aR
(this.a.e)}

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---