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 DescriptionTag extends BaseComponentTag 29 { 30 private String controlValue; 31 private String text; 32 33 36 public String getComponentType() 37 { 38 return "org.alfresco.faces.Description"; 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, "controlValue", this.controlValue); 57 setStringProperty(component, "text", this.text); 58 } 59 60 63 public void setControlValue(String controlValue) 64 { 65 this.controlValue = controlValue; 66 } 67 68 71 public void setText(String text) 72 { 73 this.text = text; 74 } 75 76 79 public void release() 80 { 81 super.release(); 82 83 this.controlValue = null; 84 this.text = null; 85 } 86 } 87 | Popular Tags |