net.sf.bimbo
Annotation Type Action


@Retention(value=RUNTIME)
@Documented
@Target(value=METHOD)
public @interface Action

Marks a method as an action. The action method will be rendered as a button.

An action method can return another page object as a result of its execution. If null is being returned by an action method this means that the action method has taken care of the output page generation itself.

When an action method has a parameter type that corresponds with the type of an Output List item then the action will be rendered as a table entry action for the corresponding table. That way a user can execute actions on table entries.

Author:
fcorneli

Optional Element Summary
 java.lang.String confirmation
          Optional confirmation message shown to the user before performing the action.
 boolean skipConstraints
          Set to true to skip constraints verification on Input fields.
 java.lang.String value
          The optional human-readable name of the action.
 

value

public abstract java.lang.String value
The optional human-readable name of the action.

Returns:
Default:
""

skipConstraints

public abstract boolean skipConstraints
Set to true to skip constraints verification on Input fields.

Returns:
Default:
false

confirmation

public abstract java.lang.String confirmation
Optional confirmation message shown to the user before performing the action.

Returns:
Default:
""


Copyright © 2008 Frank Cornelis IT. All Rights Reserved.