public class DynaviewEngine extends Object
| Constructor and Description |
|---|
DynaviewEngine() |
| Modifier and Type | Method and Description |
|---|---|
String |
buildDynaViewId(String facesServletMapping)
Given the string value of the Faces Servlet mapping, return a string that is guaranteed to match when a servlet
forward is issued.
|
String |
calculateDynaviewId(FacesContext facesContext,
UrlMapping urlMapping) |
String |
computeDynaViewId(FacesContext facesContext)
Calculate the Faces ViewId to which this request URI resolves.
|
void |
processDynaView(PrettyContext prettyContext,
FacesContext facesContext)
Handle DynaView processing.
|
public static final String DYNAVIEW
public String buildDynaViewId(String facesServletMapping)
public void processDynaView(PrettyContext prettyContext, FacesContext facesContext)
public String computeDynaViewId(FacesContext facesContext)
This phase does not support FacesNavigation or PrettyRedirecting. Its SOLE purpose is to resolve a viewId.
Note: Precondition - parameter injection must take place before this
Postcondition - currentViewId is set to computed View Id
facesContext2 - public String calculateDynaviewId(FacesContext facesContext, UrlMapping urlMapping)
Copyright © 2014 OCPsoft. All Rights Reserved.