*/
protected void setProperties(UIComponent component)
{
// TODO Auto-generated method stub
super.setProperties(component);
HtmlDragIndicator comp = (HtmlDragIndicator) component;
if (this._acceptClass != null) {
if (this._acceptClass.isLiteralText()) {
try {
java.lang.String __acceptClass = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._acceptClass.getExpressionString(),
java.lang.String.class);
comp.setAcceptClass(__acceptClass);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("acceptClass", this._acceptClass);
}
}
if (this._rejectClass != null) {
if (this._rejectClass.isLiteralText()) {
try {
java.lang.String __rejectClass = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._rejectClass.getExpressionString(),
java.lang.String.class);
comp.setRejectClass(__rejectClass);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("rejectClass", this._rejectClass);