I think I have solved my date/time issues by forcing a locale, but I
would welcome suggestions for a better solution.
In my module XML, I added the following line to include some
internationalization code:
I added the following line to my module XML for my locale:
Including the locale
Hello,
I recently made some tool updates to Helios & GWT 2.1, and everything
looks pretty good. However, I am seeing some changed behavior
regarding the date/time formatting and locales. Previously, my "out-
of-the-box" compile gave me "en-US" formatting (12 hr times, week
starting on Sun, and mm
I have not tested the edge conditions around daylight savings times,
but I found this useful:
import com.google.gwt.user.datepicker.client.CalendarUtil;
Date now = new Date();
int nDays = 1;
CalendarUtil.addDaysToDate(now, nDays);
The number of days can be negative if you need to go back. There
There are many ways to handle it. You should decide what is important
to your users and for your environment, and how you define a session
expiration.
In one GWT application, I use the Google UserService to get the
current user on the server side. I make sure the user is logged in at
the start, an
There are many ways to handle it, but you need to consider how to
present it to your users and other constraints specific to your
environment.
In one GWT app, I did nothing to detect client-side inactivity. I used
the Google UserService to detect session expiration on the server side
whenever ther