*/
public class HtmlFormBuilderDate extends HtmlFormBuilderItem {
@Override
public void renderView() {
HtmlInputText input = new HtmlInputText();
input.setStyleClass("datepicker");
String backgroundColor = "";
if (isDisabled()) {
input.setDisabled(true);
} else {
backgroundColor = "background-color: white;";
}
if (getValue() != null) {
input.setValue(getValue());
} else {
if (properties.getValues() == null) {
input.setValue("");
} else {
input.setValue(properties.getValues());
}
}
if (getDataUuid() != null) {
input.setId(getDataUuid());
}
input.setReadonly(true);
HtmlCustomOutputLabel output = new HtmlCustomOutputLabel(properties);
addLabeledComponent(output, input, "width: 10em;" + backgroundColor);
}