Interface MessagesTagDeclaration

All Superinterfaces:
HasBinding, HasFor, HasId, HasIdBindingAndRendered, IsRendered, IsVisual

public interface MessagesTagDeclaration extends HasIdBindingAndRendered, HasFor, IsVisual
Renders error/validation messages.
  • Method Details

    • setGlobalOnly

      void setGlobalOnly(String globalOnly)
      Flag indicating that only messages that are not associated to any particular UIComponent should be displayed. That are messages without clientId.
    • setShowDetail

      void setShowDetail(String showDetail)
      Flag indicating whether the detail should be included
    • setShowSummary

      void setShowSummary(String showSummary)
      Flag indicating whether the summary should be included
    • setMinSeverity

      void setMinSeverity(String minSeverity)
      Sets the minimum severity to be shown. E.g. "warn" shows only "warn", "error" and "fatal".
    • setMaxSeverity

      void setMaxSeverity(String maxSeverity)
      Sets the maximum severity to be shown. E.g. "warn" shows only "warn" and "info". When setting this attribute you usually should take care, that you have a second message tag to show the higher severity levels.
    • setMaxNumber

      void setMaxNumber(String maxNumber)
      Sets the maximum number of messages to show.
    • setOrderBy

      void setOrderBy(String orderBy)
      Sets the order of the messages.
    • setConfirmation

      void setConfirmation(String confirmation)
      Has the user to confirm this message? This attributes handles the case, if the application wants to warn the user about a problem, and the user has to confirm the message before he/she can continue.