But instead of this:
<cf_foo attributeCollection = "#att#">
can I do this:
<cf_foo att="#att#">
And if so, and since I have found examples of this in Spectra 1.5.2 (see
below) I believe we can, what does attributeCollection do for us?
>From customtags/system/tier0/objectstore/cfa_contentObjectData.cfm (both
stObjects and stParams are structures)
<!--- invoke get handler --->
<cfset stObjects = StructNew()>
<cfset stObjects[attributes.objectID] = stObject>
<cfset stParams = StructNew()>
<cfset stParams.stType = stType>
<cfset stParams.stInputProperties = stInputProperties>
<cfset stParams.ISOLanguage = attributes.ISOLanguage>
<cfset stParams.bThrowOnUnknownProperties =
attributes.bThrowOnUnknownProperties>
<cfmodule
template = "#stTMDs.updateobjectdata.handlerURL#"
dataSource = "#attributes.dataSource#"
method = "updateobjectdata"
lObjectIDs = "#attributes.objectID#"
stObjects = "#stObjects#"
stParams = "#stParams#"
r_stParams = "stResultParams"
>
>
><cf_foo
att
>="#att#">
[EMAIL PROTECTED] writes:
>Sure.
>
><cfset att = structNew()>
><cfset att.s = structNew()>
><cfset att.s.x = 1>
>
><cf_foo attributeCollection="#att#">
>
>Enjoy the CF goodness. :)
=====================
Marc Straka
Web Applications Engineer
Nolo
(510) 704-2226
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Signup for the Fusion Authority news alert and keep up with the latest news in
ColdFusion and related topics.
http://www.fusionauthority.com/signup.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.