Created
June 12, 2012 20:35
-
-
Save lfryc/2919967 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public interface TestAttributeInterface { | |
| /** | |
| * Documentation for attr | |
| * | |
| * @return attr | |
| */ | |
| @Attribute | |
| abstract public String getAttr(); | |
| } | |
| @JsfComponent( | |
| type = TestComponent.COMPONENT_TYPE, | |
| family = TestComponent.COMPONENT_FAMILY, | |
| renderer = @JsfRenderer(type = TestComponentRendererBase.RENDERER_TYPE), | |
| tag = @Tag(name="testComponent")) | |
| public abstract class TestComponent extends UIComponentBase implements TestAttributeInterface { | |
| public static final String COMPONENT_FAMILY = "org.richfaces.TestComponentFamily"; | |
| public static final String COMPONENT_TYPE = "org.richfaces.TestComponent"; | |
| } | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment