| Package | Description |
|---|---|
| org.mentawai.core | |
| org.mentawai.filter | |
| org.mentawai.message | |
| org.mentawai.validation |
| Modifier and Type | Field and Description |
|---|---|
protected MessageContext |
BaseAction.msgContext |
| Modifier and Type | Method and Description |
|---|---|
void |
BaseAction.addError(int error_id,
MessageContext msgContext)
Adds an error to the action with the given number and context.
|
void |
BaseAction.addError(String field,
int error_id,
MessageContext msgContext)
Adds an error to the action with the given number and context for the given field.
|
void |
BaseAction.addError(String error_id,
MessageContext msgContext)
Adds an error to the action with the given number and context.
|
void |
BaseAction.addError(String field,
String error_id,
MessageContext msgContext)
Adds an error to the action with the given number and context for the given field.
|
void |
BaseAction.addMessage(int msg_id,
MessageContext msgContext)
Adds a message to the action with the given number and context.
|
void |
BaseAction.addMessage(int msg_id,
MessageContext msgContext,
boolean flash) |
void |
BaseAction.addMessage(String msg_id,
MessageContext msgContext)
Adds a message to the action with the given number and context.
|
void |
BaseAction.addMessage(String msg_id,
MessageContext msgContext,
boolean flash) |
static void |
BaseAction.setMessageContext(MessageContext msgContext)
Sets a fixed message context for all actions derived from BaseAction.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ValidationFilter.setMessageContext(MessageContext msgContext)
Sets the MessageContext from where you want to get the error messsages.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractMessageContext |
class |
ClassMessageContext |
class |
ClasspathMessageContext |
class |
FileMessageContext |
| Modifier and Type | Field and Description |
|---|---|
protected MessageContext |
AbstractMessage.context |
| Modifier and Type | Method and Description |
|---|---|
MessageContext |
Message.getContext()
Gets the message context for this message.
|
MessageContext |
AbstractMessage.getContext() |
| Constructor and Description |
|---|
AbstractMessage(int id,
MessageContext context) |
AbstractMessage(int id,
MessageContext context,
Map<String,String> tokens) |
AbstractMessage(int id,
MessageContext context,
Map<String,String> tokens,
String[] params) |
AbstractMessage(String id,
MessageContext context) |
AbstractMessage(String id,
MessageContext context,
Map<String,String> tokens) |
AbstractMessage(String id,
MessageContext context,
Map<String,String> tokens,
String[] params) |
DefaultMessage(int id,
MessageContext context) |
DefaultMessage(int id,
MessageContext context,
Map<String,String> tokens) |
DefaultMessage(int id,
MessageContext context,
Map<String,String> tokens,
String[] params) |
DefaultMessage(String id,
MessageContext context) |
DefaultMessage(String id,
MessageContext context,
Map<String,String> tokens) |
DefaultMessage(String id,
MessageContext context,
Map<String,String> tokens,
String[] params) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
Validator.validate(Action action,
MessageContext msgContext) |
Copyright © 2015. All Rights Reserved.