Class MessageView

All Implemented Interfaces:
Serializable, Cloneable, Copyable, DictionaryBean, UifDictionaryBean, Component, Ordered, ScriptEventSupport, Container, LifecycleElement, Helpable, org.springframework.core.Ordered

public class MessageView extends FormView
View that presents a message to the user (for example an application error message)
Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
  • Constructor Details

    • MessageView

      public MessageView()
  • Method Details

    • performInitialization

      public void performInitialization(Object model)
      The following initialization is performed:
      • Set the message text onto the message component and add to the page items
      The following initialization is performed:
      • If a single paged view, set items in page group and put the page in the items list
      • If ViewSessionPolicy.enableTimeoutWarning is enabled add the session timeout dialogs to the views list of dialog groups
      The following initialization is performed:
      • Sorts the containers list of components
      • Initializes the instructional field if necessary
      • Initializes LayoutManager
      The following updates are done here:
      • Invoke performInitialize on component modifiers
      Initializes the component

      Where components can set defaults and setup other necessary state. The initialize method should only be called once per component lifecycle and is invoked within the initialize phase of the view lifecylce.

      Specified by:
      performInitialization in interface LifecycleElement
      Overrides:
      performInitialization in class View
      Parameters:
      model - - object instance containing the view data
      See Also:
    • getMessage

      public Message getMessage()
      Message component that will be used to display the message (used for styling and so on)
      Returns:
      Message component instance
    • setMessage

      public void setMessage(Message message)
      Setter for the message component
      Parameters:
      message -
    • getMessageText

      public String getMessageText()
      Message text to display in the message view.
      Returns:
      message text as string
    • setMessageText

      public void setMessageText(String messageText)
      See Also: