Some gotchas you should be aware of: If you want "name" to be an attribute for your custom tag, you can't call it via cfmodule. What I typically do is use 2 attributes, name and well, something else, like thename or something. I then use "thename" when calling the custom tag w/ cfmodule. Inside the tag I simply copy the attribute value to name.
If you use "wrapper" tags, ie, <cf_foo></cf_foo>, don't forget that when using cfmodule, you must properly close all tags. So consider this: <cfmodule template="layout.cfm"> <cfmodule template="foo.cfm"> </cfmodule> You may think the 3rd line closes the layout tag. Actually it closes the foo tag. To make it work right, you simply change the foo call to: <cfmodule template="foo.cfm" /> This will cause your tag to run twice. If you don't want that to happen, you can add this at the end of your custom tag: <cfexit method="exitTag"> In fact, I recommend you always do this so you don't forget. Enjoy. As a general, FYI, I typically always use cfmodule or cf_ so I don't have to worry about name collisions. On 6/18/05, James Holmes <[EMAIL PROTECTED]> wrote: > I'm not sure there's much more to it than what's in the docs: > > http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/reuseco5.htm > > http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/tags-pb4.htm > > On 6/18/05, dave <[EMAIL PROTECTED]> wrote: > > anyone know of any good tuts on using this? > > I can use it but just wanna know more :) > > > > -- > Geeque - accept the geek within and get your friends off your back - > http://www.cafepress.com/geeque/ > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:209927 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54