1 16 package org.apache.cocoon.faces.taglib.html; 17 18 import javax.faces.component.UIComponent; 19 20 23 public class InputTextareaTag extends InputHiddenTag { 24 25 private String accesskey; 26 private String cols; 27 private String dir; 28 private String disabled; 29 private String lang; 30 private String onblur; 31 private String onchange; 32 private String onclick; 33 private String ondblclick; 34 private String onfocus; 35 private String onkeydown; 36 private String onkeypress; 37 private String onkeyup; 38 private String onmousedown; 39 private String onmousemove; 40 private String onmouseout; 41 private String onmouseover; 42 private String onmouseup; 43 private String onselect; 44 private String readonly; 45 private String rows; 46 private String style; 47 private String styleClass; 48 private String tabindex; 49 private String title; 50 51 52 public void setAccesskey(String accesskey) { 53 this.accesskey = accesskey; 54 } 55 56 public void setCols(String cols) { 57 this.cols = cols; 58 } 59 60 public void setDir(String dir) { 61 this.dir = dir; 62 } 63 64 public void setDisabled(String disabled) { 65 this.disabled = disabled; 66 } 67 68 public void setLang(String lang) { 69 this.lang = lang; 70 } 71 72 public void setOnblur(String onblur) { 73 this.onblur = onblur; 74 } 75 76 public void setOnchange(String onchange) { 77 this.onchange = onchange; 78 } 79 80 public void setOnclick(String onclick) { 81 this.onclick = onclick; 82 } 83 84 public void setOndblclick(String ondblclick) { 85 this.ondblclick = ondblclick; 86 } 87 88 public void setOnfocus(String onfocus) { 89 this.onfocus = onfocus; 90 } 91 92 public void setOnkeydown(String onkeydown) { 93 this.onkeydown = onkeydown; 94 } 95 96 public void setOnkeypress(String onkeypress) { 97 this.onkeypress = onkeypress; 98 } 99 100 public void setOnkeyup(String onkeyup) { 101 this.onkeyup = onkeyup; 102 } 103 104 public void setOnmousedown(String onmousedown) { 105 this.onmousedown = onmousedown; 106 } 107 108 public void setOnmousemove(String onmousemove) { 109 this.onmousemove = onmousemove; 110 } 111 112 public void setOnmouseout(String onmouseout) { 113 this.onmouseout = onmouseout; 114 } 115 116 public void setOnmouseover(String onmouseover) { 117 this.onmouseover = onmouseover; 118 } 119 120 public void setOnmouseup(String onmouseup) { 121 this.onmouseup = onmouseup; 122 } 123 124 public void setOnselect(String onselect) { 125 this.onselect = onselect; 126 } 127 128 public void setReadonly(String readonly) { 129 this.readonly = readonly; 130 } 131 132 public void setRows(String rows) { 133 this.rows = rows; 134 } 135 136 public void setStyle(String style) { 137 this.style = style; 138 } 139 140 public void setStyleClass(String styleClass) { 141 this.styleClass = styleClass; 142 } 143 144 public void setTabindex(String tabindex) { 145 this.tabindex = tabindex; 146 } 147 148 public void setTitle(String title) { 149 this.title = title; 150 } 151 152 public String getRendererType() { 153 return "javax.faces.Textarea"; 154 } 155 156 public String getComponentType() { 157 return "javax.faces.HtmlInputTextarea"; 158 } 159 160 161 protected void setProperties(UIComponent component) { 162 super.setProperties(component); 163 164 setProperty(component, "accesskey", accesskey); 165 166 setIntegerProperty(component, "cols", cols); 167 168 setProperty(component, "dir", dir); 169 170 setBooleanProperty(component, "disabled", disabled); 171 172 setProperty(component, "lang", lang); 173 174 setProperty(component, "onblur", onblur); 175 setProperty(component, "onchange", onchange); 176 setProperty(component, "onclick", onclick); 177 setProperty(component, "ondblclick", ondblclick); 178 setProperty(component, "onfocus", onfocus); 179 setProperty(component, "onkeydown", onkeydown); 180 setProperty(component, "onkeypress", onkeypress); 181 setProperty(component, "onkeyup", onkeyup); 182 setProperty(component, "onmousedown", onmousedown); 183 setProperty(component, "onmousemove", onmousemove); 184 setProperty(component, "onmouseout", onmouseout); 185 setProperty(component, "onmouseover", onmouseover); 186 setProperty(component, "onmouseup", onmouseup); 187 setProperty(component, "onselect", onselect); 188 189 setBooleanProperty(component, "readonly", readonly); 190 setIntegerProperty(component, "rows", rows); 191 192 setProperty(component, "style", style); 193 setProperty(component, "styleClass", styleClass); 194 setProperty(component, "tabindex", tabindex); 195 setProperty(component, "title", title); 196 } 197 198 public void recycle() { 199 super.recycle(); 200 accesskey = null; 201 cols = null; 202 dir = null; 203 disabled = null; 204 lang = null; 205 onblur = null; 206 onchange = null; 207 onclick = null; 208 ondblclick = null; 209 onfocus = null; 210 onkeydown = null; 211 onkeypress = null; 212 onkeyup = null; 213 onmousedown = null; 214 onmousemove = null; 215 onmouseout = null; 216 onmouseover = null; 217 onmouseup = null; 218 onselect = null; 219 readonly = null; 220 rows = null; 221 style = null; 222 styleClass = null; 223 tabindex = null; 224 title = null; 225 } 226 } 227 | Popular Tags |