1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20 package org.apache.myfaces.tobago.internal.taglib.component;
21
22 import org.apache.myfaces.tobago.apt.annotation.DynamicExpression;
23 import org.apache.myfaces.tobago.apt.annotation.Tag;
24 import org.apache.myfaces.tobago.apt.annotation.TagAttribute;
25 import org.apache.myfaces.tobago.apt.annotation.UIComponentTag;
26 import org.apache.myfaces.tobago.apt.annotation.UIComponentTagAttribute;
27 import org.apache.myfaces.tobago.internal.taglib.declaration.HasBinding;
28 import org.apache.myfaces.tobago.internal.taglib.declaration.HasId;
29 import org.apache.myfaces.tobago.internal.taglib.declaration.HasItemImage;
30 import org.apache.myfaces.tobago.internal.taglib.declaration.HasItemLabel;
31 import org.apache.myfaces.tobago.internal.taglib.declaration.HasTip;
32
33
34
35
36
37
38 @Tag(name = "selectItems")
39 @UIComponentTag(
40 uiComponent = "org.apache.myfaces.tobago.component.UISelectItems",
41 uiComponentFacesClass = "javax.faces.component.UISelectItems",
42 isComponentAlreadyDefined = false,
43 allowedChildComponenents = "NONE")
44 public interface SelectItemsTagDeclaration extends HasId, HasBinding, HasItemLabel, HasItemImage, HasTip {
45
46
47
48
49
50 @TagAttribute
51 @UIComponentTagAttribute(
52 type = {"javax.faces.model.SelectItem[]", "java.lang.Object[]", "java.util.Collection"},
53 expression = DynamicExpression.VALUE_EXPRESSION_REQUIRED)
54 void setValue(String value);
55
56
57
58
59
60 @TagAttribute
61 @UIComponentTagAttribute(expression = DynamicExpression.PROHIBITED)
62 void setVar(final String var);
63
64
65
66
67
68 @TagAttribute
69 @UIComponentTagAttribute(type = {"boolean"}, defaultValue = "false")
70 void setItemDisabled(String itemDisabled);
71
72
73
74
75 @TagAttribute
76 @UIComponentTagAttribute(type = {"java.lang.Object"})
77 void setItemValue(String itemValue);
78 }