Which attribute is that?  I can't find that in the docs:

http://www.jsftoolbox.com/documentation/tomahawk/09-TagReference/tomahawk-inputCalendar.html

I see converter but it doesn't mention anything about timezone.  - Dave


Cagatay Civici wrote:
> 
> Have you tried setting the timezone on converter
> 
> On Thu, Dec 4, 2008 at 4:05 PM, laredotornado
> <[EMAIL PROTECTED]>wrote:
> 
>>
>> Hi,
>>
>> I'm using MyFaces 1.1.5 with Tomahawk 1.1.6 on WebLogic 9.2.2.  I have
>> this
>> input field on my JSF page:
>>
>>                                        <t:inputCalendar id="dateFrom"
>> value="#{SearchBean.fromDate}" helpText="mm-dd-yyyy" renderAsPopup="true"
>> renderPopupButtonAsImage="true">
>>                                                <f:convertDateTime
>> type="date" pattern="MM-dd-yyyy"/>
>>                                        </t:inputCalendar>
>>
>> and this backing bean code:
>>
>>        public void setFromDate(Date p_fromDate) {
>>                this.m_fromDate = p_fromDate;
>>                logger.debug("setting from date: " + this.m_fromDate);
>>        }
>>
>> but if I type a value like "10-10-2008" into my search box, what is
>> actually
>> logged is
>>
>> DEBUG 2008-12-04 09:04:17,270 -
>> [com.myco.nps_history.beans.SearchBean::setFromDate] - setting from date:
>> Thu Oct 09 18:00:00 MDT 2008
>>
>> What can I do to prevent this off-by-one error?
>>
>> Thanks, - Dave
>> --
>> View this message in context:
>> http://www.nabble.com/t%3Acalendar-is-giving-me-dates-off-by-1-day-tp20836530p20836530.html
>> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/t%3Acalendar-is-giving-me-dates-off-by-1-day-tp20836530p20836755.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.

Reply via email to