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.

Document created the 11/06/2005, last modified the 18/08/2025
Source of the printed document:https://www.gaudry.be/en/java-api-javaee-rf-javax/faces/lifecycle/ClientWindowWrapper.html

The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.

References

  1. View the html document Language of the document:fr Manuel PHP : https://docs.oracle.com, ClientWindowWrapper (Java(TM) EE 7 Specification APIs)

These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author of this site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.