Package org.apache.myfaces.util
Class ViewNamespaceUtils
- java.lang.Object
- 
- org.apache.myfaces.util.ViewNamespaceUtils
 
- 
 public class ViewNamespaceUtils extends Object 
- 
- 
Field SummaryFields Modifier and Type Field Description protected static StringCACHE_ATTR
 - 
Constructor SummaryConstructors Constructor Description ViewNamespaceUtils()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static StringgetViewNamespace(FacesContext context)static StringgetViewNamespace(FacesContext context, jakarta.servlet.ServletRequest request)Gets the view namespace of the current viewroot.protected static StringresolvePrefixFromRequest(FacesContext facesContext, Map<String,String[]> requestParameterMap)
 
- 
- 
- 
Field Detail- 
CACHE_ATTRprotected static final String CACHE_ATTR - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getViewNamespacepublic static String getViewNamespace(FacesContext context) 
 - 
getViewNamespacepublic static String getViewNamespace(FacesContext context, jakarta.servlet.ServletRequest request) Gets the view namespace of the current viewroot. This is a porlet feature, where multiple faces view exists on one portlet view.- Parameters:
- context-
- request-
- Returns:
 
 - 
resolvePrefixFromRequestprotected static String resolvePrefixFromRequest(FacesContext facesContext, Map<String,String[]> requestParameterMap) 
 
- 
 
-