}
@Override
protected void setProperties(UIComponent uiComponent) {
super.setProperties(uiComponent);
UIWizard component = (UIWizard) uiComponent;
FacesContext context = FacesContext.getCurrentInstance();
Application application = context.getApplication();
if (controller != null && isValueReference(controller)) {
component.setValueBinding("controller", application.createValueBinding(controller));
}
if (outcome != null) {
if (isValueReference(outcome)) {
component.setValueBinding("outcome", application.createValueBinding(outcome));
} else {
component.setOutcome(outcome);
}
}
if (var != null) {
if (isValueReference(var)) {
component.setValueBinding("var", application.createValueBinding(var));
} else {
component.setVar(var);
}
}
if (title != null) {
if (isValueReference(title)) {
component.setValueBinding("title", application.createValueBinding(title));
} else {
component.setTitle(title);
}
}
if (allowJumpForward != null) {
if (isValueReference(allowJumpForward)) {
component.setValueBinding("allowJumpForward", application.createValueBinding(allowJumpForward));
} else {
component.setAllowJumpForward(Boolean.valueOf(allowJumpForward));
}
}
}