Class StrutsMessageHolder
java.lang.Object
com.appiancorp.suiteapi.process.framework.StrutsMessageHolder
- All Implemented Interfaces:
MessageHolder
-
Constructor Summary
ConstructorDescriptionStrutsMessageHolder
(String bundle_, javax.servlet.http.HttpServletRequest q_) Constructs a message holder that uses the given resource bundle to lookup message keys. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addError
(com.appiancorp.web.framework.kernel.main.ActionMessage error_) Adds an error to the request using the default bundle for this Action.
-
Constructor Details
-
StrutsMessageHolder
Constructs a message holder that uses the given resource bundle to lookup message keys.
-
-
Method Details
-
addError
public void addError(com.appiancorp.web.framework.kernel.main.ActionMessage error_) Adds an error to the request using the default bundle for this Action. Bundles are associated to actions by the package of the concrete action class.- Specified by:
addError
in interfaceMessageHolder
- Parameters:
q_
- theHttpServletRequest
with which to associate the errorerror_
- theActionError
representing the error
-