The import java.util.Calendar cannot be resolved

1,143 views
Skip to first unread message

kaspar.ru

unread,
Dec 22, 2006, 2:53:00 PM12/22/06
to Google Web Toolkit
Hello
could anybody explain why the Calendar cant be resolved

Kees

unread,
Dec 23, 2006, 9:05:49 AM12/23/06
to Google Web Toolkit
Hello,

GWT only supports a set of JRE classes client side. This is because it
has to be compiled into JavaScript. A complete overview of supported
JRE classes that can be used client side can be found here:

http://code.google.com/webtoolkit/documentation/jre.html

FYI, server side you can use any class you want.

Hope this helps.

Regards,

Kees.

jatal

unread,
Dec 23, 2006, 12:35:05 PM12/23/06
to Google Web Toolkit
Depending on what you want to do, here's a few posts of interest:

If you want to display a calendar for user date selection, this post
has details of using GWT Widget Library's wrapper for JSCalendar:
<http://groups.google.com/group/Google-Web-To
olkit/browse_thread/thread/4f4ef7b61d913d23/d6b1c48bd5c37f2?lnk=gst&q=jscalendar&rnum=1&fwc=1>

Seems to be stuff about date format:
<http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/f9136940ddd494e9/e53fc30c7a2e42f9?lnk=gst&q=date&rnum=1#e53fc30c7a2e42f9>

If you want to do date manipulation, I'm not too good with that on the
client. I seem to see most folks doing basic validation on client,
then having server do advanced stuff.

Reply all
Reply to author
Forward
0 new messages