Hi, I'm subclassing java.util.Date on the client side and adding the
following methods:
public native int getUTCHours() /*-{
return this.jsdate.getUTCHours();
}-*/;
public native int getUTCMinutes() /*-{
return this.jsdate.getUTCMinutes();
}-*/;
public native int getUTCSeconds() /*-{
return this.jsdate.getUTCSeconds();
}-*/;
This triggers a
Malformed JSNI reference 'jsdate';
exception.
Wouldn't a subclass of Date "inherit" the this.jsdate object that gets
created in the java.util.Date class:
http://www.google.com/codesearch?hl=en&q=show:ZcKOWfaA9h8:iyLMFl9qiok:LQhtoe_TR84&sa=N&ct=rd&cs_p=http://google-web-toolkit.googlecode.com/svn/trunk&cs_f=user/super/com/google/gwt/emul/java/util/Date.java
thanks for any help
-Ben
Thanks
-Ben
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---