net.sf.jsfcomp.facelets.deploy.annotations
Annotation Type FacesRenderer


@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface FacesRenderer

This annotation is used to deploy a renderer to faces. Although it has nothing to do with facelets, it is here for convenience to complete the deployment via annotation experience

Author:
Andrew Robinson (andrew)

Required Element Summary
 java.lang.String componentFamily
          Component family
 java.lang.String rendererType
          the renderer type of the component
 
Optional Element Summary
 RegisterPriority registerWithFaces
          (Optional) Set how this component will be registered with the facelet context application.
 java.lang.String renderKitId
          (Optional) the ID of the render kit.
 

Element Detail

componentFamily

public abstract java.lang.String componentFamily
Component family


rendererType

public abstract java.lang.String rendererType
the renderer type of the component

renderKitId

public abstract java.lang.String renderKitId
(Optional) the ID of the render kit. If not set, the default render kit will be used.

Default:
""

registerWithFaces

public abstract RegisterPriority registerWithFaces
(Optional) Set how this component will be registered with the facelet context application. Defaults to registering if the component type is not already registered.

Note: setting this to NONE makes this annotation useless.

Note: myfaces will print a warning message to the log if this is UNLESS_REGISTERED. This is due to the check by the deployer to see if a renderer is already registered.

Default:
net.sf.jsfcomp.facelets.deploy.RegisterPriority.DEFAULT


Copyright © 2007-2008. All Rights Reserved.