Package org.apache.myfaces.util
Class ViewNamespaceUtils
java.lang.Object
org.apache.myfaces.util.ViewNamespaceUtils
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
getViewNamespace
(FacesContext context) static String
getViewNamespace
(FacesContext context, jakarta.servlet.ServletRequest request) Gets the view namespace of the current viewroot.protected static String
resolvePrefixFromRequest
(FacesContext facesContext, Map<String, String[]> requestParameterMap)
-
Field Details
-
CACHE_ATTR
- See Also:
-
-
Constructor Details
-
ViewNamespaceUtils
public ViewNamespaceUtils()
-
-
Method Details
-
getViewNamespace
-
getViewNamespace
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:
-
resolvePrefixFromRequest
protected static String resolvePrefixFromRequest(FacesContext facesContext, Map<String, String[]> requestParameterMap)
-