Class CODIClientSideWindow
java.lang.Object
jakarta.faces.lifecycle.ClientWindow
org.apache.myfaces.lifecycle.clientwindow.CODIClientSideWindow
- Author:
- lu4242
-
Field Summary
Fields inherited from class jakarta.faces.lifecycle.ClientWindow
CLIENT_WINDOW_MODE_PARAM_NAME, NUMBER_OF_CLIENT_WINDOWS_PARAM_NAME
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
CODIClientSideWindow
(TokenGenerator clientWindowTokenGenerator, WindowContextConfig windowContextConfig, ClientConfig clientConfig) -
Method Summary
Modifier and TypeMethodDescriptionstatic String
addParameters
(ExternalContext externalContext, String url, boolean addRequestParameter, boolean addPageParameter, boolean encodeValues) Adds the current request-parameters to the given urlcalculateWindowIdFromPost
(FacesContext context) protected String
createWindowId
(FacesContext context) void
decode
(FacesContext facesContext) getId()
getQueryURLParameters
(FacesContext context) void
Methods inherited from class jakarta.faces.lifecycle.ClientWindow
disableClientWindowRenderMode, enableClientWindowRenderMode, isClientWindowRenderModeEnabled
-
Constructor Details
-
CODIClientSideWindow
protected CODIClientSideWindow(TokenGenerator clientWindowTokenGenerator, WindowContextConfig windowContextConfig, ClientConfig clientConfig)
-
-
Method Details
-
decode
- Specified by:
decode
in classClientWindow
-
calculateWindowIdFromPost
-
addParameters
public static String addParameters(ExternalContext externalContext, String url, boolean addRequestParameter, boolean addPageParameter, boolean encodeValues) Adds the current request-parameters to the given url- Parameters:
externalContext
- current external-contexturl
- current urladdRequestParameter
- flag which indicates if the request params should be added or notaddPageParameter
- flag which indicates if the view params should be added or not. See ViewParameterencodeValues
- flag which indicates if parameter values should be encoded or not- Returns:
- url with request-parameters
-
createWindowId
-
getId
- Specified by:
getId
in classClientWindow
-
setId
-
getQueryURLParameters
- Specified by:
getQueryURLParameters
in classClientWindow
-