admin@glassfish.java.net

Re: calendar component

From: Bill Shannon <bill.shannon_at_sun.com>
Date: Mon, 16 Apr 2007 12:04:34 -0700

Ken Paulsen wrote:
>
> Hi Bill,
>
> I just looked into the code, it appears that the code does support
> locale sensitive Date formats (in fact, you can supply any DateFormat
> and it appears to respect it).
>
> However, Senthil has a page which the user enters the format on the same
> page as the Date. I didn't understand this before, I'm working w/ him
> on a better solution for this now...

Why is that needed rather than just leaving it up to the locale?

Of course, if the user has to enter the date in a particular format,
you better be able to tell them what format to use for the locale
they're running in!

Doesn't the calendar component allow picking the date from a calendar?
If so, that seems good enough for now.