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.Facet;
24 import org.apache.myfaces.tobago.apt.annotation.Tag;
25 import org.apache.myfaces.tobago.apt.annotation.TagAttribute;
26 import org.apache.myfaces.tobago.apt.annotation.UIComponentTag;
27 import org.apache.myfaces.tobago.apt.annotation.UIComponentTagAttribute;
28 import org.apache.myfaces.tobago.component.Facets;
29 import org.apache.myfaces.tobago.component.RendererTypes;
30 import org.apache.myfaces.tobago.internal.taglib.declaration.HasBinding;
31 import org.apache.myfaces.tobago.internal.taglib.declaration.HasCurrentMarkup;
32 import org.apache.myfaces.tobago.internal.taglib.declaration.HasId;
33 import org.apache.myfaces.tobago.internal.taglib.declaration.HasLabel;
34 import org.apache.myfaces.tobago.internal.taglib.declaration.HasMarkup;
35 import org.apache.myfaces.tobago.internal.taglib.declaration.IsGridLayoutComponentWithDimension;
36 import org.apache.myfaces.tobago.internal.taglib.declaration.IsGridLayoutContainer;
37
38 import javax.faces.component.UIForm;
39
40
41
42
43 @Tag(name = "page")
44 @UIComponentTag(
45 uiComponent = "org.apache.myfaces.tobago.component.UIPage",
46 uiComponentBaseClass = "org.apache.myfaces.tobago.internal.component.AbstractUIPage",
47 uiComponentFacesClass = "javax.faces.component.UIForm",
48 componentFamily = UIForm.COMPONENT_FAMILY,
49 rendererType = RendererTypes.PAGE,
50 facets =
51 { @Facet(name = Facets.ACTION,
52 description ="Contains an instance of UICommand (tc:command) for an auto-action",
53 allowedChildComponenents = "org.apache.myfaces.tobago.Command"),
54 @Facet(name = Facets.RESIZE,
55 description ="Contains an instance of UICommand which will be executed when the"
56 + "size of the user agent was changed. Typically a <tc:command immediate='true' />",
57 allowedChildComponenents = {"org.apache.myfaces.tobago.Command", "org.apache.myfaces.tobago.Form"}),
58 @Facet(name = Facets.MENUBAR, description = "Menubar",
59 allowedChildComponenents = "javax.faces.component.UIPanel"),
60 @Facet(name=Facets.LAYOUT, description = "Contains an instance of AbstractUILayoutBase",
61 allowedChildComponenents = "org.apache.myfaces.tobago.GridLayout")})
62
63 public interface PageTagDeclaration
64 extends HasLabel, HasId, HasBinding, HasMarkup, HasCurrentMarkup,
65 IsGridLayoutComponentWithDimension, IsGridLayoutContainer {
66
67
68
69
70
71
72
73 @TagAttribute
74 @UIComponentTagAttribute()
75 void setFocusId(String focusId);
76
77
78
79
80
81 @TagAttribute
82 @UIComponentTagAttribute()
83 void setApplicationIcon(String icon);
84
85
86
87
88
89
90
91 @Deprecated
92 @TagAttribute
93 @UIComponentTagAttribute(
94 type = "java.lang.Object", expression = DynamicExpression.VALUE_EXPRESSION_REQUIRED)
95 void setState(String state);
96
97
98
99
100
101
102
103
104
105
106
107 }