public class DeviceAwareRenderPageAction extends RenderPage
Modifier and Type | Field and Description |
---|---|
DeviceDetector |
detector |
LocaleService |
localeService |
aliasCoreFieldDao, pathTranslationService, URL_PATH, VIRTUAL_WEBROOT, wraCoreFieldDao
CALLTEMPLATE_EXCLUDE_VARS, ics, LOG, PACKEDARGS
Constructor and Description |
---|
DeviceAwareRenderPageAction() |
Modifier and Type | Method and Description |
---|---|
protected void |
callPage(AssetIdWithSite id,
String pagename,
String packedArgs) |
protected void |
callTemplate(AssetIdWithSite id,
String tname) |
protected String |
checkForDevicePagename(AssetIdWithSite id,
String pagename,
DeviceType type) |
protected String |
checkForDeviceTName(AssetIdWithSite id,
String tname,
DeviceType type) |
protected AssetIdWithSite |
findTranslation(AssetIdWithSite id) |
protected String |
getPostfix(DeviceType type) |
protected AssetIdWithSite |
resolveAssetId()
In this method the AssetId and the site are resolved.
|
handleRequest, setAliasCoreFieldDao, setIcs, setWraCoreFieldDao, setWraPathTranslationService
findAndSetP, getWraAndResolveAlias, renderPage
getCallTemplateArguments, getCallTemplateCallStyle, imposeCallTemplateStyle, massagePackedArgs, recordCompositionalDependencies, unpackPackedArgs
@InjectForRequest public DeviceDetector detector
@InjectForRequest public LocaleService localeService
protected AssetIdWithSite resolveAssetId()
WraRenderPage
resolveAssetId
in class WraRenderPage
protected void callTemplate(AssetIdWithSite id, String tname)
callTemplate
in class BaseRenderPage
protected void callPage(AssetIdWithSite id, String pagename, String packedArgs)
callPage
in class BaseRenderPage
protected AssetIdWithSite findTranslation(AssetIdWithSite id)
protected String getPostfix(DeviceType type)
protected String checkForDeviceTName(AssetIdWithSite id, String tname, DeviceType type)
protected String checkForDevicePagename(AssetIdWithSite id, String pagename, DeviceType type)
Copyright © 2010-2016 Oracle Corporation. All Rights Reserved.