In content.cfm, the code starts:
<cfif thisTag.executionMode IS "start">
<cfparam name="attributes.part" default="">
<cfparam name="page" default="#request.page#">
<cfset wheelsProxy=CreateObject("component","controllers.Controller") >
<cfset pagePart = wheelsProxy.wheelsExecute("model('pagePart').findByPage(pageID=#page.ID#, part = '#attributes.part#')")>
Shouldn’t this be:
<cfif thisTag.executionMode IS "start">
<cfparam name="attributes.part" default="">
<cfparam name="attributes.page" default="#request.page#">
<cfset wheelsProxy=CreateObject("component","controllers.Controller") >
<cfset pagePart = wheelsProxy.wheelsExecute("model('pagePart').findByPage(pageID=#attributes.page.ID#, part = '#attributes.part#')")>
Isn’t the intent to be able to pass the page into the tag?
Clarke
Office:
770-642-1353
eMail: cbi...@resultantsys.com
> eMail: cbis...@resultantsys.com
Doesn't it have to specify the attributes scope?
Clarke