Hi timt,
In which browser does this occur? Also, is this in web mode or in hosted
mode?
Something I'd like to suggest is to apply the best practice for JSON object
notation and put your object attributes in quotes. So:
private native JavaScriptObject createThirdPartyObject()/*-{
return new $wnd.thirdPartyObject('title',{
'keepRatio':true,
'coordinates':true,
'mini':{
x:60,
y:80
},
'handles':[['top','left']]
});
}-*/;
This might not make a difference, but for the moment I don't see anything
else that might be causing issues with understanding the handles directive.
Hope that helps,
-Sumit Chandel
On Fri, Jan 23, 2009 at 1:42 PM, timt <[email protected]> wrote:
>
> In the following code the directive handles:[['top','left']] is
> ignored. If I run this code in a javascript block in a plain old html
> page it works fine, but when I run this code in GWT it does not. It
> does not appear to assign the value of the javascript array to
> handles. Anyone know why this is or a work arround for this?
>
> private native JavaScriptObject createThirdPartyObject()/*-{
> return new $wnd.thirdPartyObject('title',{
> keepRatio:true,
> coordinates:true,
> mini:{
> x:60,
> y:80
> },
> handles:[['top','left']]
> });
> }-*/;
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---