|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Documented @Retention(value=RUNTIME) @Target(value=METHOD) @Inherited public @interface FormAttribute
This annotation indicates a form attribute that will be setup upon entering a form using the setFormAttribute() method of RequestContext and cleared when the form is abandoned ( detected automatically by the navigation manager or similar object ). It also indicates upon which bean a cetia:form bean will operate. In the current page, it also indicates the default attribute from which beans are being mapped, unless overriden by a complementary FormAttribute annotation in the given action methods. This annotation is only useful on methods that lead to a single edition form.
| Required Element Summary | |
|---|---|
java.lang.String |
value
The name of the attribute stored at the scope set in the scope attribute. |
| Optional Element Summary | |
|---|---|
AttributeMaintenancePolicy |
maintenancePolicy
Sets the attribute maintenance policy, using the default policy if not specified. |
Scope |
scope
The scope of the attribute. |
| Element Detail |
|---|
public abstract java.lang.String value
public abstract Scope scope
public abstract AttributeMaintenancePolicy maintenancePolicy
AttributeInfo.getMaintenancePolicy(FormAttribute)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||