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.HtmlSelectManyMenu; |
20 | |
|
21 | |
import org.seasar.teeda.core.JsfConstants; |
22 | |
|
23 | |
|
24 | |
|
25 | |
|
26 | |
|
27 | 3 | public class SelectManyMenuTag extends InputTagBase { |
28 | |
|
29 | |
public String getComponentType() { |
30 | 1 | return HtmlSelectManyMenu.COMPONENT_TYPE; |
31 | |
} |
32 | |
|
33 | |
public String getRendererType() { |
34 | 3 | return "javax.faces.Menu"; |
35 | |
} |
36 | |
|
37 | |
protected void setProperties(UIComponent component) { |
38 | 1 | super.setProperties(component); |
39 | |
|
40 | 1 | setComponentProperty(component, JsfConstants.ONCHANGE_ATTR, |
41 | |
getOnchange()); |
42 | 1 | setComponentProperty(component, JsfConstants.ONSELECT_ATTR, |
43 | |
getOnselect()); |
44 | 1 | setComponentProperty(component, JsfConstants.DISABLED_CLASS_ATTR, |
45 | |
getDisabledClass()); |
46 | 1 | setComponentProperty(component, JsfConstants.ENABLED_CLASS_ATTR, |
47 | |
getEnabledClass()); |
48 | 1 | } |
49 | |
|
50 | |
} |