public class CODIClientSideWindow extends ClientWindow
CLIENT_WINDOW_MODE_PARAM_NAME
Modifier | Constructor and Description |
---|---|
protected |
CODIClientSideWindow(org.apache.myfaces.lifecycle.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, isClientWindowRenderModeEnabled
protected CODIClientSideWindow(org.apache.myfaces.lifecycle.TokenGenerator clientWindowTokenGenerator, WindowContextConfig windowContextConfig, ClientConfig clientConfig)
public void decode(FacesContext facesContext)
decode
in class ClientWindow
public 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 ViewParameter
encodeValues
- flag which indicates if parameter values should be encoded or notprotected String createWindowId(FacesContext context)
public String getId()
getId
in class ClientWindow
public void setId(String id)
public Map<String,String> getQueryURLParameters(FacesContext context)
getQueryURLParameters
in class ClientWindow
Copyright © 2020 The Apache Software Foundation. All rights reserved.