*/
protected void setProperties(UIComponent component)
{
// TODO Auto-generated method stub
super.setProperties(component);
HtmlAjaxSupport comp = (HtmlAjaxSupport) component;
if (this._bypassUpdates != null) {
if (this._bypassUpdates.isLiteralText()) {
try {
Boolean __bypassUpdates = (Boolean) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._bypassUpdates.getExpressionString(),
Boolean.class);
comp.setBypassUpdates(__bypassUpdates.booleanValue());
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("bypassUpdates", this._bypassUpdates);
}
}
if (this._data != null) {
if (this._data.isLiteralText()) {
try {
java.lang.Object __data = (java.lang.Object) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._data.getExpressionString(),
java.lang.Object.class);
comp.setData(__data);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("data", this._data);
}
}
if (this._disabled != null) {
if (this._disabled.isLiteralText()) {
try {
Boolean __disabled = (Boolean) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._disabled.getExpressionString(),
Boolean.class);
comp.setDisabled(__disabled.booleanValue());
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("disabled", this._disabled);
}
}
if (this._eventsQueue != null) {
if (this._eventsQueue.isLiteralText()) {
try {
java.lang.String __eventsQueue = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._eventsQueue.getExpressionString(),
java.lang.String.class);
comp.setEventsQueue(__eventsQueue);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("eventsQueue", this._eventsQueue);
}
}
if (this._focus != null) {
if (this._focus.isLiteralText()) {
try {
java.lang.String __focus = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._focus.getExpressionString(),
java.lang.String.class);
comp.setFocus(__focus);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("focus", this._focus);
}
}
if (this._ignoreDupResponses != null) {
if (this._ignoreDupResponses.isLiteralText()) {
try {
Boolean __ignoreDupResponses = (Boolean) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._ignoreDupResponses.getExpressionString(),
Boolean.class);
comp.setIgnoreDupResponses(__ignoreDupResponses.booleanValue());
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("ignoreDupResponses", this._ignoreDupResponses);
}
}
if (this._onbeforedomupdate != null) {
if (this._onbeforedomupdate.isLiteralText()) {
try {
java.lang.String __onbeforedomupdate = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._onbeforedomupdate.getExpressionString(),
java.lang.String.class);
comp.setOnbeforedomupdate(__onbeforedomupdate);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("onbeforedomupdate", this._onbeforedomupdate);
}
}
if (this._onsubmit != null) {
if (this._onsubmit.isLiteralText()) {
try {
java.lang.String __onsubmit = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._onsubmit.getExpressionString(),
java.lang.String.class);
comp.setOnsubmit(__onsubmit);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("onsubmit", this._onsubmit);
}
}
if (this._process != null) {
if (this._process.isLiteralText()) {
try {
java.lang.Object __process = (java.lang.Object) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._process.getExpressionString(),
java.lang.Object.class);
comp.setProcess(__process);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("process", this._process);
}
}
if (this._requestDelay != null) {
if (this._requestDelay.isLiteralText()) {
try {
Integer __requestDelay = (Integer) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._requestDelay.getExpressionString(),
Integer.class);
comp.setRequestDelay(__requestDelay.intValue());
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("requestDelay", this._requestDelay);
}
}
if (this._similarityGroupingId != null) {
if (this._similarityGroupingId.isLiteralText()) {
try {
java.lang.String __similarityGroupingId = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._similarityGroupingId.getExpressionString(),
java.lang.String.class);
comp.setSimilarityGroupingId(__similarityGroupingId);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("similarityGroupingId", this._similarityGroupingId);
}
}
if (this._timeout != null) {
if (this._timeout.isLiteralText()) {
try {
Integer __timeout = (Integer) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._timeout.getExpressionString(),
Integer.class);
comp.setTimeout(__timeout.intValue());
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("timeout", this._timeout);