G'day
Consider this code:

<!--- caller.cfm --->
<cf_outer>
        <cf_inner>
</cf_outer>

<!--- outer.cfm --->
<cfif thistag.executionmode eq "end">
        <cfdump var="#thistag#">
</cfif>

<!--- inner.cfm --->
<cfassociate basetag="cf_outer" datacollection="subtags.inner">

In CF, outer.cfm's thistag struct ends up with a key "subtags", which
is a struct containing a key "inner".

On OBD, thistag just has a key "subtags.inner".

Note: the version of Railo I have also does it the same way as OBD.

I can see arguments both ways, and I certainly find CF's approach more
handy for what I'm doing right now.  Although it's no great shakes for
me to refactor how I'm doing things, I s'pose.  I still - like the
broken record I am in this regard - there's something to be said for
doing it the same way as the precedent set by CF.

Anyway, just thought I'd make the observation.

Cheers.

--
Adam

-- 
Open BlueDragon Public Mailing List
 http://www.openbluedragon.org/   http://twitter.com/OpenBlueDragon
 official manual: http://www.openbluedragon.org/manual/
 Ready2Run CFML http://www.openbluedragon.org/openbdjam/

 mailing list - http://groups.google.com/group/openbd?hl=en

Reply via email to