ilog.webui.dhtml.components

Class IlxWMessageList

  • All Implemented Interfaces:
    ilog.webui.dhtml.IlxWConstants, ilog.webui.dhtml.IlxWCSSModelProvider, ilog.webui.dhtml.IlxWDependencyProvider, ilog.webui.dhtml.IlxWJSObject, java.io.Serializable


    public class IlxWMessageList
    extends IlxWComponent
    Class for message lists.
    Message List is a simple web component which can display a list of text messages and pop up message boxes when loaded on a web browser.

    The message list manages an internal list of simple messages and an internal list of alert messages. When displayed on the web browser, the message list displays an HTML table with the list of simple messages and pops up a message box for each alert message. Once displayed, the alert message internal list is cleared.

    See Also:
    Serialized Form
    • Constructor Detail

      • IlxWMessageList

        public IlxWMessageList()
    • Method Detail

      • clear

        public void clear()
        Clear the message list. This will remove all existing messages.
      • addMessage

        public void addMessage(java.lang.String text)
        Adds a text message to the component.
        Parameters:
        text - The message to add.
      • addAlert

        public void addAlert(java.lang.String message)
        Adds an alert message to the existing list. Next time the component is displayed on the web browser, it will pop up a message box displaying the message. Once displayed on the client, the alert message is removed from the component.
        Parameters:
        message - The message to add.

© Copyright IBM Corp. 1987, 2015