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, barney

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 Function udf_SomeFN() { } udfs... Setting of all udf's to request vars Works

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, Sept

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

Re: Custom tag question

2005-04-19 Thread Raymond Camden
Just an FYI, but you can also build nested tags as well: 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: > >http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/reus

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 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 I'v

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 and

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 documen

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: > > > some text > > > I can't seem to get the "some text" to stop appearing on the > page. I've tried enablecfoutputonly="yes" and in > the tag itself but I still see the text between the tags on > the page. How c

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 writte

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: http://www.contentbox.com/clau

RE: Custom Tag Question

2003-06-04 Thread John Stanley
Brian, thanks so much.this worked: -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 use pound signs: (this will dereferenc

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

RE: Custom Tag Question

2003-06-04 Thread Bryan Love
From: Raymond Camden [mailto:[EMAIL PROTECTED] Sent: 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,

RE: Custom Tag Question

2003-06-04 Thread Raymond Camden
> From: Bryan Love [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: > > (this will dereferenc get_data.summary_id bef

RE: Custom Tag Question

2003-06-04 Thread Bryan Love
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 that is doing os converting the "get_data.summary_id" to t

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 Not tried it but worth a shot.. >>> [EMAIL PROTECTED]

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 y

Re: Custom Tag Question

2003-03-11 Thread Info
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 Subject: Custom Tag Que

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 of

RE: Custom Tag Question

2003-03-11 Thread Andre Mohamed
Try something LIKE this inside of your custom tag: blah blah Thanks, André -Original Message- From: John Stanley [mailto:[EMAIL PROTECTED] Sent: 11 March 2003 14:29 To: CF-Talk Subject: Custom Tag Question I am creating a custom tag that will display the results of a que

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 , however, in general, it's not good practice to refer to variables outside the custom tag. 2) Pass the actual query Then your cfquery would be (Notice

RE: Custom Tag Question

2002-04-11 Thread Pascal Peters
with this: -Original Message- From: Chad Gray [mailto:[EMAIL PROTECTED]] Sent: donderdag 11 april 2002 22:45 To: CF-Talk Subject: RE: Custom Tag Question Ok... i did quite follow what you guys were saying, but thanks for trying. I did get it to work like this. Let me know if im an idiot and i

RE: Custom Tag Question

2002-04-11 Thread Chad Gray
Ok... i did quite follow what you guys were saying, but thanks for trying. I did get it to work like this. Let me know if im an idiot and if this is total kludge. I put Caller.#ATTRIBUTES.Query# into the Query="" on my CFoutput. Calling the tag with this:

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

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] ThisTag.GeneratedContent...

2001-07-17 Thread Bryan LaPlante
Try saving the content in a variable first. then clear the content. then do your replacement. #ReplaceNoCase(content, 'do NOT', 'do')# - Original Message - From: "Jamie Jackson" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Tuesday, July 17, 2001 10:38 AM Subject: [Cus

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 and . > > Here is a simplified example: I the following output: "Hello World, I > do want to display this sentence." > > ### Calling script ###: > > Hello, World, I d

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

2001-07-17 Thread Eric Dawson
rush answer - sorry. but if I understand correctly... == callingtemplate.cfm This is the Content. #PageContent# == end callingtemplate.cfm == stripcontent.cfm == end stripcontent.cfm This is how I do it. You could even get fancy to specify the variable name to return. E

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 and . Yes, it's possible. Simply clear the value of ThisTag.GeneratedContent when you're done with it. ### MyTag.cfm (custom tag) ###: #ReplaceNoCase(ThisTag.GeneratedContent, 'do NOT', 'd

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 and . > >Here is a

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

2001-07-17 Thread Raymond Camden
Simply do: 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 is the Force, and a powerful a

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. then clear the content. then do your replacement.

RE: Custom tag question

2000-05-13 Thread Eric Dawson
rying 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:46:25 +0930 Thanks for your reply, Larry. ThisTag.GeneratedContent works but not very well in the situation b

RE: Custom tag question

2000-05-12 Thread Leong Yew
? -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 8:07p >>> For instance if I use a cu

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: Long #var# string with variables embedded... How do I capture what is nested within the tags into a variable in custom tag template? Will it be possible to