public class SwitchingViewDeclarationLanguageConfigurator
extends org.apache.myfaces.trinidad.config.Configurator
<contex-param> <param-name>oracle.adf.view.rich.automation.view.FORCE_VIEW_ID_PARAM</param-name> <param-value>fvdl</param-value> </contex-param> Then adding fvdl=index.xhtml
to the url as a parameter would set the forcedViewId to be index.xhtml. Likewise, putting fvdl=
on the URL would restore the normal faces behavior.
Constructor and Description |
---|
SwitchingViewDeclarationLanguageConfigurator() |
Modifier and Type | Method and Description |
---|---|
void |
beginRequest(javax.faces.context.ExternalContext externalContext)
Implements the beginRequest functionality.
|
static String |
getForcedViewId(javax.faces.context.ExternalContext ec)
Returns the forced viewId value off the current request.
|
void |
init(javax.faces.context.ExternalContext externalContext)
Performs init tasks.
|
static void |
setForcedViewId(javax.faces.context.ExternalContext ec, String value)
Sets the forced viewId.
|
public SwitchingViewDeclarationLanguageConfigurator()
public static String getForcedViewId(javax.faces.context.ExternalContext ec)
public static void setForcedViewId(javax.faces.context.ExternalContext ec, String value)
value
-public void beginRequest(javax.faces.context.ExternalContext externalContext)
beginRequest
in class org.apache.myfaces.trinidad.config.Configurator
externalContext
-public void init(javax.faces.context.ExternalContext externalContext)
init
in class org.apache.myfaces.trinidad.config.Configurator
externalContext
-