Re: debugging javascript call.?

2011-08-16 Thread Ivan Pulleyn
Then you should check that $wnd.codeAddress exists and is a function

On Tue, Aug 16, 2011 at 2:37 PM, Navindian  wrote:

> before call:sanfrancisco is showing up in this alert. But it is not calling
> javascript function.
>
>
> On Tue, Aug 16, 2011 at 12:54 PM, Ivan Pulleyn wrote:
>
>> address parameter is likely null is this case
>>
>> On Tue, Aug 16, 2011 at 1:35 PM, Navindian  wrote:
>>
>>> Hi
 native void showGeoAddress(String address) /*-{

 alert('before call:'+address);
  $wnd.codeAddress(address);
 alert('not reaching this');
}
 I am trying to call javascript function from a GWT. somehow its not
 getting called. Not sure about the problem. any ideas. Atleast let me know
 how to debug this case?



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

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



Re: debugging javascript call.?

2011-08-16 Thread Navindian
before call:sanfrancisco is showing up in this alert. But it is not calling
javascript function.

On Tue, Aug 16, 2011 at 12:54 PM, Ivan Pulleyn wrote:

> address parameter is likely null is this case
>
> On Tue, Aug 16, 2011 at 1:35 PM, Navindian  wrote:
>
>> Hi
>>> native void showGeoAddress(String address) /*-{
>>>
>>> alert('before call:'+address);
>>>  $wnd.codeAddress(address);
>>> alert('not reaching this');
>>>}
>>> I am trying to call javascript function from a GWT. somehow its not
>>> getting called. Not sure about the problem. any ideas. Atleast let me know
>>> how to debug this case?
>>>
>>>
>>>
>>  --
>> 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-toolkit@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.
>>
>
>  --
> 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-toolkit@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.
>

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



Re: debugging javascript call.?

2011-08-16 Thread Ivan Pulleyn
address parameter is likely null is this case

On Tue, Aug 16, 2011 at 1:35 PM, Navindian  wrote:

> Hi
>> native void showGeoAddress(String address) /*-{
>>
>> alert('before call:'+address);
>>  $wnd.codeAddress(address);
>> alert('not reaching this');
>>}
>> I am trying to call javascript function from a GWT. somehow its not
>> getting called. Not sure about the problem. any ideas. Atleast let me know
>> how to debug this case?
>>
>>
>>
>  --
> 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-toolkit@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.
>

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



debugging javascript call.?

2011-08-15 Thread Navindian
>
> Hi
> native void showGeoAddress(String address) /*-{
>
> alert('before call:'+address);
>  $wnd.codeAddress(address);
> alert('not reaching this');
>}
> I am trying to call javascript function from a GWT. somehow its not getting
> called. Not sure about the problem. any ideas. Atleast let me know how to
> debug this case?
>
>
>

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