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