@Target(value=METHOD) @Retention(value=RUNTIME) @Documented public @interface ViewLifecycleRestriction
LifecycleElement
bean properties to restrict which view
lifecycle phases for which the property will be considered while initializing the successor phase queue.
This annotation should be placed on the read method for any properties on the component that should be excluded from the view lifecycle. An optional array of phases at which the property should be included may be provided.
Modifier and Type | Optional Element and Description |
---|---|
String |
condition
Expression to evaluate (must result in boolean) that will determine if the property is included
at the configured phases.
|
String[] |
exclude
Lifecycle phase(s) at which to exclude the annotated bean property.
|
String[] |
value
Lifecycle phase (including preceding phases) at which to include the annotated bean property.
|
public abstract String[] value
UifConstants.ViewPhases
public abstract String[] exclude
Note when this property is set by itself, all other phases not listed will be included. If value is set as well, only those phases within the value and not listed here will be included.
UifConstants.ViewPhases
public abstract String condition
Expressions have access to the model as the default context. Also, no expression syntax (@{}) should be used.
Copyright © 2005–2015 The Kuali Foundation. All rights reserved.