Configures the component based on the tag handler property
values.
super.setProperties(component);
FacesContext context = getFacesContext();
if (startYear != null) {
if (isValueReference(startYear)) {
ValueBinding vb =
context.getApplication().createValueBinding(startYear);
component.setValueBinding("startYear", vb);
} else {
component.getAttributes().put("startYear",
new Integer(startYear));
}
}
if (years != null) {
if (isValueReference(years)) {
ValueBinding vb =
context.getApplication().createValueBinding(years);
component.setValueBinding("years", vb);
} else {
component.getAttributes().put("years", new Integer(years));
}
}
if (value != null) {
if (isValueReference(value)) {
ValueBinding vb =
context.getApplication().createValueBinding(value);
component.setValueBinding("value", vb);
} else {
component.getAttributes().put("value", value);
}
}
if (styleClass != null) {
if (isValueReference(styleClass)) {
ValueBinding vb =
context.getApplication().createValueBinding(styleClass);
component.setValueBinding("styleClass", vb);
} else {
component.getAttributes().put("styleClass", styleClass);
}
}