1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package javax.faces.view.facelets;
20
21 import javax.faces.component.UIComponent;
22 import javax.faces.context.FacesContext;
23 import javax.faces.view.AttachedObjectHandler;
24
25 import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFFaceletAttribute;
26 import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFFaceletTag;
27
28
29
30
31 @JSFFaceletTag
32 public abstract class FaceletsAttachedObjectHandler extends DelegatingMetaTagHandler implements AttachedObjectHandler
33 {
34
35
36
37 public FaceletsAttachedObjectHandler(TagConfig config)
38 {
39 super(config);
40 }
41
42
43
44
45 public final void applyAttachedObject(FacesContext context, UIComponent parent)
46 {
47
48 getAttachedObjectHandlerHelper().applyAttachedObject(context, parent);
49 }
50
51
52
53
54
55
56
57
58 protected final AttachedObjectHandler getAttachedObjectHandlerHelper()
59 {
60 return (AttachedObjectHandler) getTagHandlerDelegate();
61 }
62
63
64
65
66 @JSFFaceletAttribute
67 public final String getFor()
68 {
69
70 return getAttachedObjectHandlerHelper().getFor();
71 }
72 }