Uses of Class
org.apache.struts.action.ActionMessage
Packages that use 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
Fields in org.apache.struts.action with type parameters of type ActionMessageModifier and TypeFieldDescriptionprotected List
<ActionMessage> ActionMessages.ActionMessageItem.list
The list ofActionMessage
s.Methods in org.apache.struts.action that return types with arguments of type ActionMessageModifier 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.Methods in org.apache.struts.action with parameters of type ActionMessageModifier 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.Method parameters in org.apache.struts.action with type arguments of type ActionMessageModifier and TypeMethodDescriptionvoid
ActionMessages.ActionMessageItem.setList
(List<ActionMessage> list) Set the list of messages associated with this item.Constructor parameters in org.apache.struts.action with type arguments of type ActionMessageModifierConstructorDescriptionActionMessageItem
(List<ActionMessage> list, int iOrder, String property) Construct an instance of this class. -
Uses of ActionMessage in org.apache.struts.util
Fields in org.apache.struts.util declared as ActionMessageModifier and TypeFieldDescriptionprotected ActionMessage
ModuleException.message
The ActionMessage associated with this exception.Methods in org.apache.struts.util that return ActionMessageModifier and TypeMethodDescriptionModuleException.getActionMessage()
Returns the error associated with the exception. -
Uses of ActionMessage in org.apache.struts.validator
Methods in org.apache.struts.validator that return ActionMessageModifier 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.