The following code is not working because "default" seems to be a JavaScript keyword. Is there an easy way of fixing this? I want to av开发者_高级运维oid to change the name on the server side.
public final native boolean getDefault() /*-{
return this.default;
}-*/;
Thanks in advance
kukudas
Use array access instead of variable access:
return this['default'];
精彩评论