Or, you can use the FormDef Struts plugin, which supports these
localization features, including localized dates and numbers.  =p


On Fri, 8 Oct 2004 14:51:17 -0700, Craig McClanahan <[EMAIL PROTECTED]> wrote:
> On Fri, 8 Oct 2004 10:17:17 -0500, David Suarez
> <[EMAIL PROTECTED]> wrote:
> > Hello,
> >
> > I've been through the same recently with dates formatting.  Sounds like
> > we did exactly the same thing, seen on the web where others have also
> > done the same.  Do you remember the reasoning for not handling it within
> > struts?  I wanted to see if maybe there was a good reason for this that
> > I may be missing or is it just that no one has gotten around to doing
> > the full i18n features within struts/commons.  If it's the latter, maybe
> > it'll be worth it for someone to take it on?  From my last email it
> > sounded like the process is for a person to take it on themselves and
> > donate it which is presently not possible for me to do.  Would anyone
> > else on this list have the time to do something like this?
> >
> 
> Part of the challenge of solving this problem with Struts and the
> current Commons packages is that the conversions you need to do are
> Locale sensitive, but there's no easy way with the current APIs to
> pass in the Locale object to the converter instance.  [BeanUtils] has
> a Locale sensitive version of the conversion utilities, but it would
> break backwards compatibility for Struts to switch directly to that --
> it would require a bunch of work to enable a backwards-compatible mode
> that uses the existing converters.  And a bunch of this work would be
> in the HTML tag libraries, which none of the maintainers are much
> interested in at the moment.
> 
> As for myself, i18n is one of many reasons that I like using JSF
> components instead of Struts HTML tags for my user interface.
> Locale-specific conversion is one of a bunch of benefits.
> 
> > Figured I'd hope for the best.
> >
> > Regards...djsuarez
> >
> 
> Craig
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to