I'm writing a tag that uses subtags. I tend to call custom tags with
<cfmodule ></cfmodule> syntax because if you are in shared environment you
don't have to worry about installing the tags in the customTags directory
and I tend to have tags that nest.
My issue is that I'm finding the if I call the tags as
<cfmodule template="basetag.cfm"
<cfmodule template="subtag.cfm"
field="field"
value="value"> </cfmodule>
</cfmodule >
The thistag.assocAttribs array has 2 elements instead of just one. I'm
aware that when nesting tags you need to check
thisTag.executionMode. However, the code in subtag.cfm is simply
<CFASSOCIATE BASETAG="basetag">
No logic is required as I simply want to associate the values in the subtag
with the parent tag.
Is this the expected behavior? I would expect that the subtag behavior
should be the same regardless if called with regular custom tag syntax or
<cfmodule> but I'm finding that is not the case.
I have workarounds to not use a subtag but I would like to support it if
possible.
TIA,
Phil
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists