Hi, I'm facing problems for calling a native method from another. i'm
trying to do It like this:

//JSNI code
public native void dragStart()/*-{
     alert("OnDragStart");
}-*/;

public native void addPushpin()/*-{
    (...)
    blah.Events.addHandler(pin, 'dragstart', dragStart);
    (...)
}-*/

I'm getting an error saying "dragStart" is not defined.
Is there an special way for making this interaction work?

Thanks,
Jésica.



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