Hi,
My JSF code is as below:
<h:inputText value="#{register.dob}" id="dob" required="true" >
<f:convertDateTime type="date" pattern="MM-dd-yyyy"/>
</h:inputText>
even though I I enter a valid date (12-22-1956) in this date input field I am getting "Conversion error occurred" error.
Can any one point whats the issue ?
Thank you
--Ayub
My JSF code is as below:
<h:inputText value="#{register.dob}" id="dob" required="true" >
<f:convertDateTime type="date" pattern="MM-dd-yyyy"/>
</h:inputText>
even though I I enter a valid date (12-22-1956) in this date input field I am getting "Conversion error occurred" error.
Can any one point whats the issue ?
Thank you
--Ayub