Can you still pass a structure without using AttributeCollection in
cfmodule? Or is it still  permissible to pass it like any other variable,
lIke:

<cfset s - structNew()>
<cfset s.x = 1>
<cfset s.y = 2>

<cf_foo s ="#s#">



[EMAIL PROTECTED] writes:
>Attributecollection can be used both with cfmodule and 'normal' cf_
>custom tag calls. All it does is let you dynamically pass attributes to
>a tag. As you know, you can't do this:
>
><cf_foo
>       <cfif 1>
>               x=1
>       </cfif>
>               y=1
>>
>
>But attributeCollection allows you to do this:
>
><cfset s = structNew()>
><cfif 1>
>       <cfset s.x = 1>
></cfif>
>
><cf_foo attributeCollection="#s#" y=1>
>
>Note - I didn't pass a struct... technically, I passed x=1. Kinda
>confusing, but I think you can get the idea.


=====================
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