|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value=METHOD) @Retention(value=RUNTIME) @Documented public @interface IfInvalid
Specifies that the object receiving an action method invocation should be validated before the call and, if in an invalid state, the call will be aborted and result in the specified outcome. The array of InvalidValues will be bound to the request context with the specified name.
Required Element Summary | |
---|---|
String |
outcome
The JSF outcome, in the case that the reciever is in an invalid state. |
Optional Element Summary | |
---|---|
String |
persistenceContext
The name of a Seam-managed persistence context to use for refreshing entities when contstraints are violated. |
boolean |
refreshEntities
Should we refresh any entity instance that violates its constraints? |
Element Detail |
---|
public abstract String outcome
public abstract boolean refreshEntities
public abstract String persistenceContext
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |