|
|||||||||
Home >> All >> org >> apache >> struts >> [ action overview ] | PREV NEXT |
Uses of Class
org.apache.struts.action.ActionMessages
Uses of ActionMessages in org.apache.struts.action |
Subclasses of ActionMessages in org.apache.struts.action | |
class |
ActionErrors
A class that encapsulates the error messages being reported by the validate() method of an ActionForm . |
Fields in org.apache.struts.action declared as ActionMessages | |
protected ActionMessages |
TestActionMessages.aMsgs
|
protected ActionMessages |
TestActionMessages.anMsgs
|
Methods in org.apache.struts.action that return ActionMessages | |
protected ActionMessages |
Action.getErrors(javax.servlet.http.HttpServletRequest request)
Retrieves any existing errors placed in the request by previous actions. |
protected ActionMessages |
Action.getMessages(javax.servlet.http.HttpServletRequest request)
Retrieves any existing messages placed in the request by previous actions. |
Methods in org.apache.struts.action with parameters of type ActionMessages | |
void |
ActionMessages.add(ActionMessages messages)
Adds the messages from the given ActionMessages object to
this set of messages. |
protected void |
Action.addMessages(javax.servlet.http.HttpServletRequest request,
ActionMessages messages)
Adds the specified messages keys into the appropriate request attribute for use by the <html:messages> tag (if messages="true" is set), if any messages are required. |
protected void |
Action.addErrors(javax.servlet.http.HttpServletRequest request,
ActionMessages errors)
Adds the specified errors keys into the appropriate request attribute for use by the <html:errors> tag, if any messages are required. |
protected void |
Action.saveErrors(javax.servlet.http.HttpServletRequest request,
ActionMessages errors)
Save the specified error messages keys into the appropriate request attribute for use by the <html:errors> tag, if any messages are required. |
protected void |
Action.saveMessages(javax.servlet.http.HttpServletRequest request,
ActionMessages messages)
Save the specified messages keys into the appropriate request attribute for use by the <html:messages> tag (if messages="true" is set), if any messages are required. |
protected void |
Action.saveMessages(javax.servlet.http.HttpSession session,
ActionMessages messages)
Save the specified messages keys into the appropriate session attribute for use by the <html:messages> tag (if messages="true" is set), if any messages are required. |
protected void |
Action.saveErrors(javax.servlet.http.HttpSession session,
ActionMessages errors)
Save the specified error messages keys into the appropriate session attribute for use by the <html:messages> tag (if messages="false") or <html:errors>, if any error messages are required. |
Constructors in org.apache.struts.action with parameters of type ActionMessages | |
ActionMessages(ActionMessages messages)
Create an ActionMessages object initialized with the given
messages. |
|
|||||||||
Home >> All >> org >> apache >> struts >> [ action overview ] | PREV NEXT |