*/
protected void setProperties(UIComponent component)
{
// TODO Auto-generated method stub
super.setProperties(component);
Include comp = (Include) component;
if (this._ajaxRendered != null) {
if (this._ajaxRendered.isLiteralText()) {
try {
Boolean __ajaxRendered = (Boolean) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._ajaxRendered.getExpressionString(),
Boolean.class);
comp.setAjaxRendered(__ajaxRendered.booleanValue());
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("ajaxRendered", this._ajaxRendered);
}
}
if (this._dir != null) {
if (this._dir.isLiteralText()) {
try {
java.lang.String __dir = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._dir.getExpressionString(),
java.lang.String.class);
comp.setDir(__dir);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("dir", this._dir);
}
}
if (this._keepTransient != null) {
if (this._keepTransient.isLiteralText()) {
try {
Boolean __keepTransient = (Boolean) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._keepTransient.getExpressionString(),
Boolean.class);
comp.setKeepTransient(__keepTransient.booleanValue());
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("keepTransient", this._keepTransient);
}
}
if (this._lang != null) {
if (this._lang.isLiteralText()) {
try {
java.lang.String __lang = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._lang.getExpressionString(),
java.lang.String.class);
comp.setLang(__lang);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("lang", this._lang);
}
}
if (this._layout != null) {
if (this._layout.isLiteralText()) {
try {
java.lang.String __layout = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._layout.getExpressionString(),
java.lang.String.class);
comp.setLayout(__layout);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("layout", this._layout);
}
}
if (this._style != null) {
if (this._style.isLiteralText()) {
try {
java.lang.String __style = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._style.getExpressionString(),
java.lang.String.class);
comp.setStyle(__style);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("style", this._style);
}
}
if (this._styleClass != null) {
if (this._styleClass.isLiteralText()) {
try {
java.lang.String __styleClass = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._styleClass.getExpressionString(),
java.lang.String.class);
comp.setStyleClass(__styleClass);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("styleClass", this._styleClass);
}
}
if (this._title != null) {
if (this._title.isLiteralText()) {
try {
java.lang.String __title = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._title.getExpressionString(),
java.lang.String.class);
comp.setTitle(__title);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("title", this._title);