On 26 oct, 16:08, mat <[EMAIL PROTECTED]> wrote:
>
> In Javascript its possible to enumerate Javascript Objects:
>
> e.g:
>
> var my obj = {"key1": "value 1","key2":"value 2", "key3","value3"};
>
> for (var key in obj)
> {
>   var currentValue = obj[key];
>
> };
>
> I would like to know how to do this with Javascript Overlay Types in
> GWT.

Use the same code within a JSNI method.

Eventually you could instanciate a JSONObject to wrap your overlay,
but it has a cost.
--~--~---------~--~----~------------~-------~--~----~
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