use of org.alfresco.web.ui.repo.component.shelf.UIClipboardShelfItem in project acs-community-packaging by Alfresco.
the class ClipboardShelfItemTag method setProperties.
/**
* @see javax.faces.webapp.UIComponentTag#setProperties(javax.faces.component.UIComponent)
*/
protected void setProperties(UIComponent component) {
super.setProperties(component);
setStringBindingProperty(component, "collections", this.collections);
if (isValueReference(this.pasteActionListener)) {
MethodBinding vb = getFacesContext().getApplication().createMethodBinding(this.pasteActionListener, ACTION_CLASS_ARGS);
((UIClipboardShelfItem) component).setPasteActionListener(vb);
} else {
throw new FacesException("Paste Action listener method binding incorrectly specified: " + this.pasteActionListener);
}
}
Aggregations