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.Behavior;
23 import org.apache.myfaces.tobago.apt.annotation.Markup;
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.ClientBehaviors;
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.HasId;
32 import org.apache.myfaces.tobago.internal.taglib.declaration.HasLabel;
33 import org.apache.myfaces.tobago.internal.taglib.declaration.IsVisual;
34
35 import javax.faces.component.UIForm;
36
37
38
39
40
41
42
43
44
45
46
47
48 @Tag(name = "page")
49 @UIComponentTag(
50 uiComponent = "org.apache.myfaces.tobago.component.UIPage",
51 uiComponentFacesClass = "javax.faces.component.UIForm",
52 componentFamily = UIForm.COMPONENT_FAMILY,
53 rendererType = RendererTypes.PAGE,
54 behaviors = {
55 @Behavior(
56 name = ClientBehaviors.CLICK,
57 isDefault = true),
58 @Behavior(
59 name = ClientBehaviors.DBLCLICK),
60 @Behavior(
61 name = ClientBehaviors.LOAD),
62 @Behavior(
63 name = ClientBehaviors.RESIZE)
64 },
65 markups = {
66 @Markup(
67 name = org.apache.myfaces.tobago.context.Markup.STRING_SPREAD,
68 description = "Use the full browser height for the HTML content."
69 )
70 })
71
72 public interface PageTagDeclaration
73 extends HasLabel, HasId, HasBinding, IsVisual {
74
75
76
77
78
79
80
81 @TagAttribute
82 @UIComponentTagAttribute()
83 void setFocusId(String focusId);
84 }