org.apache.myfaces.lifecycle
Class CODIClientSideWindow
java.lang.Object
javax.faces.lifecycle.ClientWindow
org.apache.myfaces.lifecycle.CODIClientSideWindow
public class CODIClientSideWindow
- extends ClientWindow
- Author:
- lu4242
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CODIClientSideWindow
protected CODIClientSideWindow(org.apache.myfaces.lifecycle.TokenGenerator clientWindowTokenGenerator,
WindowContextConfig windowContextConfig,
ClientConfig clientConfig)
decode
public void decode(FacesContext facesContext)
-
- Specified by:
decode
in class ClientWindow
calculateWindowIdFromPost
public String calculateWindowIdFromPost(FacesContext context)
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 ViewParameter
encodeValues
- flag which indicates if parameter values should be encoded or not
- Returns:
- url with request-parameters
createWindowId
protected String createWindowId(FacesContext context)
getId
public String getId()
- Specified by:
getId
in class ClientWindow
setId
public void setId(String id)
getQueryURLParameters
public Map<String,String> getQueryURLParameters(FacesContext context)
- Specified by:
getQueryURLParameters
in class ClientWindow
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.