add to your outputText a converter

<h:outputText value="#{bean.dateprop}">
<f:convertDateTime pattern="dd-MM-yyyy" />
</h:outputText>

OR
set default locale = IT in faces-config.xml

2006/4/3, Nicola Benaglia <[EMAIL PROTECTED]>:
> Hi !
> I'd like to show dates in European format  dd-mm-yyyy by default. But
> with en_US locale I'd like to show the american format date  yyyy-mm-dd.
> Is there a tag to adapt the date or do I have to code it inside the bean ?
>
> bye,
> Nico
> ---
>
> Questa mail ed eventuali suoi allegati sono strettamente confidenziali. Se
> ricevete per errore questa mail, Vi preghiamo cortesemente di cancellarla
> immediatamente e di segnalare l'errore a chi ve l'ha spedita. Se Voi non siete
> il reale destinatario di questa mail non siete autorizzati alla copia, alla
> distribuzione e alla stampa di essa ne tantomeno ad una eventuale modifica
> dei contenuti.
>
> This message and any attachments are confidential and intended solely for
> the addressees. If you receive this message in error, please delete it and
> immediately notify the sender. If the reader of this message is not the
> intended recipient, you are hereby notified that any unauthorized use,
> copying, publication, printing or dissemination is prohibited. E-mails are
> susceptible to alteration.
>


--
::SammyRulez::
http://www.kyub.com/blojsom/

Reply via email to