Description
When I set a Converter for java.util.Calendar to inputCalendar, the value will not be rendered.
<t:inputCalendar id="calendar_1"
value="#
"
renderAsPopup="true">
<f:converter converterId="de.orgaplan.faces.CalendarConverter" />
</t:inputCalendar>
Because the HtmlCalendarRenderer throws an IllegalArgumentException and set the value to null.
My Converter is not an Instance of DateConverter.
Date value;
try
{
// value = RendererUtils.getDateValue(inputCalendar);
Converter converter = getConverter(inputCalendar);
if (converter instanceof DateConverter)
else
{ value = RendererUtils.getDateValue(inputCalendar); } }
catch (IllegalArgumentException illegalArgumentException)