Package com.webmethods.portal.faces.view
Class PortalViewHandler
java.lang.Object
javax.faces.application.ViewHandler
javax.faces.application.ViewHandlerWrapper
com.webmethods.portal.faces.view.PortalViewHandler
- All Implemented Interfaces:
FacesWrapper<ViewHandler>
View handler with portal extensions (like skin resources).
-
Field Summary
FieldsFields inherited from class javax.faces.application.ViewHandler
CHARACTER_ENCODING_KEY, DEFAULT_FACELETS_SUFFIX, DEFAULT_SUFFIX, DEFAULT_SUFFIX_PARAM_NAME, DISABLE_FACELET_JSF_VIEWHANDLER_PARAM_NAME, FACELETS_BUFFER_SIZE_PARAM_NAME, FACELETS_DECORATORS_PARAM_NAME, FACELETS_LIBRARIES_PARAM_NAME, FACELETS_REFRESH_PERIOD_PARAM_NAME, FACELETS_SKIP_COMMENTS_PARAM_NAME, FACELETS_SUFFIX_PARAM_NAME, FACELETS_VIEW_MAPPINGS_PARAM_NAME
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncalculateLocale
(FacesContext context) Override to use the MWS logic for calculating the locale.getActionURL
(FacesContext context, String viewId) WMC-3295 - Override to ensure the action URL for a form inside of a OpenCAF Shell template is going through the MWS servlet context.getResourceURL
(FacesContext ctx, String path) Override to replace skin properties.Methods inherited from class javax.faces.application.ViewHandlerWrapper
addProtectedView, calculateCharacterEncoding, calculateRenderKitId, createView, deriveLogicalViewId, deriveViewId, getBookmarkableURL, getProtectedViewsUnmodifiable, getRedirectURL, getViewDeclarationLanguage, getViews, getViews, getWebsocketURL, initView, removeProtectedView, renderView, restoreView, writeState
-
Field Details
-
SKIN_PREFIX
- See Also:
-
ALT_PREFIX
- See Also:
-
m_parent
-
-
Constructor Details
-
PortalViewHandler
Standard ViewHandler constructor.
-
-
Method Details
-
getWrapped
- Specified by:
getWrapped
in interfaceFacesWrapper<ViewHandler>
- Overrides:
getWrapped
in classViewHandlerWrapper
-
calculateLocale
Override to use the MWS logic for calculating the locale.- Overrides:
calculateLocale
in classViewHandlerWrapper
-
getActionURL
WMC-3295 - Override to ensure the action URL for a form inside of a OpenCAF Shell template is going through the MWS servlet context.- Overrides:
getActionURL
in classViewHandlerWrapper
-
getResourceURL
Override to replace skin properties.- Overrides:
getResourceURL
in classViewHandlerWrapper
-