> @Component( > type = "...", > family = "...", > rendererType = "...", > tagClass = "...", > events = { > @ComponentEvent( > type = "...", > phases = { "...", "..." }), > ... > ) > public abstract class MyComponent extends UIXComponent > { > @ComponentProperty( > description = "or is this better in javadoc? -- harder to code the > generator, but easier to document", > extensions = { > @PropertyExtension(name = "preferred", value = Boolean.TRUE), > @PropertyExtension(name = "...", value = "...") > }) > private String _foo; > > @ComponentPropertySkel > public abstract String getFoo(); > > public void broadcast(FacesEvent event) > { > // custom code > } > }
another option - why don't you add it to the wiki?I would be against it, cause it is one of these options which need a full rebuild on a change in the component-class. regards, Martin