thanks Raymond, it was actually one of your apps I was looking at that was confusing me :)
~Dave the disruptor~ "A criminal is a person with predatory instincts who has not sufficient capital to form a corporation." ---------------------------------------- From: Raymond Camden <[EMAIL PROTECTED]> Sent: Saturday, June 18, 2005 6:44 PM To: CF-Talk <cf-talk@houseoffusion.com> Subject: Re: cfmodule 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, , don't forget that when using cfmodule, you must properly close all tags. So consider this: 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: 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: 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 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 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/ > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:209939 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=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54