1 17 package org.alfresco.web.ui.common.tag.description; 18 19 import javax.faces.component.UIComponent; 20 21 import org.alfresco.web.ui.common.tag.BaseComponentTag; 22 23 28 public class DynamicDescriptionTag extends BaseComponentTag 29 { 30 private String selected; 31 private String functionName; 32 33 36 public String getComponentType() 37 { 38 return "org.alfresco.faces.DynamicDescription"; 39 } 40 41 44 public String getRendererType() 45 { 46 return null; 47 } 48 49 52 protected void setProperties(UIComponent component) 53 { 54 super.setProperties(component); 55 56 setStringProperty(component, "selected", this.selected); 57 setStringStaticProperty(component, "functionName", this.functionName); 58 } 59 60 63 public void setSelected(String selected) 64 { 65 this.selected = selected; 66 } 67 68 71 public void setFunctionName(String functionName) 72 { 73 this.functionName = functionName; 74 } 75 76 79 public void release() 80 { 81 super.release(); 82 83 this.selected = null; 84 this.functionName = null; 85 } 86 } 87 | Popular Tags |