|
RichFaces CDK Annotations 4.1.0.20111101-M4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Retention(value=CLASS)
@Target(value={FIELD,METHOD})
@Inherited
public @interface Attribute
Used to define Java class field or bean property getter method as JSF attribute. It used on the abstract method, all necessary code for attribute, including state save/restore code, will be generated by CDK.
| Optional Element Summary | |
|---|---|
Alias[] |
aliases
Attribute aliases. |
String |
defaultValue
Attribute default value. |
Description |
description
Attribute description to include in generated faces-config.xml and taglibs. |
EventName[] |
events
Event descriptions for |
boolean |
generate
Tells CDK to generate getter and setter for attribute. |
boolean |
hidden
Tells CDK to not include attribute in the VDL tag. |
boolean |
literal
Restricts attribute to literal values only ( no EL expressions ). |
boolean |
passThrough
If true, attribute used as pass through html attribue, eg. |
boolean |
readOnly
Marks attribute as read-only ( no setter method ). |
boolean |
required
Marks attribute as required. |
Signature |
signature
Method signature for attributes with EL method reference type, either |
String |
suggestedValue
Used by IDE to suggest attribute value. |
public abstract boolean literal
Restricts attribute to literal values only ( no EL expressions ).
public abstract boolean hidden
Tells CDK to not include attribute in the VDL tag.
public abstract boolean readOnly
Marks attribute as read-only ( no setter method ).
public abstract boolean passThrough
If true, attribute used as pass through html attribue, eg. rendered directly into html without any transformations.
public abstract boolean required
Marks attribute as required. Generated tag handler should check its presence.
public abstract boolean generate
Tells CDK to generate getter and setter for attribute.
public abstract String defaultValue
Attribute default value. Should be valid Java code that can be used in field initialiser of function call.
public abstract String suggestedValue
Used by IDE to suggest attribute value.
public abstract Description description
Attribute description to include in generated faces-config.xml and taglibs.
public abstract Signature signature
Method signature for attributes with EL method reference type, either MethodBinding or MethodExpression.
public abstract EventName[] events
Event descriptions for ClientBehavior binding.
public abstract Alias[] aliases
Attribute aliases.
|
RichFaces CDK Annotations 4.1.0.20111101-M4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||