This content has been marked as final.
Show 1 reply
-
1. Re: <f:converdatetime pattern not working for MM/dd/YY
pmohanan Jul 27, 2007 11:51 PM (in response to pmohanan)Sorry we added the validator later :
The actual code should look like this:
<t:inputCalendar id="startdate" size="11" maxlength="10" renderAsPopup="true" popupButtonStyle="height:17px;vertical-align:middle" popupButtonImageUrl="../../images/calendar1.gif" renderPopupButtonAsImage="true"
value="#{hrDataViewBean.effectiveFromDate}"
styleClass="FrmNormalType">
<f:convertDateTime type="date"
pattern="MM/dd/YYYY" timeZone="America/Los_Angeles" />
</t:inputCalendar>