*/
protected void setProperties(UIComponent component)
{
// TODO Auto-generated method stub
super.setProperties(component);
HtmlDndParam comp = (HtmlDndParam) component;
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._type != null) {
if (this._type.isLiteralText()) {
try {
java.lang.String __type = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._type.getExpressionString(),
java.lang.String.class);
comp.setType(__type);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("type", this._type);
}
}
if (this._value != null) {
if (this._value.isLiteralText()) {
try {
java.lang.Object __value = (java.lang.Object) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._value.getExpressionString(),
java.lang.Object.class);
comp.setValue(__value);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("value", this._value);