Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Invalid
-
1.1.9
-
None
-
None
Description
When the popupDateFormat is set to "MM-yyyy" or "01-MM-yyyy" and after a value is chosen through the popup calendar, after clicking on the image again the previous month is selected.
<t:inputCalendar value="#
{theBean.thePojo.someDate}"
binding="#
"
converter="MMYYYYDateConverter" renderAsPopup="true"
renderPopupButtonAsImage="true" popupDateFormat="MM-yyyy" />
someDate is a Calendar. someDateInput is a UIInput. The converter is programmed to match popupDateFormat.
1. Click on the popup image.
2. Select some date, say februari 15th 2010
3. See that the inputCalendar has it's value set to: 02-2010
4. Click on the popup image
5. See that the popup shows januari 31 2010 as selected value
(the behaviour is that it always has the last day of the previous month selected)
When I replace the format with "01-MM-yyyy" I have the same result. When I replace the format with "dd-MM-yyyy" the popup works fine.