Sorry, my bad. Meant f:convertDateTime,
e.g.:
<x:inputCalendar id="date"
monthYearRowClass="yearMonthHeader" weekRowClass="weekHeader"
currentDayCellClass="currentDayCell" value="#{bean.date}"
renderAsPopup="true">
<f:convertDateTime type="date" dateStyle="short" timeStyle="short" pattern="MM/dd/yy"/>
</x:inputCalendar>
<f:convertDateTime type="date" dateStyle="short" timeStyle="short" pattern="MM/dd/yy"/>
</x:inputCalendar>
Kalle
From: Raphael Berehoudougou [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 18, 2005 1:06 AM
To: MyFaces Discussion
Subject: RE: inputCalendar> Date FormatI cannot find this tag (f:formatDate)
From: Korhonen, Kalle [mailto:[EMAIL PROTECTED]
Sent: 17 May 2005 08:21
To: MyFaces Discussion
Subject: RE: inputCalendar> Date FormatUse a nested f:formatDate tag inside x:inputCalendar.Kalle
From: Raphael Berehoudougou [mailto:[EMAIL PROTECTED]
Sent: Monday, May 16, 2005 3:22 AM
To: [email protected]
Subject: <x:inputCalendar> Date FormatHi all,I am trying to format the date in the text box of that component to "DD/MM/YYYY". At present the format is "DD/MM/YY", yet all my other dates that are not using this component are in the right format.-- start code --<x:inputCalendar style="font-family:Verdana;font-size:11px;"monthYearRowClass="yearMonthHeader"weekRowClass="weekHeader"currentDayCellClass="currentDayCell"value="#{date1}"renderAsPopup="true"/>where date1 is declared as a java.util.Date Object in the faces-config and the application locale is set to "en-GB"-- end code --Regards,
This communication contains information which is confidential and is for the exclusive use of the addressee. Any unauthorised use, distribution or copying of the information is prohibited. If you have received this transmission in error please contact the sender immediately.
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
This communication contains information which is confidential and is for the exclusive use of the addressee. Any unauthorised use, distribution or copying of the information is prohibited. If you have received this transmission in error please contact the sender immediately.
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________

