| org.apache.beehive.netui.pageflow.ExpressionMessage
ExpressionMessage | public class ExpressionMessage extends ActionMessage (Code) | | Extension of the base Struts ActionMessage; instead of retrieving messages and their arguments from message
resources, it calculates them by evaluating JSP 2.0-style expressions (or, in the degenerate case, from hardcoded
strings).
|
Constructor Summary | |
public | ExpressionMessage(String expression, Object[] messageArgExpressions) Constructor, using an array for the message arguments.
Parameters: expression - the JSP 2.0-style expression (e.g., ${pageFlow.myProperty} ) or literal stringthat will be used as the message. Parameters: messageArgExpressions - an array of JSP 2.0-style expressions or raw Objects to be used as argumentsto the message. | public | ExpressionMessage(String expression) Constructor, for a message without message arguments. | public | ExpressionMessage(String expression, Object messageArgExpression) Constructor, for a message with a single argument.
Parameters: expression - the JSP 2.0-style expression (e.g., ${pageFlow.myProperty} ) or literal stringthat will be used as the message. Parameters: messageArgExpression - a JSP 2.0-style expression or raw Object to be used the argumentto the message. | public | ExpressionMessage(String expression, Object messageArgExpression1, Object messageArgExpression2) Constructor, for a message with two arguments.
Parameters: expression - the JSP 2.0-style expression (e.g., ${pageFlow.myProperty} ) or literal stringthat will be used as the message. Parameters: messageArgExpression1 - a JSP 2.0-style expression or raw Object to be used the first argumentto the message. | public | ExpressionMessage(String expression, Object messageArgExpression1, Object messageArgExpression2, Object messageArgExpression3) Constructor, for a message with two arguments.
Parameters: expression - the JSP 2.0-style expression (e.g., ${pageFlow.myProperty} ) or literal stringthat will be used as the message. Parameters: messageArgExpression1 - a JSP 2.0-style expression or raw Object to be used the first argumentto the message. |
ExpressionMessage | public ExpressionMessage(String expression, Object[] messageArgExpressions)(Code) | | Constructor, using an array for the message arguments.
Parameters: expression - the JSP 2.0-style expression (e.g., ${pageFlow.myProperty} ) or literal stringthat will be used as the message. Parameters: messageArgExpressions - an array of JSP 2.0-style expressions or raw Objects to be used as argumentsto the message. Expressions are evaluated; all other Objects are passed as-is. |
ExpressionMessage | public ExpressionMessage(String expression)(Code) | | Constructor, for a message without message arguments.
Parameters: expression - the JSP 2.0-style expression (e.g., ${pageFlow.myProperty} ) or literal stringthat will be used as the message. |
ExpressionMessage | public ExpressionMessage(String expression, Object messageArgExpression)(Code) | | Constructor, for a message with a single argument.
Parameters: expression - the JSP 2.0-style expression (e.g., ${pageFlow.myProperty} ) or literal stringthat will be used as the message. Parameters: messageArgExpression - a JSP 2.0-style expression or raw Object to be used the argumentto the message. Expressions are evaluated; all other Objects are passed as-is. |
ExpressionMessage | public ExpressionMessage(String expression, Object messageArgExpression1, Object messageArgExpression2)(Code) | | Constructor, for a message with two arguments.
Parameters: expression - the JSP 2.0-style expression (e.g., ${pageFlow.myProperty} ) or literal stringthat will be used as the message. Parameters: messageArgExpression1 - a JSP 2.0-style expression or raw Object to be used the first argumentto the message. Expressions are evaluated; all other Objects are passed as-is. Parameters: messageArgExpression2 - a JSP 2.0-style expression or raw Object to be used the second argumentto the message. Expressions are evaluated; all other Objects are passed as-is. |
ExpressionMessage | public ExpressionMessage(String expression, Object messageArgExpression1, Object messageArgExpression2, Object messageArgExpression3)(Code) | | Constructor, for a message with two arguments.
Parameters: expression - the JSP 2.0-style expression (e.g., ${pageFlow.myProperty} ) or literal stringthat will be used as the message. Parameters: messageArgExpression1 - a JSP 2.0-style expression or raw Object to be used the first argumentto the message. Expressions are evaluated; all other Objects are passed as-is. Parameters: messageArgExpression2 - a JSP 2.0-style expression or raw Object to be used the second argumentto the message. Expressions are evaluated; all other Objects are passed as-is. Parameters: messageArgExpression3 - a JSP 2.0-style expression or raw Object to be used the third argumentto the message. Expressions are evaluated; all other Objects are passed as-is. |
|
|