check also gwt-exporter:
http://code.google.com/p/gwtchismes/wiki/Tutorial_ExportingGwtLibrariesToJavascript_en

HTH
Michael

On May 20, 7:17 am, Sky <myonceinalifet...@gmail.com> wrote:
> Check out these two 
> sections:http://code.google.com/webtoolkit/doc/latest/DevGuideCodingBasicsJSNI...
>
> http://code.google.com/webtoolkit/doc/latest/DevGuideCodingBasicsJSNI...
>
> I believe the second link is what you need.
>
> cheers
>
> On May 19, 8:22 pm, Gabriel Gutierrez <gutierrez...@gmail.com> wrote:
>
>
>
> > Hey guys,
>
> > I know that GWT interfacts with native JS using JSNI, but my question
> > is: can I call from native JS to GWT generated code? how?
>
> > My idea is to write, in GWT, a class (MyClass) and then, in an HTML
> > file import the .nocache.js file and use native JS do something like
> > this
>
> > <script type="text/javascript">
> >     MyClass instance = new MyClass();
> >     instance.property = "value";
> > </script>
>
> > The reason is that i need to build a complex JS library and i dont
> > want to think about browsers compatibility it will take a lot of time.
>
> > Thanks on advance your comments.
>
> > --
> > 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 
> > athttp://groups.google.com/group/google-web-toolkit?hl=en.
>
> --
> 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 
> athttp://groups.google.com/group/google-web-toolkit?hl=en.

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

Reply via email to