The key for the session storage entry holding the client window ID.
The name of the URL parameter holding the client window ID.
The number of characters of the client window ID. Each client window ID must be of this length, or it is invalid.
The value of the temporary client window ID, used for requesting a new ID, see requestNewClientWindowId.
The current window ID, as received from the server. May be null
when to ID was provided.
Whether the currently loaded page is from the first redirect.
Whether the init function was called already.
Checks whether the client window ID is valid. If not, requests a new client window ID from the server via reloading the current page.
Makes sure the temporary cookie for the client window ID is expired.
Expires the cookie with the given name by setting a cookie with the appropriate max-age
and expires
settings.
Name of the cookie to expire.
Returns the value of the URL parameter with the given name. When the URL contains multiple URL parameters with the same name, the value of the first URL parameter is returned.
An URL from which to extract an URL parameter.
Name of the URL parameter to retrieve.
The value of the given URL parameter. Returns the empty string when the URL parameter
is present, but has no value. Returns null
when no URL parameter with the given name exists.
Initializes the client window feature. Usually invoked on page load. This method should only be called once per page.
The current client window ID.
Whether the currently loaded page is from the first redirect.
Given a URL, removes all URL parameters with the given name, adds a new URL parameter with the given value, and returns the new URL with the replaced parameter. If the URL contains multiple URL parameters with the same name, they are all removed.
The URL for which to change an URL parameter.
Name of the URL parameter to change.
New value for the URL parameter. If null
or not given, the empty
string is used.
The given URL, but with value of the given URL parameter changed to the new value.
Expires the current client window ID by replacing it with a temporary, invalid client window ID. Then reloads the current page to request a new ID from the server.
Generated using TypeDoc
The object with functionality related to multiple window support in PrimeFaces applications.