|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||
@Target(value=ANNOTATION_TYPE) @Retention(value=RUNTIME) public static @interface Jpf.ActionOutput
An action output, which is declared in a @Jpf.Forward annotation and passed from an action
method on a Forward object. An action output may be used as a
"page input" in a page, where it is accessed by databinding to
${pageInput.action-output-name}. The benefit of action outputs (over setting
request attributes) is that the annotations are visible to tools, and that there is runtime checking of type and
required-presence.
| Required Element Summary | |
|---|---|
String |
name
The name of the action output. |
Class |
type
The type of the action output. |
| Optional Element Summary | |
|---|---|
boolean |
required
If true, a MissingActionOutputException will be thrown
when the associated Forward object does not include a value for
this named action output. |
String |
typeHint
A String version of the type information that can be used by tools or as runtime-accessable information, particularly to add generics to the type (generics are "erased" during compilation and are not available to the runtime through reflection). |
| Element Detail |
|---|
public abstract String name
${pageInput.action-output-name}.
public abstract Class type
MismatchedActionOutputException
will be thrown.
public abstract String typeHint
public abstract boolean required
true, a MissingActionOutputException will be thrown
when the associated Forward object does not include a value for
this named action output.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||