myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Werner Punz <werner.p...@gmail.com>
Subject Re: t:inputCalendar
Date Thu, 28 Jun 2007 12:35:53 GMT
::SammyRulez:: schrieb:
> Are there any convenient way to do so once for app or should we spam
> timezone attribute in every inputCalendar component?
> 
you could use a central application scoped bean for delivering your
timezone attribute...


> 2007/5/7, omidh <omidh@gmx.de>:
>>
>> Thank you very much Simon,
>> it worked.
>>
>> bye.
>>
>>
>> Simon Kitching-3 wrote:
>> >
>> > The default timezone for date controls is UTC aka GMT.
>> >
>> > Set the timezone attribute of the component to control what timezone is
>> > used.
>> >
>> >
>> > omidh wrote:
>> >> Hi all,
>> >>
>> >> I have a little problem with tomahawk...
>> >> When Insert a t:inputCalendar field everything works fine...
>> >> But when I try to save the Date in a Backing Bean in a Date field,
>> also
>> >> these works ;),
>> >> but by printing out the Date again, I get all the time one day
>> befor the
>> >> selected Date printed out...
>> >> Is these a bug in tomahawk? or a config failure, here my Tag:
>> >>
>> >> <f:subview id="date_field" rendered="#{datatype.type == 'date'}">
>> >>                                                     
>> <t:inputCalendar id="inputdate_field"
>> >> monthYearRowClass="yearMonthHeader" weekRowClass="weekHeader"
>> >> popupButtonStyleClass="standard_bold"
>> >>                                             
>> currentDayCellClass="currentDayCell"
>> >> value="#{datatype.value_date}"
>> >>                                              renderAsPopup="true"
>> popupTodayString="Today: "
>> >>                                             
>> popupDateFormat="MM/dd/yyyy" popupWeekString="Week: "
>> >>                                              helpText="MM/DD/YYYY"/>
>> >>                                              </f:subview>
>> >>
>> >> you cann also what I described on:
>> >> http://www.irian.at/myfaces/calendar.jsf
>> >> , click on a date in the Calender Form an look whats printed out.
>> >>
>> >> thanks in advance,
>> >> Omid
>> >
>> >
>> >
>>
>> -- 
>> View this message in context:
>> http://www.nabble.com/t%3AinputCalendar-tf3701861.html#a10353718
>> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>>
>>
> 
> 


Mime
View raw message