You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Phan Le <pl...@neuragenix.com> on 2005/08/01 09:00:05 UTC

x:inputCalendar issue with dd/MM/yyyy format

Hi all,

I am using standard latest myfaces distribution (1.0.9) and having some 
issues with inputCalendar.
What I am using is:

<x:inputCalendar id="addDate1" value="#{aBean.addDate}" 
renderAsPopup="true" popupDateFormat="dd/MM/yyyy" required="false" />

when first time you select the time, it works fine. But if you when to 
change the value, clicking on the calendar gives you an error in the 
pop-up window with the month ="undefined"
I changed the format to dd/M/yyyy and it works fine. So it maybe because 
the JS stuff not quite right.
Thanks,




Re: x:inputCalendar issue with dd/MM/yyyy format

Posted by Bruno Aranda <br...@gmail.com>.
This has been fixed today (was JIRA MYFACES-378), so you can download
the next nightly build or build from the svn trunk,

Regards,

Bruno

2005/8/1, Phan Le <pl...@neuragenix.com>:
> Hi all,
> 
> I am using standard latest myfaces distribution (1.0.9) and having some
> issues with inputCalendar.
> What I am using is:
> 
> <x:inputCalendar id="addDate1" value="#{aBean.addDate}"
> renderAsPopup="true" popupDateFormat="dd/MM/yyyy" required="false" />
> 
> when first time you select the time, it works fine. But if you when to
> change the value, clicking on the calendar gives you an error in the
> pop-up window with the month ="undefined"
> I changed the format to dd/M/yyyy and it works fine. So it maybe because
> the JS stuff not quite right.
> Thanks,
> 
> 
> 
>