Technically, Here you are trying to call java method from javascript.
I did not come across this situation, try full compile if throws any
errors.

Global School District
http://schoolk12.appspot.com/




On Sep 14, 9:57 am, Jésica <[email protected]> wrote:
> 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