javax.faces.lifecycle

Class ClientWindowWrapper

    • Constructor Detail

      • ClientWindowWrapper

        public ClientWindowWrapper()
    • Method Detail

      • getQueryURLParameters

        public Map<String,String> getQueryURLParameters(FacesContext context)
        Description copied from class: ClientWindow

        This method will be called whenever a URL is generated by the runtime where client window related parameters need to be inserted into the URL. This guarantees custom ClientWindow implementations that they will have the opportunity to insert any additional client window specific information in any case where a URL is generated, such as the rendering of hyperlinks. The returned map must be immutable. The default implementation of this method returns the empty map.

        Specified by:
        getQueryURLParameters in class ClientWindow
        Parameters:
        context - the FacesContext for this request.
        Returns:
        null or a map of parameters to insert into the URL query string.
      • enableClientWindowRenderMode

        public void enableClientWindowRenderMode(FacesContext context)
        Description copied from class: ClientWindow

        Components that permit per-use disabling of the appending of the ClientWindow in generated URLs must call this method first after rendering those URLs. If ClientWindow.CLIENT_WINDOW_MODE_PARAM_NAME is "url" without the quotes, all generated URLs that cause a GET request must append the ClientWindow by default. This is specified as a static method because callsites need to access it without having access to an actual ClientWindow instance.

        Overrides:
        enableClientWindowRenderMode in class ClientWindow
        Parameters:
        context - the FacesContext for this request.
      • isClientWindowRenderModeEnabled

        public boolean isClientWindowRenderModeEnabled(FacesContext context)
        Description copied from class: ClientWindow

        Methods that append the ClientWindow to generated URLs must call this method to see if they are permitted to do so. If ClientWindow.CLIENT_WINDOW_MODE_PARAM_NAME is "url" without the quotes, all generated URLs that cause a GET request must append the ClientWindow by default. This is specified as a static method because callsites need to access it without having access to an actual ClientWindow instance.

        Overrides:
        isClientWindowRenderModeEnabled in class ClientWindow
        Parameters:
        context - the FacesContext for this request.

Traduction non disponible

Les API Java ne sont pas encore traduites en français sur l'infobrol. Seule la version anglaise est disponible pour l'instant.

Version en cache

21/08/2025 17:01:50 Cette version de la page est en cache (à la date du 21/08/2025 17:01:50) afin d'accélérer le traitement.
Vous pouvez activer le mode utilisateur dans le menu en haut pour afficher la version plus récente de la page.

Document créé le 11/06/2005, dernière modification le 18/08/2025
Source du document imprimé : https://www.gaudry.be/java-api-javaee-rf-javax/faces/lifecycle/clientwindowwrapper.html

L'infobrol est un site personnel dont le contenu n'engage que moi. Le texte est mis à disposition sous licence CreativeCommons(BY-NC-SA). Plus d'info sur les conditions d'utilisation et sur l'auteur.

Références

  1. Consulter le document html Langue du document :fr Manuel PHP : https://docs.oracle.com

Ces références et liens indiquent des documents consultés lors de la rédaction de cette page, ou qui peuvent apporter un complément d'information, mais les auteurs de ces sources ne peuvent être tenus responsables du contenu de cette page.
L'auteur de ce site est seul responsable de la manière dont sont présentés ici les différents concepts, et des libertés qui sont prises avec les ouvrages de référence. N'oubliez pas que vous devez croiser les informations de sources multiples afin de diminuer les risques d'erreurs.