Skip to content

Instantly share code, notes, and snippets.

@lfryc
Created June 12, 2012 20:35
Show Gist options
  • Select an option

  • Save lfryc/2919967 to your computer and use it in GitHub Desktop.

Select an option

Save lfryc/2919967 to your computer and use it in GitHub Desktop.
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