This is happening outside the tag, it is just html/cfml. You could decide to
generate output based on a url param, application var, whatever:
<c:mytag>
<cfif url.x = "live">
this is the tag body of the tag "c:mytag"
</cfif>
</c:mytag>
-----Original Message-----
From: Barney Boisvert [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 24, 2005 2:22 PM
To: CF-Talk
Subject: Re: Stupid custom tag question
The body of the tag is the "stuff" between the opening and closing
tags in the calling markup. For example:
<c:mytag>
this is the tag body of the tag "c:mytag"
</c:mytag>
cheers,
barneyb
On 8/24/05, Dave Francis <[EMAIL PROTECTED]> wrote:
> But any part of the body of the tag will be either "start" or "end",
whether
> you select it or not. If you mean you want to selectively execute a common
> part of the tag, you could control that with an attribute I suppose?
>
--
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/
Got Gmail? I have 50 invites.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble
Ticket application
http://www.houseoffusion.com/banners/view.cfm?bannerid=48
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:216239
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