Hi,

I've recently just started looking into GWT, and am looking for a way
to make a project/package subscribe to channels that other widgets are
publishing.  I just tried to get some simple code to work (pulled
partially from a site somewhere), but have no idea if I'm even on the
right path.

        public native void tryJS()/*-{
                $wnd.createJS = function () {
                        console.log("we've reached the tryJS function!");
                };
        }-*/;

        public void onModuleLoad() {
            tryJS();
              ...

To my knowledge, a function called "createJS" is created, which I'm
not even sure how to trigger, though preferebly I'd like to just
implement some javascript that equates to
dojo.subscribe("channelName") or something... Can anyone point me in
the right direction or let me know what I should be doing?

Thanks,
Moiraine

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

Reply via email to