private static final Log LOG = LogFactory.getLog(DatePickerRenderer.class);
public void encodeBeginTobago(FacesContext facesContext,
UIComponent component) throws IOException {
UIDatePicker link = (UIDatePicker) component;
DatePickerController datePickerController = new DatePickerController();
UIDateInput dateInput = (UIDateInput) link.getForComponent();
if (dateInput == null) {
LOG.error("No required UIDateInput component found.");
}
String idPrefix = dateInput.getId() + "_picker";