:53
To: CF-Talk
Subject: RE: Is It possible, Custom Tag Question
Is it possible to use a CFX tag file without actually registering it
in the CFIDE?
You can put a custom tag in the same directory as the calling page and it
will work without registering it in the administrator.
[INFO] -- Access
:53
To: CF-Talk
Subject: RE: Is It possible, Custom Tag Question
Is it possible to use a CFX tag file without actually registering it
in the CFIDE?
You can put a custom tag in the same directory as the calling page and it
will work without registering it in the administrator.
[INFO
Is it possible to use a CFX tag file without actually registering it
in the CFIDE?
I have a tag i'd really like to use on a shared hosting account but i
don't have the ability (nor do i want my host to do it) to add it to
custom the customtag directory, or register it with CFIDE.
any thoughts?
As far as the CFX tag, I don't think so. Someone else could probably
give you the technical reasons why.
And the Excel file, can you save it as a CSV file first, then read it
using cffile? Then you could use one of the CSV to query custom tags
(CF_ not CFX_) on cflib to turn the data into a
Is it possible to use a CFX tag file without actually registering it
in the CFIDE?
You can put a custom tag in the same directory as the calling page and
it will work without registering it in the administrator.
[INFO] -- Access Manager:
This transmission may contain information that is
Being on a shared server isn't going to give him this access, though.
Most hosts won't allow this in a shared environment, in my experiences
anyway.
Munson, Jacob wrote:
Is it possible to use a CFX tag file without actually registering it
in the CFIDE?
You can put a custom tag in the same
You can put a custom tag in the same directory as the calling page and
it will work without registering it in the administrator.
This is true for CF template tags, but I think the original question was
about CFX tags in Java or C.
I don't think it is possible.
--
Hi,
I have a custom tag. It needs to have access to a UDF that I've created. The
UDF is stored in a file called application_udfs.cfm which is CFINCLUDED in the
application.cfm file of my application. Here's my problem:
1. If I run the page as is, my custom tag fails saying that the
Use caller.forceLinkTargetBlank from within your tag.
cheers,
barneyb
On 9/9/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hi,
I have a custom tag. It needs to have access to a UDF that I've created.
The UDF is stored in a file called application_udfs.cfm which is CFINCLUDED
in the
, September 09, 2005 3:45 PM
To: CF-Talk
Subject: Custom Tag question
Hi,
I have a custom tag. It needs to have access to a UDF that I've created. The
UDF is stored in a file called application_udfs.cfm which is CFINCLUDED in the
application.cfm file of my application. Here's my problem:
1. If I
...
/cfscript
Setting of all udf's to request vars
cfset request.udf_SomeFn = variables.udf_SomeFn
/cfif
Works for me ;)
Kevin Penny
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, September 09, 2005 2:45 PM
To: CF-Talk
Subject: Custom Tag question
DUH! My brain isn't functioning today!!!
Thanks BB.
Dave
-Original Message-
From: Barney Boisvert [mailto:[EMAIL PROTECTED]
Sent: Friday, September 09, 2005 3:49 PM
To: CF-Talk
Subject: Re: Custom Tag question
Use caller.forceLinkTargetBlank from within your tag.
cheers,
barneyb
Barney,
Thanks for that, Dan, but I'd actually mistyped. I wanted the closing
tag to still execute, just skipping the body. Not surprisingly, I was
also writing a caching tag, the difference being that the cached
content were generated Flash movies, so the output operation (which
takes place in
A clever idea, but CF throws an error saying the variable is
read-only, and can't be set by the user. Bummer.
On 8/25/05, Dan G. Switzer, II [EMAIL PROTECTED] wrote:
Barney,
Thanks for that, Dan, but I'd actually mistyped. I wanted the closing
tag to still execute, just skipping the body.
-Original Message-
From: Barney Boisvert [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 25, 2005 1:12 PM
To: CF-Talk
Subject: Re: Stupid custom tag question
A clever idea, but CF throws an error saying the variable is
read-only, and can't be set by the user. Bummer.
On 8/25/05, Dan G
That sounds like it might work, but it makes the conditionals kind of
nasty, because sExMode = end and thistag.ExMode = end is different
than sExMode = end and thisTag.exMode = start. So you'd need a
four-way conditional, in addition to a check for start mode at the top
to check whether you
Is there a way to, in the opening tag of a custom tag, tell the custom
tag to skip evaluation of it's body?
p:mytag
i don't want to do this
/p:mytag
mytag.cfm:
cfif this.executionMode EQ start
cfexit method=goToJustAfterClosingTag /
/cfif
Thanks,
barneyb
--
Barney Boisvert
[EMAIL
Whoops, I screwed up. I want to skip the body, but still execute the
closing tag. So that should be method=goToJustBEFOREClosingTag.
Not sure what I was thinking. To complete the thought,
method=exittag does what I described below, but that's NOT what I
want.
On 8/24/05, Barney Boisvert
cfif thistag.executionmode is end
Do this
/cfif
Will only do anything on the closing tag.
-Original Message-
From: Barney Boisvert [mailto:[EMAIL PROTECTED]
Sent: 24 August 2005 18:34
To: CF-Talk
Subject: Re: Stupid custom tag question
Whoops, I screwed up. I want to skip the body
You can do:
cfif thisTag.executionMode eq Start
Do Nothing
cfelse
Do your work
/cfif
Barney Boisvert wrote:
Whoops, I screwed up. I want to skip the body, but still execute the
closing tag. So that should be method=goToJustBEFOREClosingTag.
Not sure what I was thinking. To complete
can't you just comment out?
!---
cfif this.executionMode EQ start
cfexit method=goToJustAfterClosingTag /
/cfif
---
-Original Message-
From: Barney Boisvert [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 24, 2005 1:34 PM
To: CF-Talk
Subject: Re: Stupid custom tag question
: 24 August 2005 18:34
To: CF-Talk
Subject: Re: Stupid custom tag question
Whoops, I screwed up. I want to skip the body, but still execute the
closing tag. So that should be method=goToJustBEFOREClosingTag.
Not sure what I was thinking. To complete the thought, method=exittag
does what I
: Wednesday, August 24, 2005 1:49 PM
To: CF-Talk
Subject: Re: Stupid custom tag question
I want to execute the start tag, then OPTIONALLY execute the body of
the tag, and then execute the close tag. thistag.executionmode will
only tell me which part of the tag (opening or closing) is currently
You can use thistag.generatedcontent to decide what to do with the content
of tag.
Russ
-Original Message-
From: Barney Boisvert [mailto:[EMAIL PROTECTED]
Sent: 24 August 2005 18:49
To: CF-Talk
Subject: Re: Stupid custom tag question
I want to execute the start tag, then OPTIONALLY
Something wrong with the relatively trivial:
Inside your custom tag:
cfif attributes.doThis EQ TRUE
Do what you want
/cfif
Called with a page like this:
cf_myCustTag doThis=True
--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA
C code. C code
I don't want to ignore the content generated by the body, I want to
skip execution of the body. In other words, it's the processing I
want to avoid, not the output. Like how CFIF works, except that the
closing tag still executes.
cheers,
barneyb
On 8/24/05, Snake [EMAIL PROTECTED] wrote:
You
,
barneyb
On 8/24/05, Snake [EMAIL PROTECTED] wrote:
cfif thistag.executionmode is end
Do this
/cfif
Will only do anything on the closing tag.
-Original Message-
From: Barney Boisvert [mailto:[EMAIL PROTECTED]
Sent: 24 August 2005 18:34
To: CF-Talk
Subject: Re: Stupid custom tag question
I think your going to have to put a CFIF to decide as I cant see an
alternative.
cf_myTag
cfif someExpression
//Run body
/cfif
/cf_myTag
Barney Boisvert wrote:
I don't want to ignore the content generated by the body, I want to
skip execution of the body. In other words, it's
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
That doesn't work, because it forces the optional processing to be
defined INSIDE the custom tag, rather than in the CALLING template.
cheers,
barneyb
On 8/24/05, Ian Skinner [EMAIL PROTECTED] wrote:
Something wrong with the relatively trivial:
Inside your custom tag:
cfif
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
Osbun
Web Developer
Health Systems, International
-Original Message-
From: Barney Boisvert [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 24, 2005 12:49 PM
To: CF-Talk
Subject: Re: Stupid custom tag question
I want to execute the start tag, then OPTIONALLY execute the body of
the tag
.
Mark
-Original Message-
From: Barney Boisvert [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 24, 2005 2:08 PM
To: CF-Talk
Subject: Re: Stupid custom tag question
I don't want to ignore the content generated by the body, I want to skip
execution of the body. In other words, it's
Barney,
Is there a way to, in the opening tag of a custom tag, tell the custom
tag to skip evaluation of it's body?
p:mytag
i don't want to do this
/p:mytag
mytag.cfm:
cfif this.executionMode EQ start
cfexit method=goToJustAfterClosingTag /
/cfif
You should be able to do cancel the entire
Thanks for that, Dan, but I'd actually mistyped. I wanted the closing
tag to still execute, just skipping the body. Not surprisingly, I was
also writing a caching tag, the difference being that the cached
content were generated Flash movies, so the output operation (which
takes place in the
If you need to work out which class file is your specific template, I
have a neat little CF snippet that will tell you. Let me know if you
want the code.
On 8/5/05, S. Isaac Dealey [EMAIL PROTECTED] wrote:
If a custom tag has been changed and deployed to a
production enviroment
but has the
.
S. Isaac Dealey info
@turnkey.to
08/04/2005 09:32 PM
Please respond to cf-talk
To: CF-Talk cf-talk@houseoffusion.com
cc:
Subject:Re: Quick easy custom tag question
If a custom tag has been changed and deployed to a
production enviroment
If a custom tag has been changed and deployed to a production enviroment
but has the old version cached is there a way to force it to recognize the
new version without restarting the server to clear cache?
Thanks,
CC
ugh, what kind of custom tag? is in a cfx? Java based ones may
require a restart but pure CF ones shouldn't, unless perhaps you have
Trusted Cache on.
DK
On 8/4/05, Casey C Cook [EMAIL PROTECTED] wrote:
If a custom tag has been changed and deployed to a production enviroment
but has the old
If a custom tag has been changed and deployed to a
production enviroment
but has the old version cached is there a way to force it
to recognize the
new version without restarting the server to clear cache?
Hi Casey. If it's a CFML tag, check the ColdFusion directories for a
directory
I've never seen this done (perhaps I'm looking in the wrong places), but
I'd like to create paired custom tags, so I can do something like this:
cf_question layout=vertical name=TestQuestionQuestion text
here/cf_question
And have it build an input tag for me, rather than:
cf_question
http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/reusec22.htm
http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/reusec23.htm
-Original Message-
From: Thane Sherrington [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 20 April 2005 7:17
To: CF-Talk
Subject: Custom tag question
At 08:33 PM 19/04/2005, James Holmes wrote:
http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/reusec22.htm
http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/reusec23.htm
Thanks.
T
---
[This E-mail scanned for viruses by Declude Anti-Virus]
Just an FYI, but you can also build nested tags as well:
cf_parent
cf_child
cf_grandkid
/cf_child
/cf_parent
Of course, I've only rarely done this for a real custom tag.
On 4/19/05, Thane Sherrington [EMAIL PROTECTED] wrote:
At 08:33 PM 19/04/2005, James Holmes wrote:
I have a custom tag that has a start and end tag in cfml. For example:
cf_mytag
some text
/cf_mytag
I can't seem to get the some text to stop appearing on the page. I've tried
enablecfoutputonly=yes and cfsilent in the tag itself but I still see the
text between the tags on the page. How
I have a custom tag that has a start and end tag in cfml.
For example:
cf_mytag
some text
/cf_mytag
I can't seem to get the some text to stop appearing on the
page. I've tried enablecfoutputonly=yes and cfsilent in
the tag itself but I still see the text between the tags on
the
Thanks Dave!
That did the trick. I searched the cf docs and google and couldn't find this
info.
Regards,
Howie
~|
Logware (www.logware.us): a new and convenient web-based time tracking
application. Start tracking and
Like this?
http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/reusec23.htm
-Original Message-
From: Howie Hamlin [mailto:[EMAIL PROTECTED]
Sent: Monday, 14 March 2005 10:05
To: CF-Talk
Subject: Re: Custom tag question
Thanks Dave!
That did the trick. I searched the cf docs
I'm working on a custom tag to somewhat automate the auditing of database
changes for an application and I have a dumb question -
In the start section of the tag I am storing the current values into a
structure, then my idea is to requery the table at the end section and
compare the two to create
do I need to do anything special to make sure that the structure is
maintained between the start and end tags?
No, what you have created in the start section is available in the end section.
--
___
See some cool custom tags here:
do I need to do anything special to make sure that the structure is
maintained between the start and end tags?
No, what you have created in the start section is available in the end
section.
Excellent!I'm using the custom tag approach to interface with a UDF that
I've already written...
All,
I need to pass a portion of a conditional statement to a custom tag,
like
cf_thistag condition=get_data.summary_id eq 263012
then in the custom tag I wanna do something like
cfoutput query=attributes.queryname
cfif attributes.condition neq
cfif
: www.camdenfamily.com/morpheus/blog
Yahoo IM : morpheus
My ally is the Force, and a powerful ally it is. - Yoda
-Original Message-
From: John Stanley [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 03, 2003 12:27 PM
To: CF-Talk
Subject: Custom Tag Question
All,
I need to pass a portion
What that is doing os converting the get_data.summary_id to
the actual value before it is past over to the customtag.
One being a string value and the other a value.
Might try to convert the ID to a VAL within the call to the customtag
cf_thistag condition=VAL(get_data.summary_id) eq 263012
, that my child may have
peace'...
- Thomas Paine, The American Crisis
Let's Roll
- Todd Beamer, Flight 93
-Original Message-
From: Randell B Adkins [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 03, 2003 11:58 AM
To: CF-Talk
Subject: Re: Custom Tag Question
What
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 03, 2003 2:22 PM
To: CF-Talk
Subject: RE: Custom Tag Question
Actually, you have two choices here:
you can either use pound signs:
cf_thistag condition=#get_data.summary_id# eq 263012
(this will dereferenc get_data.summary_id before passing
: Tuesday, June 03, 2003 2:03 PM
To: CF-Talk
Subject: RE: Custom Tag Question
I don't think so. That would execute when the tag calls. I _believe_ he
wants the condition to be run inside the tag, in this case, every time
for every row in a query
Thanks, but I get the error : cannot convert the value
VAL(get_data.summary_id) eq 263012 to a boolean
-Original Message-
From: Randell B Adkins [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 03, 2003 2:58 PM
To: CF-Talk
Subject: Re: Custom Tag Question
What that is doing os converting
Brian, thanks so much.this worked: cfif
evaluate(caller.#attributes.collinkcondition#)
-Original Message-
From: Bryan Love [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 03, 2003 4:22 PM
To: CF-Talk
Subject: RE: Custom Tag Question
Actually, you have two choices here:
you can either
I am creating a custom tag that will display the results of a query. I know
there are already some out there, but I wanna do it myself.
I have an attribute called queryname that i refer to in the call of the
custom tag.
cf_mytag queryname=get_users
inside the custom tag i refer to it as
PROTECTED]
Blog : www.camdenfamily.com/morpheus/blog
Yahoo IM : morpheus
My ally is the Force, and a powerful ally it is. - Yoda
-Original Message-
From: John Stanley [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 11, 2003 8:29 AM
To: CF-Talk
Subject: Custom Tag Question
I am
Tag Question
I am creating a custom tag that will display the results of a query. I
know
there are already some out there, but I wanna do it myself.
I have an attribute called queryname that i refer to in the call of the
custom tag.
cf_mytag queryname=get_users
inside the custom tag i refer
Raymond, thank you very much for your help. that was it.
-Original Message-
From: Raymond Camden [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 11, 2003 9:38 AM
To: CF-Talk
Subject: RE: Custom Tag Question
That is because you did not pass the query to the custom tag, but the
name
Subject: Custom Tag Question
I am creating a custom tag that will display the results of a query. I
know
there are already some out there, but I wanna do it myself.
I have an attribute called queryname that i refer to in the call of the
custom tag.
cf_mytag queryname=get_users
inside
#
td
img src=../catImages/#ThumbNail# border=0 alt=#ID#
/td
/cfoutput
cfset BeginRow = BeginRow + NumOfCol
/tr
/cfloop
/table
-Original Message-
From: Chad Gray [mailto:[EMAIL PROTECTED]]
Sent: donderdag 11 april 2002 22:45
To: CF-Talk
Subject: RE: Custom Tag
Hello,
I am trying to write a super simple custom tag but im running into problems
getting CFQuery information into the custom tag. Is it possible to pass
Query data into a custom tag?
My error is The QUERY attribute of the tag does not specify the name of an
available query
Im calling
I am trying to write a super simple custom tag but im running into problems
getting CFQuery information into the custom tag. Is it possible to pass
Query data into a custom tag?
Yes. The trick is evaluating it before passing it, you can't pass it by reference.
It becomes an attribute of
I am trying to write a super simple custom tag but im
running into problems getting CFQuery information into
the custom tag. Is it possible to pass Query data into
a custom tag?
Yes. The trick is evaluating it before passing it, you can't
pass it by reference. It becomes an
Please tell me if the following is possible, and how: I want to stifle
the output of the area between cf_MyTag and /cf_MyTag.
Here is a simplified example: I the following output: Hello World, I
do want to display this sentence.
### Calling script ###:
cf_MyTag
Hello, World, I do NOT want to
Got this reply via email, and it does exactly what I needed... Thanks
Bryan.
Tuesday, July 17, 2001 1:03 PM
My posts don't seem to go through for a long time so I am sending this
to you
directly.
Try saving the content in a variable first.
cfset content = thistag.generatedContent
then clear
is the Force, and a powerful ally it is. - Yoda
-Original Message-
From: Jamie Jackson [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 17, 2001 11:38 AM
To: CF-Talk
Subject: [Custom Tag Question] ThisTag.GeneratedContent...
Please tell me if the following is possible, and how: I
In the end portion of the tag you need to set ThisTag.GeneratedContent to
nothing. Do this after you output what you need to output.
At 11:38 AM 7/17/2001 -0400, you wrote:
Please tell me if the following is possible, and how: I want to stifle
the output of the area between cf_MyTag and
Please tell me if the following is possible, and how: I want to
stifle the output of the area between cf_MyTag and /cf_MyTag.
Yes, it's possible. Simply clear the value of ThisTag.GeneratedContent when
you're done with it.
### MyTag.cfm (custom tag) ###:
]
To: CF-Talk [EMAIL PROTECTED]
Subject: [Custom Tag Question] ThisTag.GeneratedContent...
Date: Tue, 17 Jul 2001 11:38:28 -0400
Please tell me if the following is possible, and how: I want to stifle
the output of the area between cf_MyTag and /cf_MyTag.
Here is a simplified example: I the following
Jamie Jackson wrote:
Please tell me if the following is possible, and how: I want to stifle
the output of the area between cf_MyTag and /cf_MyTag.
Here is a simplified example: I the following output: Hello World, I
do want to display this sentence.
### Calling script ###:
cf_MyTag
]
To: CF-Talk [EMAIL PROTECTED]
Sent: Tuesday, July 17, 2001 10:38 AM
Subject: [Custom Tag Question] ThisTag.GeneratedContent...
| Please tell me if the following is possible, and how: I want to stifle
| the output of the area between cf_MyTag and /cf_MyTag.
|
| Here is a simplified example: I
contracts, and sleep!
Work hard, play harder!
"You could try another approach."
My token Dave Watts quote (just trying to fit in. :)
From: "Leong Yew" [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: RE: Custom tag question
Date: Sat, 13 May 2000 14
using
additional nested tags inside the custom tags?
-Original Message-
From: Larry Meadors [mailto:[EMAIL PROTECTED]]
Sent: Saturday, May 13, 2000 12:56 PM
To: [EMAIL PROTECTED]
Subject: Re: Custom tag question
Are you looking for thistag.generatedcontent?
Larry
[EMAIL PROTECTED] 5/12
Are you looking for thistag.generatedcontent?
Larry
[EMAIL PROTECTED] 5/12 8:07p
For instance if I use a custom tag like this:
cfset var = "text"
cf_customTag
Long #var# string with variables embedded...
/cf_CustomTag
How do I capture what is nested within the tags into a variable in
I've been going through my CF 4.5 documentation on writing custom tags. I
know that you can nest additional tags within a custom tag like so:
cf_CustomTag attribute1="this" attribute2="that"
cftag...
another cftag...
/cf_CustomTag
But I just can't find anything on something simpler. For
hi all,
Is it the proper use of custom tag cf_excel ? i want to take the
resultset which is on the browser to excel sheet
with the same result set appearing in the sheet. but with this tag i
managed to pass the link to webpage to
excel sheet. but there i could able to see the same code
81 matches
Mail list logo