You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by "Virtudazo, Dennis (Exchange)" <dv...@bear.com> on 2006/05/01 20:47:49 UTC

InputCalendar bugs

i'm using 1.1.1
 
- the valueChange event of the inputCalendar fires even when there is no
change inputted.
- the newValue returned is 1 day less than what was entered on the form
 
i think the former is an effect of the latter.
 
has anyone else seen this? the same code works in 1.0.9. 
 

Re: InputCalendar bugs

Posted by mathias °ö° <Ma...@statistik.sachsen.de>.
i found a solution here:

http://thread.gmane.org/gmane.comp.jakarta.myfaces.user/19435/focus=19435
http://thread.gmane.org/gmane.comp.jakarta.myfaces.user/19435/focus=19435 

the input component needs additionally a <f:convertDateTime> component

Example:

<t:inputCalendar value="#{date1}" id="date1" renderAsPopup="true" 
renderPopupButtonAsImage="true" 
...
popupSelectDateMessage="Das Datum [date] wurde gewählt">
<f:convertDateTime pattern="dd.MM.yyyy" ></f:convertDateTime>
</t:inputCalendar>


mathias °ö° wrote:
> 
> hi dennis
> 
> iam using 1.1.4 and have the same problem.
> have you now a solution ?
> 
> best regards
> mathias °ö°
> 
> 
> Virtudazo, Dennis (Exchange) wrote:
>> 
>> i'm using 1.1.1
>>  
>> - the valueChange event of the inputCalendar fires even when there is no
>> change inputted.
>> - the newValue returned is 1 day less than what was entered on the form
>>  
>> i think the former is an effect of the latter.
>>  
>> has anyone else seen this? the same code works in 1.0.9. 
>>  
>> 
>> 
>> 
>> ***********************************************************************
>> Bear Stearns is not responsible for any recommendation, solicitation, 
>> offer or agreement or any information about any transaction, customer 
>> account or account activity contained in this communication.
>> ***********************************************************************
>> 
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/InputCalendar-bugs-tf1538437.html#a8213759
Sent from the MyFaces - Users mailing list archive at Nabble.com.


Re: InputCalendar bugs

Posted by mathias °ö° <Ma...@statistik.sachsen.de>.
hi dennis

iam using 1.1.4 and have the same problem.
have you now a solution ?

best regards
mathias °ö°


Virtudazo, Dennis (Exchange) wrote:
> 
> i'm using 1.1.1
>  
> - the valueChange event of the inputCalendar fires even when there is no
> change inputted.
> - the newValue returned is 1 day less than what was entered on the form
>  
> i think the former is an effect of the latter.
>  
> has anyone else seen this? the same code works in 1.0.9. 
>  
> 
> 
> 
> ***********************************************************************
> Bear Stearns is not responsible for any recommendation, solicitation, 
> offer or agreement or any information about any transaction, customer 
> account or account activity contained in this communication.
> ***********************************************************************
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/InputCalendar-bugs-tf1538437.html#a8178736
Sent from the MyFaces - Users mailing list archive at Nabble.com.