I'm not sure why it does that but there is an easy way to avoid it. That is not 
to close the tag properly in XHTML style, just use ">" instead of "/>":

This will give you double output:

<cf_mytag />

This will give you single output (more expected result)"

<cf_mytag>

I think that is because the first case is equivalent to <cf_mytag></cf_mytag> 
and this triggers coldfusion to execute the script twice.

Khoa

>There is a way to suppress that and I can't recall how (been a long
>time).
>
>I see in my head something to do with...
>
><cfif THIS.tagStart>
>
>and 
>
><cfif THIS.tagEnd>
>
>HTH...at least you know it is possible....now go forth and Google ;-)
>
>Cheers
>-  
>
>Bryan Stevenson B.Comm.
>VP & Director of E-Commerce Development
>Electric Edge Systems Group Inc.
>phone: 250.480.0642
>fax: 250.480.1264
>cell: 250.920.8830
>e-mail: br...@electricedgesystems.com
>web: www.electricedgesystems.com
> 
>Notice:
>This message, including any attachments, is confidential and may contain
>information that is privileged or exempt from disclosure. It is intended
>only for the person to whom it is addressed unless expressly authorized
>otherwise by the sender. If you are not an authorized recipient, please
>notify the sender immediately and permanently destroy all copies of this
>message and attachments. 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:328080
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to