ups, I overseen that. 

What a shame. I try this, thanks for this really fast response! 

> -----Original Message-----
> From: Bruno Aranda [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, November 15, 2005 10:01 AM
> To: MyFaces Discussion
> Subject: Re: inputDate and timeZones
> 
> ah, sorry, I read the mail too fast :-) Have you tried the timeZone
> attribute of the t:inputDate component?
> 
> Regards,
> 
> Bruno
> 
> 2005/11/15, Strittmatter, Stephan 
> <[EMAIL PROTECTED]>:
> > Okay, thanks Bruno,
> >
> > this is for outputText, but how could I modify it on inputDate?
> >
> > Regards,
> >
> > Stephan
> >
> > > -----Original Message-----
> > > From: Bruno Aranda [mailto:[EMAIL PROTECTED]
> > > Sent: Monday, November 14, 2005 4:38 PM
> > > To: MyFaces Discussion
> > > Subject: Re: inputDate and timeZones
> > >
> > > You have to use the attribute timeZone of the DateTime 
> converter. If
> > > you want them to keep the default timeZone, you can have 
> a manage bean
> > > with a getTimeZone method that returns 
> TimeZone.getDefault(), and use
> > > that attribute for the converter:
> > >
> > > <h:outputText value="#{myBean.myDate}">
> > >       <f:convertDateTime pattern="dd/MM/yyyy HH:mm"
> > > timeZone="#{myBean.timeZone}" />
> > > </h:outputText>
> > >
> > > Regards,
> > >
> > > Bruno
> > >
> > > 2005/11/14, Strittmatter, Stephan
> > > <[EMAIL PROTECTED]>:
> > > > Hello together,
> > > >
> > > > one question: How could I change the TimeZone on using 
> inputDate?
> > > > Is it possible to enable TimeZone or on the other hand 
> is there a
> > > > property to set it for the current session?
> > > >
> > > > Thanks for any help!
> > > >
> > >
> >
> 

Reply via email to