}
String s = (String)uiInput.getValue();
UIFormDateTimeInput uiDateInput = (UIFormDateTimeInput)uiInput;
SimpleDateFormat sdf = new SimpleDateFormat(uiDateInput.getDatePattern_().trim());
UIForm uiForm = ((UIComponent)uiInput).getAncestorOfType(UIForm.class);
String label;
try
{
label = uiForm.getId() + ".label." + uiInput.getName();
}
catch (Exception e)
{
label = uiInput.getName();
}