Custom Tag in CFC not working
I am using a cf custom tag in a cfc and it doesn't appear to be working. The method the custom tag appears in executes correctly but the custom tag doesn't seem to execute. The custom tag writes an entry to a log file. Has anyone experience this problem? Chris -- Chris Velevitch Manager - Sydney Flash Platform Developers Group m: 0415 469 095 www.flashdev.org.au ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260459 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Custom Tag in CFC not working
What does it do and where is the tag being called from? What is your CFC code? This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com -Original Message- From: Chris Velevitch To: CF-Talk Sent: Wed Nov 15 08:36:40 2006 Subject: Custom Tag in CFC not working I am using a cf custom tag in a cfc and it doesn't appear to be working. The method the custom tag appears in executes correctly but the custom tag doesn't seem to execute. The custom tag writes an entry to a log file. Has anyone experience this problem? Chris -- Chris Velevitch Manager - Sydney Flash Platform Developers Group m: 0415 469 095 www.flashdev.org.au ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260460 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Custom Tag in CFC not working
On 11/15/06, Robertson-Ravo, Neil (RX) [EMAIL PROTECTED] wrote: What does it do It writes to a log file. where is the tag being called from? Could be more explicit here. What is your CFC code? component cfimport taglib=... cffunction name=method mycustomtag text=... /cffunction /component The tag mycustomtag appends the text to the end of a file. Chris -- Chris Velevitch Manager - Sydney Flash Platform Developers Group m: 0415 469 095 www.flashdev.org.au ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260481 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Custom Tag in CFC not working
On Wednesday 15 November 2006 13:01, Chris Velevitch wrote: cfimport taglib=... Why do you do this and not just call cf_mycustomtag ? -- Tom Chiverton Helping to adaptively harvest enterprise-class technologies This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260482 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Custom Tag in CFC not working
Double check that the prefix you specify in the cfimport tag is mycustomtag otherwise CF will just ignore that mycustomtag call. Cheers, Sam On 11/15/06, Chris Velevitch [EMAIL PROTECTED] wrote: On 11/15/06, Robertson-Ravo, Neil (RX) [EMAIL PROTECTED] wrote: What does it do It writes to a log file. where is the tag being called from? Could be more explicit here. What is your CFC code? component cfimport taglib=... cffunction name=method mycustomtag text=... /cffunction /component The tag mycustomtag appends the text to the end of a file. Chris ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260496 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Custom Tag in CFC not working
That's apparently the new way of loading in a custom tag. I'm not sure why they started doing it that way. !//-- andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- -Original Message- From: Tom Chiverton [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 15, 2006 7:25 AM To: CF-Talk Subject: Re: Custom Tag in CFC not working On Wednesday 15 November 2006 13:01, Chris Velevitch wrote: cfimport taglib=... Why do you do this and not just call cf_mycustomtag ? ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260500 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Custom Tag in CFC not working
Because it loads ALL customs tags from specified path and allows you to call them with this syntax prefix:tagname And negates the need to have a custom mapping or custom tag path to use custom tags. Russ -Original Message- From: Andy Matthews [mailto:[EMAIL PROTECTED] Sent: 15 November 2006 14:44 To: CF-Talk Subject: RE: Custom Tag in CFC not working That's apparently the new way of loading in a custom tag. I'm not sure why they started doing it that way. !//-- andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- -Original Message- From: Tom Chiverton [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 15, 2006 7:25 AM To: CF-Talk Subject: Re: Custom Tag in CFC not working On Wednesday 15 November 2006 13:01, Chris Velevitch wrote: cfimport taglib=... Why do you do this and not just call cf_mycustomtag ? ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260506 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Custom Tag in CFC not working
On 11/16/06, Tom Chiverton [EMAIL PROTECTED] wrote: On Wednesday 15 November 2006 13:01, Chris Velevitch wrote: cfimport taglib=... Why do you do this and not just call cf_mycustomtag ? This application will be deployed to a shared hosting environment so I can't place the custom tag in the global locations and since I use the tag in multiple cf pages in different directories, I don't want have multiple copies of the tag in every directory that contains a cf pages that use this tag. Chris -- Chris Velevitch Manager - Sydney Flash Platform Developers Group m: 0415 469 095 www.flashdev.org.au ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260595 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4