Hey Shedokan,

The approach I've used for that is to attach a GWT function to the
window object ($wnd).

There's an example in the docs over here:
http://code.google.com/webtoolkit/doc/1.6/DevGuideCodingBasics.html#DevGuideJavaScriptNativeInterface

Check under the subsection "Calling a Java Method from Handwritten JavaScript".

Like Ian said, you could also use GWT Exporter.

Hope this helps!

On Thu, Jun 11, 2009 at 1:58 PM, Shedokan<shedok...@gmail.com> wrote:
>
> Hello,
> How can I name a function like "start()" and it will not change while
> compliling so that other javascript can call it?
>
> thanks.

-- 
Alex Rudnick
swe, gwt, atl

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to