jakarta-taglibs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Igor Kozlov <koz...@softline.kiev.ua>
Subject Re[2]: Add DateFormatSymbols attribute to datetime:format tag
Date Mon, 13 Jan 2003 14:21:58 GMT
GN> Although this patch works, it requires a page author to use a java scriptlet
GN> in their page to create the DateFormatSymbols object.

GN> What about a tag for creating the DateFormatSymbols object and saving it in a scope
GN> (session, page, request, application).
GN> Then passing in to the FormatTag a script variable for the FormatSymbols object?

I think this is a good idea. May be this tag will be look like this

<dateFormatSymbol id="newVariable" scope="session" resource="DateFormatSymbolResource"/>

DateFormatSymbolResource.properties
###################################
month0=JaNuArY
month1=FeBrUaRy

What you think about this?


--
To unsubscribe, e-mail:   <mailto:taglibs-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:taglibs-dev-help@jakarta.apache.org>


Mime
View raw message