e.g. provide a bean method like

public TimeZone getTimeZone() { return TimeZone.getDefault();}

and use it in the converter:

<f:convertDateTime timeZone="#{bean.timeZone}"  .../>


Isn't there a faster way ?
to be obliged to put timeZone="" on every field is very annoying, I've a lot of date/time fields in my databases, and I need they are shwown exactly as they are inserted....


thanks,

--
Francesco Consumi
Ufficio Sistemi informativi
Istituto degli Innocenti
Piazza SS.Annunziata, 12
50122 Firenze
consumi at istitutodeglinnocenti.it
Tel. +39 055 2037320
ICQ# 12516133


Reply via email to