Package org.ametys.web.content
Class GetSiteAction
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.acting.AbstractAction
org.apache.cocoon.acting.ServiceableAction
org.ametys.web.content.GetSiteAction
- All Implemented Interfaces:
Component
,LogEnabled
,Serviceable
,Action
This action exports the current site and skin name.
-
Field Summary
Fields inherited from class org.apache.cocoon.acting.ServiceableAction
manager
Fields inherited from class org.apache.cocoon.acting.AbstractAction
EMPTY_MAP
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionact
(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) void
service
(ServiceManager smanager) Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
Field Details
-
OVERRIDE_SKIN_REQUEST_ATTR
Deprecated.request attribute to force skin choice (instead of choosing the skin associated of the content)- See Also:
-
OVERRIDE_SITE_REQUEST_ATTR
Deprecated.request attribute to force site choice (instead of choosing the site associated of the content)- See Also:
-
-
Constructor Details
-
GetSiteAction
public GetSiteAction()
-
-
Method Details
-
service
- Specified by:
service
in interfaceServiceable
- Overrides:
service
in classServiceableAction
- Throws:
ServiceException
-
act
public Map act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) throws Exception - Throws:
Exception
-