Class StrutsMessageHolder

java.lang.Object
com.appiancorp.suiteapi.process.framework.StrutsMessageHolder
All Implemented Interfaces:
MessageHolder

public class StrutsMessageHolder extends Object implements MessageHolder
  • Constructor Summary

    Constructors
    Constructor
    Description
    StrutsMessageHolder(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 Type
    Method
    Description
    void
    addError(com.appiancorp.web.framework.kernel.main.ActionMessage error_)
    Adds an error to the request using the default bundle for this Action.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • StrutsMessageHolder

      public StrutsMessageHolder(String bundle_, javax.servlet.http.HttpServletRequest q_)
      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 interface MessageHolder
      Parameters:
      q_ - the HttpServletRequest with which to associate the error
      error_ - the ActionError representing the error