Did you try: $wnd.functionFromAJsLibrary(...)
On Mon, Mar 1, 2010 at 1:40 PM, nou <[email protected]> wrote: > hello > > let's say I have a native method like this > > public static native void showBody() /*-{ > > var el = $doc.getElementById("whole"); > functionFromAJsLibrary(el); > }-*/; > > where I try to use the function functionFromAJsLibrary that belongs to > an external js library. > > Well ... I noticed GWT console tells me functionFromAJsLibrary doesnt > exist even though the lib file is imported b4 any other js in the host > page. It looks like the js code inside a native GWT method is sort of > isoleted from the rest of the real JavaScript code. > > Any workaround to make GWT native js code to "see" old fashioned js > libraries? > > 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 [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-web-toolkit%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- A coward is incapable of exhibiting love; it is the prerogative of the brave. -- Mohandas Gandhi -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. 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.
