Re: JsParserException: invalid label

2009-04-22 Thread Thomas Broyer
On 21 avr, 10:02, Chuck wrote: > Hi there! > > Can anyone help me with the error mentioned above? > > I try to make an interface to JavaScript so I can call a function. My > Java code looks like that: > >  public void onModuleLoad() { > >         setShowTrigger(this); > >   } > >   public nativ

Re: JsParserException: invalid label

2009-04-21 Thread Salvador Diaz
Hey ! Please don't post multiple times your questions (http:// groups.google.com/group/Google-Web-Toolkit/msg/0675da9d966c77d7), be patient and maybe somebody will reply ;) So about your popup thing, why use JSNI when you can just do public void onModuleLoad() { Window.alert("This is

JsParserException: invalid label

2009-04-21 Thread Chuck
Hi there! Can anyone help me with the error mentioned above? I try to make an interface to JavaScript so I can call a function. My Java code looks like that: public void onModuleLoad() { setShowTrigger(this); } public native void setShowTrigger(Index x)/*-{ $wnd.showIndex = f