Re: Custom Tag question

2005-09-09 Thread Barney Boisvert
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

RE: Custom Tag question

2005-09-09 Thread Dave.Phillips
Could the problem be that this custom tag is being imported with CFIMPORT on the page, and then it's being called? When you CFIMPORT would it then define the UDF and then try again when you call the particular custom tag? Dave -Original Message- From: Phillips, Dave Sent: Friday,

RE: Custom Tag question

2005-09-09 Thread Kevin Penny
Typically I have my udf library included - I have a check to first see if that 'definition' already exists - that way I'm guarenteed to not include multiple 'udf libraries' w/in any document like this cfif not(isdefined('request.udf_SomeFn')) cfscript Function udf_SomeFN() { } udfs...

RE: Custom Tag question

2005-09-09 Thread Dave.Phillips
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

RE: Custom tag question

2005-04-19 Thread James Holmes
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

RE: Custom tag question

2005-04-19 Thread Thane Sherrington
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]

Re: Custom tag question

2005-04-19 Thread Raymond Camden
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:

RE: Custom tag question

2005-03-13 Thread Dave Watts
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

Re: Custom tag question

2005-03-13 Thread Howie Hamlin
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

RE: Custom tag question

2005-03-13 Thread James Holmes
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

Re: Custom Tag Question

2004-05-23 Thread Claude Schneegans
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:

RE: Custom Tag Question

2004-05-23 Thread C. Hatton Humphrey
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...

RE: Custom Tag Question

2003-06-04 Thread Raymond Camden
Evaluate is right - but when the evaluation is run, it's run in the context of the custom tag, not the calling template. The tag has no idea what get_data is unless you pass it. In your example below, you did not pass it, so it can't use the query. Did you pass it and just forget to include it in

Re: Custom Tag Question

2003-06-04 Thread Randell B Adkins
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

RE: Custom Tag Question

2003-06-04 Thread Bryan Love
, 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

RE: Custom Tag Question

2003-06-04 Thread Raymond Camden
[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

RE: Custom Tag Question

2003-06-04 Thread Bryan Love
: 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

RE: Custom Tag Question

2003-06-04 Thread John Stanley
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

RE: Custom Tag Question

2003-06-04 Thread John Stanley
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

RE: Custom Tag Question

2003-03-11 Thread Raymond Camden
That is because you did not pass the query to the custom tag, but the name of the query. You can fix this two ways. 1) In your custom tag, do cfoutput query=caller.#attributes.queryname#, however, in general, it's not good practice to refer to variables outside the custom tag. 2) Pass the actual

RE: Custom Tag Question

2003-03-11 Thread Andre Mohamed
Try something LIKE this inside of your custom tag: cfset theQuery = caller.#attributes.queryname# cfoutput query=theQuery blah blah /cfoutput Thanks, André -Original Message- From: John Stanley [mailto:[EMAIL PROTECTED] Sent: 11 March 2003 14:29 To: CF-Talk Subject: Custom

RE: Custom Tag Question

2003-03-11 Thread John Stanley
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

Re: Custom Tag Question

2003-03-11 Thread Info
cf_mytag queryname=#get_users# Looks like you need to put # around the variable that you are passing to the tag otherwise the tag will see it as a text string. - Original Message - From: John Stanley [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, March 11, 2003 7:28 AM

RE: Custom Tag Question

2002-04-12 Thread Pascal Peters
# 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

Re: Custom Tag Question

2002-04-11 Thread Sharon Diorio
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

RE: Custom Tag Question

2002-04-11 Thread Dave Watts
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

Re: [Custom Tag Question] ThisTag.GeneratedContent...

2001-07-17 Thread Jamie Jackson
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

RE: [Custom Tag Question] ThisTag.GeneratedContent...

2001-07-17 Thread Raymond Camden
Simply do: CFSET ThisTag.GeneratedContent = Make sure you do it in ThisTag.ExecutionMode EQ End. === Raymond Camden, Principal Spectra Compliance Engineer for Macromedia Email : [EMAIL PROTECTED] ICQ UIN : 3679482 My ally

Re: [Custom Tag Question] ThisTag.GeneratedContent...

2001-07-17 Thread Nick McClure
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

RE: [Custom Tag Question] ThisTag.GeneratedContent...

2001-07-17 Thread Dave Watts
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) ###:

Re: [Custom Tag Question] ThisTag.GeneratedContent...

2001-07-17 Thread Eric Dawson
rush answer - sorry. but if I understand correctly... == callingtemplate.cfm cf_stripContent This is the Content. /cf_stripContent cfoutput#PageContent#/cfoutput == end callingtemplate.cfm == stripcontent.cfm cfif ThisTag.ExecutionMode is start cfelse cfset caller.PageContent =

Re: [Custom Tag Question] ThisTag.GeneratedContent...

2001-07-17 Thread Jochem van Dieten
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

Re: [Custom Tag Question] ThisTag.GeneratedContent...

2001-07-17 Thread Bryan LaPlante
Try saving the content in a variable first. cfset content = thistag.generatedContent then clear the content. cfset thistag.generatedContent = then do your replacement. cfoutput#ReplaceNoCase(content, 'do NOT', 'do')#/cfoutput - Original Message - From: Jamie Jackson [EMAIL

RE: Custom tag question

2000-05-13 Thread Eric Dawson
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

RE: Custom tag question

2000-05-12 Thread Leong Yew
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

Re: Custom tag question

2000-05-12 Thread Larry Meadors
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