*/
protected void setProperties(UIComponent component)
{
// TODO Auto-generated method stub
super.setProperties(component);
HtmlComponentControl comp = (HtmlComponentControl) component;
if (this._attachTiming != null) {
if (this._attachTiming.isLiteralText()) {
try {
java.lang.String __attachTiming = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._attachTiming.getExpressionString(),
java.lang.String.class);
comp.setAttachTiming(__attachTiming);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("attachTiming", this._attachTiming);
}
}
if (this._attachTo != null) {
if (this._attachTo.isLiteralText()) {
try {
java.lang.String __attachTo = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._attachTo.getExpressionString(),
java.lang.String.class);
comp.setAttachTo(__attachTo);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("attachTo", this._attachTo);
}
}
if (this._disableDefault != null) {
if (this._disableDefault.isLiteralText()) {
try {
Boolean __disableDefault = (Boolean) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._disableDefault.getExpressionString(),
Boolean.class);
comp.setDisableDefault(__disableDefault.booleanValue());
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("disableDefault", this._disableDefault);
}
}
if (this._event != null) {
if (this._event.isLiteralText()) {
try {
java.lang.String __event = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._event.getExpressionString(),
java.lang.String.class);
comp.setEvent(__event);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("event", this._event);
}
}
if (this._for != null) {
if (this._for.isLiteralText()) {
try {
java.lang.String __for = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._for.getExpressionString(),
java.lang.String.class);
comp.setFor(__for);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("for", this._for);
}
}
if (this._name != null) {
if (this._name.isLiteralText()) {
try {
java.lang.String __name = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._name.getExpressionString(),
java.lang.String.class);
comp.setName(__name);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("name", this._name);
}
}
if (this._operation != null) {
if (this._operation.isLiteralText()) {
try {
java.lang.String __operation = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._operation.getExpressionString(),
java.lang.String.class);
comp.setOperation(__operation);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("operation", this._operation);
}
}
if (this._params != null) {
if (this._params.isLiteralText()) {
try {
java.lang.String __params = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._params.getExpressionString(),
java.lang.String.class);
comp.setParams(__params);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("params", this._params);