javax.faces.component

Class UIMessage

    • Field Detail

      • COMPONENT_TYPE

        public static final String COMPONENT_TYPE

        The standard component type for this component.

        See Also:
        Constant Field Values
      • COMPONENT_FAMILY

        public static final String COMPONENT_FAMILY

        The standard component family for this component.

        See Also:
        Constant Field Values
    • Constructor Detail

      • UIMessage

        public UIMessage()

        Create a new UIMessage instance with default property values.

    • Method Detail

      • getFamily

        public String getFamily()
        Description copied from class: UIComponent

        Return the identifier of the component family to which this component belongs. This identifier, in conjunction with the value of the rendererType property, may be used to select the appropriate Renderer for this component instance.

        Specified by:
        getFamily in class UIComponent
      • getFor

        public String getFor()

        Return the Identifier of the component for which to render error messages. If this component is within the same NamingContainer as the target component, this must be the component identifier. Otherwise, it must be an absolute component identifier (starting with ":"). See the UIComponent.findComponent(java.lang.String) for more information.

      • setFor

        public void setFor(String newFor)

        Set the identifier of the component for which this component represents associated message(s) (if any). This property must be set before the message is displayed.

        Parameters:
        newFor - The new client id
      • isShowDetail

        public boolean isShowDetail()

        Return the flag indicating whether the detail property of the associated message(s) should be displayed. Defaults to true.

      • setShowDetail

        public void setShowDetail(boolean showDetail)

        Set the flag indicating whether the detail property of the associated message(s) should be displayed.

        Parameters:
        showDetail - The new flag
      • isShowSummary

        public boolean isShowSummary()

        Return the flag indicating whether the summary property of the associated message(s) should be displayed. Defaults to false.

      • setShowSummary

        public void setShowSummary(boolean showSummary)

        Set the flag indicating whether the summary property of the associated message(s) should be displayed.

        Parameters:
        showSummary - The new flag value
      • isRedisplay

        public boolean isRedisplay()
        Returns:
        true if this UIMessage instance should redisplay FacesMessages that have already been handled, otherwise returns false. By default this method will always return true if setRedisplay(boolean) has not been called.
        Since:
        2.0
      • setRedisplay

        public void setRedisplay(boolean redisplay)

        Set the flag indicating whether the detail property of the associated message(s) should be displayed.

        Parameters:
        redisplay - flag indicating whether previously handled messages are redisplayed or not
        Since:
        2.0

Deutsche Übersetzung

Sie haben gebeten, diese Seite auf Deutsch zu besuchen. Momentan ist nur die Oberfläche übersetzt, aber noch nicht der gesamte Inhalt.

Wenn Sie mir bei Übersetzungen helfen wollen, ist Ihr Beitrag willkommen. Alles, was Sie tun müssen, ist, sich auf der Website zu registrieren und mir eine Nachricht zu schicken, in der Sie gebeten werden, Sie der Gruppe der Übersetzer hinzuzufügen, die Ihnen die Möglichkeit gibt, die gewünschten Seiten zu übersetzen. Ein Link am Ende jeder übersetzten Seite zeigt an, dass Sie der Übersetzer sind und einen Link zu Ihrem Profil haben.

Vielen Dank im Voraus.

Dokument erstellt 11/06/2005, zuletzt geändert 18/08/2025
Quelle des gedruckten Dokuments:https://www.gaudry.be/de/java-api-javaee-rf-javax/faces/component/UIMessage.html

Die Infobro ist eine persönliche Seite, deren Inhalt in meiner alleinigen Verantwortung liegt. Der Text ist unter der CreativeCommons-Lizenz (BY-NC-SA) verfügbar. Weitere Informationen auf die Nutzungsbedingungen und dem Autor.

Referenzen

  1. Zeigen Sie - html-Dokument Sprache des Dokuments:fr Manuel PHP : https://docs.oracle.com, UIMessage (Java(TM) EE 7 Specification APIs)

Diese Verweise und Links verweisen auf Dokumente, die während des Schreibens dieser Seite konsultiert wurden, oder die zusätzliche Informationen liefern können, aber die Autoren dieser Quellen können nicht für den Inhalt dieser Seite verantwortlich gemacht werden.
Der Autor dieser Website ist allein dafür verantwortlich, wie die verschiedenen Konzepte und Freiheiten, die mit den Nachschlagewerken gemacht werden, hier dargestellt werden. Denken Sie daran, dass Sie mehrere Quellinformationen austauschen müssen, um das Risiko von Fehlern zu reduzieren.