In my overlays I wrap a JavaScript Date object in a JsDate:
public final native JsDate getDueDate() /*-{
return this["dueDate"];
}-*/;
However when I want to use that date in a widget, say a DateBox, I
need to set the value as a Java Date. I can create a Java Date from my
JsDate and then set the value.
Is there a cleaner way of achieving this? Or maybe am I missing
something?
Thanks a lot
--
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.