1 17 package org.alfresco.web.ui.repo.tag.shelf; 18 19 import javax.faces.component.UIComponent; 20 21 import org.alfresco.web.ui.common.tag.HtmlComponentTag; 22 23 26 public class ShelfGroupTag extends HtmlComponentTag 27 { 28 31 public String getComponentType() 32 { 33 return "org.alfresco.faces.ShelfGroup"; 34 } 35 36 39 public String getRendererType() 40 { 41 return null; 43 } 44 45 48 protected void setProperties(UIComponent component) 49 { 50 super.setProperties(component); 51 52 setStringProperty(component, "label", this.label); 53 setBooleanProperty(component, "expanded", this.expanded); 54 } 55 56 59 public void release() 60 { 61 super.release(); 62 63 this.label = null; 64 this.expanded = null; 65 } 66 67 72 public void setLabel(String label) 73 { 74 this.label = label; 75 } 76 77 82 public void setExpanded(String expanded) 83 { 84 this.expanded = expanded; 85 } 86 87 88 89 private String label; 90 91 92 private String expanded; 93 } 94 | Popular Tags |