protected void doDecode(FacesContext context, UIComponent component) {
if (!(component instanceof AbstractCalendar)) {
return;
}
AbstractCalendar calendar = (AbstractCalendar) component;
if (calendar.isDisabled()) {
return;
}
Map<String, String> requestParameterMap = context.getExternalContext().getRequestParameterMap();
String clientId = calendar.getClientId(context);
String currentDateString = (String) requestParameterMap.get(clientId + CURRENT_DATE_INPUT);
if (currentDateString != null) {
calendar.queueEvent(new CurrentDateChangeEvent(calendar, currentDateString));
}
String selectedDateString = requestParameterMap.get(clientId + "InputDate");
if (selectedDateString != null) {
calendar.setSubmittedValue(selectedDateString);
}
if (requestParameterMap.get(component.getClientId(context) + ".ajax") != null) {
PartialViewContext pvc = context.getPartialViewContext();
pvc.getRenderIds().add(