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.Tag;
23 import org.apache.myfaces.tobago.apt.annotation.TagAttribute;
24 import org.apache.myfaces.tobago.apt.annotation.UIComponentTag;
25 import org.apache.myfaces.tobago.apt.annotation.UIComponentTagAttribute;
26 import org.apache.myfaces.tobago.component.RendererTypes;
27 import org.apache.myfaces.tobago.internal.taglib.declaration.HasFor;
28 import org.apache.myfaces.tobago.internal.taglib.declaration.HasIdBindingAndRendered;
29 import org.apache.myfaces.tobago.internal.taglib.declaration.IsVisual;
30 import org.apache.myfaces.tobago.layout.OrderBy;
31
32 import javax.faces.component.UIMessages;
33
34
35
36
37 @Tag(name = "messages")
38 @UIComponentTag(
39 uiComponent = "org.apache.myfaces.tobago.component.UIMessages",
40 uiComponentFacesClass = "javax.faces.component.UIMessages",
41 componentFamily = UIMessages.COMPONENT_FAMILY,
42 rendererType = RendererTypes.MESSAGES,
43 interfaces = {
44
45 "javax.faces.component.behavior.ClientBehaviorHolder"
46 },
47 allowedChildComponenents = "NONE")
48
49 public interface MessagesTagDeclaration
50 extends HasIdBindingAndRendered, HasFor, IsVisual {
51
52
53
54
55
56 @TagAttribute
57 @UIComponentTagAttribute(type = "boolean", defaultValue = "false")
58 void setGlobalOnly(String globalOnly);
59
60
61
62
63 @TagAttribute
64 @UIComponentTagAttribute(type = "boolean", defaultValue = "false")
65 void setShowDetail(String showDetail);
66
67
68
69
70 @TagAttribute
71 @UIComponentTagAttribute(type = "boolean", defaultValue = "true")
72 void setShowSummary(String showSummary);
73
74
75
76
77 @TagAttribute
78 @UIComponentTagAttribute(type = "javax.faces.application.FacesMessage$Severity", defaultValue = "info",
79 defaultCode = "javax.faces.application.FacesMessage.SEVERITY_INFO")
80 void setMinSeverity(String minSeverity);
81
82
83
84
85
86
87 @TagAttribute
88 @UIComponentTagAttribute(type = "javax.faces.application.FacesMessage$Severity", defaultValue = "fatal",
89 defaultCode = "javax.faces.application.FacesMessage.SEVERITY_FATAL")
90 void setMaxSeverity(String maxSeverity);
91
92
93
94
95 @TagAttribute
96 @UIComponentTagAttribute(type = "java.lang.Integer", defaultValue = "2147483647")
97 void setMaxNumber(String maxNumber);
98
99
100
101
102 @TagAttribute
103 @UIComponentTagAttribute(type = "org.apache.myfaces.tobago.layout.OrderBy",
104 allowedValues = {OrderBy.OCCURRENCE, OrderBy.SEVERITY},
105 defaultValue = OrderBy.OCCURRENCE,
106 defaultCode = "org.apache.myfaces.tobago.layout.OrderBy.occurrence")
107 void setOrderBy(String orderBy);
108
109
110
111
112
113
114 @TagAttribute
115 @UIComponentTagAttribute(type = "boolean", defaultValue = "false")
116 void setConfirmation(String confirmation);
117
118 }