Ken Paulsen wrote:
> I would like to commit a minor change to the annotations woodstock
> provides. The change allows a @Component annotation to take a
> "rendererClass" attribute to specify a Renderer that should be used to
> Renderer the UIComponent.
>
> The motivation for this new feature is to be able to skip creating a
> new Renderer for a component entirely. Jason Lee and I are
> experimenting around with the Woodstock annotations + JSFTemplating's
> TemplateRenderer to create components. I think this is a good
> combination that reduces development to 2 files: UIComponent file, and
> a template file. However, the current annotations require a Renderer
> class to be present to place a @Renderer annotation... and we don't
> have such a file in our environment.
The annotation library and processor were developed with the specific
needs of the Woodstock components in mind. At present, the Woodstock
components all follow the JSF 1.2 pattern of defining their renders as
Java classes.
I know that JSF 2.0 may include support for template renderers. I'm not
against setting up a sandbox (maybe a branch) where developers can
experiment with early releases of JSF 2.0. But at this stage, unless the
product of the annotation processor can be consumed by a JSF
1.2-conforming app, I don't think such changes belong in the trunk.
Just my $0.02.
// Gregory