org.richfaces.cdk.annotations
Annotation Type JsfBehavior


@Retention(value=CLASS)
@Target(value=TYPE)
public @interface JsfBehavior

Author:
asmirnov@exadel.com

Optional Element Summary
 java.lang.String[] attributes
          

defines fragments of faces-config.xml that contain standard attribute definitions.

 Description description
          

Description used by IDE.

 java.lang.String generate
           
 java.lang.String id
          

behavior-id with which instances of implementation class can be created b JSF Application implementation.

 JsfBehaviorRenderer renderer
           
 Tag tag
           
 

id

public abstract java.lang.String id

behavior-id with which instances of implementation class can be created b JSF Application implementation. If this value an empty, behavior-id will be inferred from class name.

Returns:
converter type.
Default:
""

generate

public abstract java.lang.String generate
Default:
""

tag

public abstract Tag tag
Default:
@org.richfaces.cdk.annotations.Tag

renderer

public abstract JsfBehaviorRenderer renderer
Default:
@org.richfaces.cdk.annotations.JsfBehaviorRenderer

description

public abstract Description description

Description used by IDE.

Returns:
Default:
@org.richfaces.cdk.annotations.Description

attributes

public abstract java.lang.String[] attributes

defines fragments of faces-config.xml that contain standard attribute definitions. CDK also tries to read META-INF/cdk/attributes/[classname].xml file for all component superclasses and interfaces, therefore it is not necessary to explicit include definitions for UIComponent and any other standard JSF classes. CDK defines couple of its own "urn" namespaces: "urn:resource:" for classpath resources, "urn:config:" for for project configuration folder and "urn:attributes:" for META-INF/cdk/attributes/ in the annotations library.

Returns:
Default:
{}


Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.