|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ConfirmationContext
Simple confirmation context - expects immediate user confirmation for going through with some event (expressed as a closure).
| Field Summary | |
|---|---|
static String |
CONFIRMATION_RESULT_KEY
Defines the request param name to be used by this context. |
| Method Summary | |
|---|---|
void |
confirm(org.apache.commons.collections.Closure onConfirmClosure,
String message)
Creates a condition for the user to confirm (only one confirmation can be used per page). |
String |
getConfirmationMessage()
Returns the current confirmation message meant for the user. |
| Field Detail |
|---|
static final String CONFIRMATION_RESULT_KEY
| Method Detail |
|---|
void confirm(org.apache.commons.collections.Closure onConfirmClosure,
String message)
onConfirmClosure - A closure that invokes the business logic when the
user confirms it.message - The confirmation message displayed to the user.String getConfirmationMessage()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||