The datetime taglib already has support for internationalization
by using Locale.

I think your suggestion has merit.  It would be natural to have
all tags that implement data types that support (internationalization) 
using Locale in one taglib.

Why not a new taglib that combines i18n, datetime, currency,
and any other data types that support Locale.  I think a
better name than "format" could be used, not sure what.

I would vote +0 on this since I don't have time to help.

Glenn


James Strachan wrote:
> 
> From: "Mark Femal" <[EMAIL PROTECTED]>
> 
> > Started to use the Jakarta datetime lib and wanted to suggest a few
> > improvements (nothing earth-shattering here, just some small suggestions):
> 
> While we're on the subject, I'd quite like there to be general 'formatting'
> and 'parsing' tags for all the primitive data types too - Date, Datetime,
> Number and currencies.
> 
> I was wondering if we could refactor the formatting and parsing part of the
> datetime tag library into either another library "format" or into the i18n
> library - then leaving the calendar related features in the 'datetime' tag
> library?
> 
> e.g. it would be nice to be able to do
> 
> <format:number value="123.123"/>
> <format:date value="<%= new Date() %>"/>
> 
> or maybe the i18n is the natural place for this stuff?
> 
> <i18n:formatDate value="<%= new Date() %>"/>
> <i18n:formatCurrency value="<%= 1235 / 6789 %>"/>
> 
> <James/>
> 
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com

-- 
----------------------------------------------------------------------
Glenn Nielsen             [EMAIL PROTECTED] | /* Spelin donut madder    |
MOREnet System Programming               |  * if iz ina coment.      |
Missouri Research and Education Network  |  */                       |
----------------------------------------------------------------------

Reply via email to