1 17 package org.alfresco.web.ui.common.tag; 18 19 import javax.faces.component.UIComponent; 20 21 26 public class OutputTextTag extends HtmlComponentTag 27 { 28 private String value; 29 private String encodeForJavaScript; 30 31 34 public String getComponentType() 35 { 36 return "org.alfresco.faces.OutputText"; 37 } 38 39 42 public String getRendererType() 43 { 44 return null; 46 } 47 48 51 protected void setProperties(UIComponent component) 52 { 53 super.setProperties(component); 54 setStringProperty(component, "value", this.value); 55 setBooleanProperty(component, "encodeForJavaScript", this.encodeForJavaScript); 56 } 57 58 61 public void release() 62 { 63 super.release(); 64 this.value = null; 65 this.encodeForJavaScript = null; 66 } 67 68 73 public void setValue(String value) 74 { 75 this.value = value; 76 } 77 78 83 public void setEncodeForJavaScript(String encodeForJavaScript) 84 { 85 this.encodeForJavaScript = encodeForJavaScript; 86 } 87 } 88 | Popular Tags |