Uses of Class
org.apache.struts.action.ActionMessage
Package
Description
The action package is the core of the struts framework,
providing the "Controller" aspect of a MVC model.
The Utilities package provides a variety of families of classes,
to solve problems that are commonly encountered in building web applications.
The validator package provides a series of classes to validate
ActionForm
type of input.-
Uses of ActionMessage in org.apache.struts.action
Modifier and TypeFieldDescriptionprotected List
<ActionMessage> ActionMessages.ActionMessageItem.list
The list ofActionMessage
s.Modifier and TypeMethodDescriptionActionMessages.get()
Return the set of all recorded messages, without distinction by which property the messages are associated with.Return the set of messages related to a specific property.ActionMessages.ActionMessageItem.getList()
Retrieve the list of messages associated with this item.Modifier and TypeMethodDescriptionvoid
ActionMessages.add
(String property, ActionMessage message) Add a message to the set of messages for the specified property.protected void
ExceptionHandler.storeException
(HttpServletRequest request, String property, ActionMessage error, ActionForward forward, String scope) Default implementation for handling anActionMessage
generated from anException
duringAction
delegation.Modifier and TypeMethodDescriptionvoid
ActionMessages.ActionMessageItem.setList
(List<ActionMessage> list) Set the list of messages associated with this item.ModifierConstructorDescriptionActionMessageItem
(List<ActionMessage> list, int iOrder, String property) Construct an instance of this class. -
Uses of ActionMessage in org.apache.struts.util
Modifier and TypeFieldDescriptionprotected ActionMessage
ModuleException.message
The ActionMessage associated with this exception.Modifier and TypeMethodDescriptionModuleException.getActionMessage()
Returns the error associated with the exception. -
Uses of ActionMessage in org.apache.struts.validator
Modifier and TypeMethodDescriptionstatic ActionMessage
Resources.getActionMessage
(HttpServletRequest request, ValidatorAction va, Field field) Deprecated.Use getActionMessage(Validator, HttpServletRequest, ValidatorAction, Field) method insteadstatic ActionMessage
Resources.getActionMessage
(Validator validator, HttpServletRequest request, ValidatorAction va, Field field) Gets theActionMessage
based on theValidatorAction
message and theField
's arg objects.