|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WindowHandler
Allows to customize the basic window integration. E.g. needed for adapters for component libs which already provide a window-id concept
Method Summary | |
---|---|
String |
createWindowId()
Creates a new and unique window-id for the current user-session |
String |
encodeURL(String url)
Allows to intercept the URL encoding |
String |
restoreWindowId(javax.faces.context.ExternalContext externalContext)
Allows to restore the window-id depending on the window-strategy supported by the implementation |
void |
sendRedirect(javax.faces.context.ExternalContext externalContext,
String url,
boolean addRequestParameter)
Allows to intercept redirects |
Method Detail |
---|
String encodeURL(String url)
url
- URL which has to be encoded
void sendRedirect(javax.faces.context.ExternalContext externalContext, String url, boolean addRequestParameter) throws IOException
externalContext
- current external-contexturl
- current URLaddRequestParameter
- flag which indicates if the request-parameters should be added to the URL
IOException
- exception which might be thrown by the external-context during the redirectString createWindowId()
String restoreWindowId(javax.faces.context.ExternalContext externalContext)
externalContext
- current external-context
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |