1 16 package org.apache.myfaces.taglib.html; 17 18 import org.apache.myfaces.renderkit.html.HTML; 19 20 import javax.faces.component.UIComponent; 21 22 23 40 public abstract class HtmlInputTextareaTagBase 41 extends HtmlInputTagBase 42 { 43 45 47 49 51 private String _accesskey; 53 private String _cols; 54 private String _datafld; private String _datasrc; private String _dataformatas; private String _disabled; 58 private String _onblur; 59 private String _onchange; 60 private String _onfocus; 61 private String _onselect; 62 private String _readonly; 63 private String _rows; 64 private String _tabindex; 65 66 69 72 private String _alt; 75 76 public void release() { 77 super.release(); 78 _accesskey=null; 79 _cols=null; 80 _datafld=null; 81 _datasrc=null; 82 _dataformatas=null; 83 _disabled=null; 84 _onblur=null; 85 _onchange=null; 86 _onfocus=null; 87 _onselect=null; 88 _readonly=null; 89 _rows=null; 90 _tabindex=null; 91 _alt=null; 92 } 93 94 protected void setProperties(UIComponent component) 95 { 96 super.setProperties(component); 97 98 setStringProperty(component, HTML.ACCESSKEY_ATTR, _accesskey); 99 setIntegerProperty(component, HTML.COLS_ATTR, _cols); 100 setStringProperty(component, HTML.DATAFLD_ATTR, _datafld); 101 setStringProperty(component, HTML.DATASRC_ATTR, _datasrc); 102 setStringProperty(component, HTML.DATAFORMATAS_ATTR, _dataformatas); 103 setBooleanProperty(component, HTML.DISABLED_ATTR, _disabled); 104 setStringProperty(component, HTML.ONBLUR_ATTR, _onblur); 105 setStringProperty(component, HTML.ONCHANGE_ATTR, _onchange); 106 setStringProperty(component, HTML.ONFOCUS_ATTR, _onfocus); 107 setStringProperty(component, HTML.ONSELECT_ATTR, _onselect); 108 setBooleanProperty(component, HTML.READONLY_ATTR, _readonly); 109 setIntegerProperty(component, HTML.ROWS_ATTR, _rows); 110 setStringProperty(component, HTML.TABINDEX_ATTR, _tabindex); 111 112 setStringProperty(component, HTML.ALT_ATTR, _alt); 113 } 114 115 public void setAccesskey(String accesskey) 116 { 117 _accesskey = accesskey; 118 } 119 120 public void setAlt(String alt) 121 { 122 _alt = alt; 123 } 124 125 public void setCols(String cols) 126 { 127 _cols = cols; 128 } 129 130 public void setDatafld(String datafld) 131 { 132 _datafld = datafld; 133 } 134 135 public void setDatasrc(String datasrc) 136 { 137 _datasrc = datasrc; 138 } 139 140 public void setDataformatas(String dataformatas) 141 { 142 _dataformatas = dataformatas; 143 } 144 145 public void setDisabled(String disabled) 146 { 147 _disabled = disabled; 148 } 149 150 public void setOnblur(String onblur) 151 { 152 _onblur = onblur; 153 } 154 155 public void setOnchange(String onchange) 156 { 157 _onchange = onchange; 158 } 159 160 public void setOnfocus(String onfocus) 161 { 162 _onfocus = onfocus; 163 } 164 165 public void setOnselect(String onselect) 166 { 167 _onselect = onselect; 168 } 169 170 public void setReadonly(String readonly) 171 { 172 _readonly = readonly; 173 } 174 175 public void setRows(String rows) 176 { 177 _rows = rows; 178 } 179 180 public void setTabindex(String tabindex) 181 { 182 _tabindex = tabindex; 183 } 184 185 } 186 | Popular Tags |