dw.experience
Class PageScriptContext
Object
dw.experience.PageScriptContext
This is the context that is handed over to the render function of the respective page type script.
     String : render( PageScriptContext context)
 
Properties
content  :  Map  (Read Only)
The content attributes of the page. Currently those are not merchant manageable but are solely set in your respective page type render function.
page  :  Page  (Read Only)
The page for which the corresponding page type script is currently executed.
renderParameters  :  String  (Read Only)
The parameters argument as passed when kicking off page rendering via PageMgr.renderPage(String, String).
Constructor Summary
This class does not have a constructor, so you cannot create it directly.
Method Summary
getContent() : Map
Returns the content attributes of the page.
getPage() : Page
Returns the page for which the corresponding page type script is currently executed.
getRenderParameters() : String
Returns the parameters argument as passed when kicking off page rendering via PageMgr.renderPage(String, String).
Methods inherited from class Object
Method Detail
getContent
getContent() : Map
Returns the content attributes of the page. Currently those are not merchant manageable but are solely set in your respective page type render function.
Returns:
content attributes of the page

getPage
getPage() : Page
Returns the page for which the corresponding page type script is currently executed.
Returns:
the currently rendered page

getRenderParameters
getRenderParameters() : String
Returns the parameters argument as passed when kicking off page rendering via PageMgr.renderPage(String, String).
Returns:
the parameters passed to page rendering

X Privacy Update: We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used. By continuing to use this site you are giving us your consent to do this. Privacy Policy.