> What happens if in my custom tag I call another <cfmodule> ....
> </cfmodule>? Will the parser barf?

The only situation where you might have a problem is when you convert
something like this to CFMODULE:

<cf_foo>
  <cf_bar>
</cf_foo>

Of course, if you do this:

<cfmodule template="foo.cfm">
  <cfmodule template="bar.cfm">
</cfmodule>

then CF will think that the closing CFMODULE goes with the second opening
CFMODULE, not the first. You can address that by making sure that each
opening tag has a closing tag. If the nested tag is empty, you can use the
XML syntax for designating an empty element:

<cfmodule template="foo.cfm">
  <cfmodule template="bar.cfm" />
</cfmodule>

Dave Watts, CTO, Fig Leaf Software 
http://www.figleaf.com/ 
phone: 202-797-5496 
fax: 202-797-5444
______________________________________________________________________
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
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to