One solution (but not recommended!) is to set the Locale in the reset
method.
Another solution are the formatting possibilities of the struts bean tags
(http://jakarta.apache.org/struts/userGuide/struts-bean.html#write), that
use formatting strings read from the ApplicationProperties.resources.

Björn

> -----Ursprüngliche Nachricht-----
> Von:  [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
> Gesendet am:  Freitag, 19. Juli 2002 13:12
> An:   [EMAIL PROTECTED]
> Betreff:      Locale in FormBean
> 
> I want to have the Locale of the Browser in my FormBean, so that
> I can format some dates and time in the get Methods.
> 
> Till now I'm creating and setting the Bean in the previeous called action.
> Is there a better way to do it? (an automatic one?)
> 
> Thanks in advance Matthias.
> 
> 
> 
> --------------------------------------------------------------------------
> --
> ----------------
> Hanel Matthias
> Fachinformatiker (Anwendungsentwicklung) in Ausbildung
> Logistik World GmbH   Fon:    +49-841-9014-300
> Marie-Curie-Strasse 6 Fax:    +49-841-9014-302 
> D- 85055 Ingolstadt           mailto:[EMAIL PROTECTED]
> --------------------------------------------------------------------------
> --
> ----------------
> 
> 
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>

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

Reply via email to