In the CF MX documentation, it says to use the ATTRIBUTECOLLECTION
attribute when passing a structure in a CFMODULE tag. This seems to have
been the cause of an error I was getting on
_contentObjectCopy_resolveOwnerIDs.cfm when I was trying to publish an
object. However, no where in the Spectra 1.5.2 templates have I found the
ATTRIBUTECOLLECTION attribute in use with a CFMODULE tag. All the CFMODULE
tags that pass structures do it the old way as a simple, custom named
attribute. 

Does anyone know about this? Are there only rare instances when a
structure actually *needs* to be passed using the ATTRIBUTECOLLECTION
attribute?

The original code on cfa_contentObjectCopy.cfm was:
---------------------------------------------------------------------------------------------
<cfmodule 
        template="_contentobjectcopy_resolveownerids.cfm"
        stObject="#stObjectCopy#"
        ownerID="#attributes.copyObjectID#"
        dataSource="#attributes.dataSource#"
>
--------------------------------------------------------------------------------------------
I changed it to:
--------------------------------------------------------------------------------------------
<cfset temp = StructNew()>
<cfset temp.stObject=#stObjectCopy#>

<cfmodule 
        template="_contentobjectcopy_resolveownerids.cfm"
        attributeCollection=#temp# 
        ownerID="#attributes.copyObjectID#" 
        dataSource="#attributes.dataSource#"
        objectID="#stObjectCopy.objectID#"
        typeID="#stObjectCopy.typeid#" 
>
--------------------------------------------------------------------------------------------


=====================
Marc Straka
Web Applications Engineer
Nolo
(510) 704-2226

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

                        
------------------------------------------------------------------------------
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/spectra_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to