1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package org.apache.myfaces.view.facelets.pool;
20
21 import javax.faces.application.ResourceDependency;
22 import javax.faces.component.FacesComponent;
23 import javax.faces.component.UIComponentBase;
24
25
26
27
28
29 @ResourceDependency(name="test1.js")
30 @FacesComponent(createTag=true,
31 namespace="http://myfaces.apache.org/testComponent",
32 tagName="simpleComponentA", value="org.apache.myfaces.view.facelets.pool.UISimpleComponentA")
33 public class UISimpleComponentA extends UIComponentBase
34 {
35 public static final String COMPONENT_TYPE = "org.apache.myfaces.view.facelets.pool.UISimpleComponentA";
36 public static final String COMPONENT_FAMILY = "org.apache.myfaces.view.facelets.pool.UISimpleComponentA";
37
38
39 public UISimpleComponentA()
40 {
41 setRendererType(null);
42 }
43
44 @Override
45 public String getFamily()
46 {
47 return COMPONENT_FAMILY;
48 }
49 }