1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
package org.seasar.teeda.core.taglib.html; |
17 | |
|
18 | |
import javax.faces.component.UIComponent; |
19 | |
import javax.faces.component.html.HtmlInputTextarea; |
20 | |
|
21 | |
import org.seasar.teeda.core.JsfConstants; |
22 | |
|
23 | |
|
24 | |
|
25 | |
|
26 | |
|
27 | 3 | public class InputTextareaTag extends InputTagBase { |
28 | |
|
29 | |
public String getComponentType() { |
30 | 1 | return HtmlInputTextarea.COMPONENT_TYPE; |
31 | |
} |
32 | |
|
33 | |
public String getRendererType() { |
34 | 3 | return "javax.faces.Textarea"; |
35 | |
} |
36 | |
|
37 | |
protected void setProperties(UIComponent component) { |
38 | 1 | super.setProperties(component); |
39 | 1 | setComponentProperty(component, JsfConstants.COLS_ATTR, getCols()); |
40 | 1 | setComponentProperty(component, JsfConstants.ONCHANGE_ATTR, |
41 | |
getOnchange()); |
42 | 1 | setComponentProperty(component, JsfConstants.ONSELECT_ATTR, |
43 | |
getOnselect()); |
44 | 1 | setComponentProperty(component, JsfConstants.ROWS_ATTR, getRows()); |
45 | 1 | } |
46 | |
|
47 | |
public void release() { |
48 | 0 | super.release(); |
49 | 0 | } |
50 | |
|
51 | |
} |