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
ConstructorsModifierConstructorDescriptionprotectedCODIClientSideWindow(TokenGenerator clientWindowTokenGenerator, WindowContextConfig windowContextConfig, ClientConfig clientConfig) -
Method Summary
Modifier and TypeMethodDescriptionstatic StringaddParameters(ExternalContext externalContext, String url, boolean addRequestParameter, boolean addPageParameter, boolean encodeValues) Adds the current request-parameters to the given urlcalculateWindowIdFromPost(FacesContext context) protected StringcreateWindowId(FacesContext context) voiddecode(FacesContext facesContext) getId()getQueryURLParameters(FacesContext context) voidMethods 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:
decodein 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:
getIdin classClientWindow
-
setId
-
getQueryURLParameters
- Specified by:
getQueryURLParametersin classClientWindow
-