Package org.ametys.web.content
Class GetWrapperContextAction
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.acting.AbstractAction
org.ametys.cms.content.GetWrapperContextAction
org.ametys.web.content.GetWrapperContextAction
- All Implemented Interfaces:
Component
,LogEnabled
,Serviceable
,Action
This action export the current site and skin name.
-
Field Summary
Fields inherited from class org.ametys.cms.content.GetWrapperContextAction
_contentTypesHelper, _srcResolver
Fields inherited from class org.apache.cocoon.acting.AbstractAction
EMPTY_MAP
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
getWrapperURI
(Request request, String uri) Compute the wrapping URI for the current Content.Methods inherited from class org.ametys.cms.content.GetWrapperContextAction
act, getSourceURIs, service
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
Constructor Details
-
GetWrapperContextAction
public GetWrapperContextAction()
-
-
Method Details
-
getWrapperURI
Description copied from class:GetWrapperContextAction
Compute the wrapping URI for the current Content.- Overrides:
getWrapperURI
in classGetWrapperContextAction
- Parameters:
request
- the current Request.uri
- the default uri.- Returns:
- the wrapper XSLT URI.
- Throws:
IOException
- if an error occurs whuile resolving Sources.
-