Hello All,
I have a quick question about rich:calendar which I am using on a lot of pages. I am using rich faces 3.1.4-GA.
I have a form with a calendar component. Below is how I am using the calendar component.
<rich:calendar id="date" enableManualInput="true" datePattern="MM/dd/yyyy"
value="#{bean.date}" required="true" >
<cus:convertDateTime pattern="MM/dd/yyyy" />
</rich:calendar>
All the custom tag, cus:convertDateTime does is change two year digits into 4 year digits.
The issue I have is, if I type in a date say 01/01/2008 and now I want to change the date to 01/02/2008. Instead of clearing the whole date and typing the new one, I just want to point my mouse cursor at 01 and delete digit 1 and type in digit 2. If I do that, the calendar component renders the date as 01/0/20082. Basically, it is not letting my type between slashes.
Can someone please tell me how to fix it?
Thanks