if (getRendererType() != null) {
component.setRendererType(getRendererType());
}
UIMessage comp = (UIMessage)component;
if (forComponent != null) {
if (isValueReference(forComponent)) {
ValueBinding vb = FacesContext.getCurrentInstance().getApplication().createValueBinding(forComponent);
component.setValueBinding("for", vb);
} else {
comp.setFor(forComponent);
}
}
if (showDetail != null) {
if (isValueReference(showDetail)) {
ValueBinding vb = FacesContext.getCurrentInstance().getApplication().createValueBinding(showDetail);
component.setValueBinding("showDetail", vb);
} else {
boolean bool = Boolean.valueOf(showDetail).booleanValue();
comp.setShowDetail(bool);
}
}
if (showSummary != null) {
if (isValueReference(showSummary)) {
ValueBinding vb = FacesContext.getCurrentInstance().getApplication().createValueBinding(showSummary);
component.setValueBinding("showSummary", vb);
} else {
boolean bool = Boolean.valueOf(showSummary).booleanValue();
comp.setShowSummary(bool);
}
}
}