use of org.alfresco.web.ui.repo.component.shelf.UIShelf in project acs-community-packaging by Alfresco.
the class ShelfTag method setProperties.
/**
* @see javax.faces.webapp.UIComponentTag#setProperties(javax.faces.component.UIComponent)
*/
protected void setProperties(UIComponent component) {
super.setProperties(component);
setStringProperty(component, "groupPanel", this.groupPanel);
setStringProperty(component, "groupBgcolor", this.groupBgcolor);
setStringProperty(component, "selectedGroupPanel", this.selectedGroupPanel);
setStringProperty(component, "selectedGroupBgcolor", this.selectedGroupBgcolor);
setStringProperty(component, "innerGroupPanel", this.innerGroupPanel);
setStringProperty(component, "innerGroupBgcolor", this.innerGroupBgcolor);
if (this.groupExpandedActionListener != null) {
if (isValueReference(this.groupExpandedActionListener)) {
MethodBinding vb = getFacesContext().getApplication().createMethodBinding(this.groupExpandedActionListener, ACTION_CLASS_ARGS);
((UIShelf) component).setGroupExpandedActionListener(vb);
} else {
throw new FacesException("Shelf Group Expanded Action listener method binding incorrectly specified: " + this.groupExpandedActionListener);
}
}
}
Aggregations