public class CODIClientSideWindow extends ClientWindow
CLIENT_WINDOW_MODE_PARAM_NAME| Modifier | Constructor and Description |
|---|---|
protected |
CODIClientSideWindow(TokenGenerator clientWindowTokenGenerator,
WindowContextConfig windowContextConfig,
ClientConfig clientConfig) |
| Modifier and Type | Method and Description |
|---|---|
static String |
addParameters(ExternalContext externalContext,
String url,
boolean addRequestParameter,
boolean addPageParameter,
boolean encodeValues)
Adds the current request-parameters to the given url
|
String |
calculateWindowIdFromPost(FacesContext context) |
protected String |
createWindowId(FacesContext context) |
void |
decode(FacesContext facesContext) |
String |
getId() |
Map<String,String> |
getQueryURLParameters(FacesContext context) |
void |
setId(String id) |
disableClientWindowRenderMode, enableClientWindowRenderMode, isClientWindowRenderModeEnabledprotected CODIClientSideWindow(TokenGenerator clientWindowTokenGenerator, WindowContextConfig windowContextConfig, ClientConfig clientConfig)
public void decode(FacesContext facesContext)
decode in class ClientWindowpublic String calculateWindowIdFromPost(FacesContext context)
public static String addParameters(ExternalContext externalContext, String url, boolean addRequestParameter, boolean addPageParameter, boolean encodeValues)
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 notprotected String createWindowId(FacesContext context)
public String getId()
getId in class ClientWindowpublic void setId(String id)
public Map<String,String> getQueryURLParameters(FacesContext context)
getQueryURLParameters in class ClientWindowCopyright © 2021 The Apache Software Foundation. All rights reserved.