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