Class CODIClientSideWindow
- java.lang.Object
- 
- jakarta.faces.lifecycle.ClientWindow
- 
- org.apache.myfaces.lifecycle.clientwindow.CODIClientSideWindow
 
 
- 
 public class CODIClientSideWindow extends ClientWindow - Author:
- lu4242
 
- 
- 
Field Summary- 
Fields inherited from class jakarta.faces.lifecycle.ClientWindowCLIENT_WINDOW_MODE_PARAM_NAME, NUMBER_OF_CLIENT_WINDOWS_PARAM_NAME
 
- 
 - 
Constructor SummaryConstructors Modifier Constructor Description protectedCODIClientSideWindow(TokenGenerator clientWindowTokenGenerator, WindowContextConfig windowContextConfig, ClientConfig clientConfig)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StringaddParameters(ExternalContext externalContext, String url, boolean addRequestParameter, boolean addPageParameter, boolean encodeValues)Adds the current request-parameters to the given urlStringcalculateWindowIdFromPost(FacesContext context)protected StringcreateWindowId(FacesContext context)voiddecode(FacesContext facesContext)StringgetId()Map<String,String>getQueryURLParameters(FacesContext context)voidsetId(String id)- 
Methods inherited from class jakarta.faces.lifecycle.ClientWindowdisableClientWindowRenderMode, enableClientWindowRenderMode, isClientWindowRenderModeEnabled
 
- 
 
- 
- 
- 
Constructor Detail- 
CODIClientSideWindowprotected CODIClientSideWindow(TokenGenerator clientWindowTokenGenerator, WindowContextConfig windowContextConfig, ClientConfig clientConfig) 
 
- 
 - 
Method Detail- 
decodepublic void decode(FacesContext facesContext) - Specified by:
- decodein class- ClientWindow
 
 - 
calculateWindowIdFromPostpublic String calculateWindowIdFromPost(FacesContext context) 
 - 
addParameterspublic 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-context
- url- current url
- addRequestParameter- flag which indicates if the request params should be added or not
- addPageParameter- flag which indicates if the view params should be added or not. See ViewParameter
- encodeValues- flag which indicates if parameter values should be encoded or not
- Returns:
- url with request-parameters
 
 - 
createWindowIdprotected String createWindowId(FacesContext context) 
 - 
getIdpublic String getId() - Specified by:
- getIdin class- ClientWindow
 
 - 
setIdpublic void setId(String id) 
 - 
getQueryURLParameterspublic Map<String,String> getQueryURLParameters(FacesContext context) - Specified by:
- getQueryURLParametersin class- ClientWindow
 
 
- 
 
-