$Id: preDisplay.cfm 63396 2010-11-16 17:37:00Z dseow $
$URL: http://10.134.130.120/svn/CodeDB/branches/stable/tmxp/displayhandlers/site/r2/preDisplay.cfm $
HTML opening tags etc for R2x, M4, Advertorial designs
Attributes:
co_pageData - page.cfc type component
[co_design] - com.design.AbstractDesign type component
[styleSheetList] - list of css filenames to include, without .css extension
[jsList] - list of js filenames to include, without .js extension
Note there is a space in front of the +AutoValidate disabling the validation.
TODO. Make the validation work again. It was disabled because it stopped working because a way of
building a mock page (for attributes.co_pageData) object needs to be developed which has methods,
in particular, useSiteLife and not just instance data.
+AutoValidate a co_pageData=_args2struct(localPath = '/src/x/y/z', useR21template=true,baseHREF='xxx',cssDesignUrlRoot='xxx',showPrintStyle=true,imageServer='http://whatever/',htmlPageTitle='hi there!',hasRSSFeed=true,rssURL='rss.xml',rssTitle='what_is_this',googleMapAPIKey='xyzbg')|execute both|type htmldoc
--->