In your Application.cfc, place your query in a persistent scope (which
depends upon context).
Change the custom tag to take the query in as an attribute.
Change the custom tag calls to include the attribute, passing in the
persistent scope var.
Or, if you really can't change the custom tag (you
chael Grant [mailto:mgr...@modus.bz]
Sent: Friday, December 31, 2010 14:20
To: cf-talk
Subject: Re: custom tag and javascript question
Maybe I'm not following along here. How can the JS assign a value to a
hidden form field if CF isn't rendering the hidden form field onto the page?
-Original Message-
> From: Michael Grant [mailto:mgr...@modus.bz]
> Sent: Friday, December 31, 2010 12:49
> To: cf-talk
> Subject: Re: custom tag and javascript question
>
>
> How your cf is set up does little to effect how the javascript will
> communicate with other
[mailto:mgr...@modus.bz]
Sent: Friday, December 31, 2010 12:49
To: cf-talk
Subject: Re: custom tag and javascript question
How your cf is set up does little to effect how the javascript will
communicate with other forms. JS will traverse your page in the usual way.
The fact that one form is in a
CF simply outputs any content in the file, it does not automatically make
any decisions about what to display unless you have defined this with
if/else block or switch/case statements or are dynamically generating the
content.
The other thing that could stop content being displayed is a or a
Al
How your cf is set up does little to effect how the javascript will
communicate with other forms. JS will traverse your page in the usual way.
The fact that one form is in a different file than another form doesn't
matter to JS since by the time it gets to the client browser it's all "one
page" as
I would search for offerings for the Ext JS library on riaforge.org.
Go to: http://www.riaforge.org/index.cfm?event=page.search
And search for EXT
I have used coldext in the past on CF 7 and was very happy with the results:
http://coldext.riaforge.org/
There are some new offerings that I have
Those are the first two sites I would check as well. There are other
sites targeted at selling tags that cost money, if your needs aren't
met by the free and open source offerings.
I highly doubt that you will find what you are looking for on free CF
tag sites. Most companies that offer professio
http://riaforge.org
http://cflib.org
On Fri, Jan 8, 2010 at 5:03 PM, Marie Taylore wrote:
>
> Hey all, what are some of the best or latest and greatest custom tag /
> function / cfc sites available out there? All the old links I have (haven't
> search for any in a while) look like they're pret
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:
This will give you single output (more expected result)"
I think that is because the first case is equiv
The custom tag isn't rendering the content again, YOU are rendering
the content again. If you create an empty custom tag and invoke it,
you'll get a single copy of the output. If you then add emitting of
the generated content in the custom tag, you'll get two copies. So
building up from the "no
Barney,
Well, as I said, in this case the prinicple of least surprise would have
effused a behavior wherein the page calling the custom tag would not have
rendered the content, leaving that responsibility to the tag itself. In _my_
mind, anyway. I mean, if the tag is supposed to receive the co
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...
and
HTH...at least you know it is possiblenow go forth and Google ;-)
Cheers
-
Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems G
just do in the end tag?
CF has to do one or the other (render the output or suppress the
output), and then provide a means to accomplish the other. At least
from the perspective of the principle of least surprise, rendering the
output seems like the correct default choice.
cheers,
barneyb
On
Hmm having never made a custom tag with an open and close pair, I didn't
realize that the contained content will display twice.
http://www.mail-archive.com/cf-talk@houseoffusion.com/msg29687.html
No way around this? It seems pretty stupid that CF wouldn't suppress the
initial output, leav
Hey Adam,
You probably have a good handle on what's going on in your environment...
certainly better than I do, given that I'm only hearing about it second
hand. I just thought I'd throw out that I was a bit confused when I
first discovered that CF will throw a "template not found" error if you
g
Try putting the following immediately preceding where you are outputting the
XML:
This will reset the output buffer and do away with any whitespace preceding
your XML doc, which is probably what your code is barfing on.
Pete
On 6/1/07, John P <[EMAIL PROTECTED]> wrote:
>
> Hi,
> Does anyone k
> Does anyone know of a custom tag which you can create an RSS
> feed from a cfquery? I've attempted to use Tom Muck's but I
> get the follow error.
>
> XML Parsing Error: xml declaration not at start of external entity
> Location: http:///rssTest.cfm
> Line Number 8, Column 1: ^
You proba
http://cfrss.riaforge.org/
Enjoy.
On 6/1/07, Jerry Johnson <[EMAIL PROTECTED]> wrote:
> Ray Camden had a tag, either on his site, or on cflib.org, to do this.
>
> I can't remember any specifics.
>
> On 6/1/07, John P <[EMAIL PROTECTED]> wrote:
> > Hi,
> > Does anyone know of a custom tag which
Ray Camden had a tag, either on his site, or on cflib.org, to do this.
I can't remember any specifics.
On 6/1/07, John P <[EMAIL PROTECTED]> wrote:
> Hi,
> Does anyone know of a custom tag which you can create an RSS feed from a
> cfquery? I've attempted to use Tom Muck's but I get the follow er
On 11/16/06, Tom Chiverton <[EMAIL PROTECTED]> wrote:
> On Wednesday 15 November 2006 13:01, Chris Velevitch wrote:
> >
>
> Why do you do this and not just call ?
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
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.
-Original Message-
From: Tom Chiverton [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 15, 2006 7:25 AM
To: CF-Ta
That's apparently the new way of loading in a custom tag. I'm not sure why
they started doing it that way.
-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 We
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 wr
On Wednesday 15 November 2006 13:01, Chris Velevitch wrote:
>
Why do you do this and not just call ?
--
Tom Chiverton
Helping to adaptively harvest enterprise-class technologies
This email is sent for and on behalf of Halliwells LLP.
Hall
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?
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
's a start!
Jenny
-Original Message-
From: Jenny Gavin-Wear [mailto:[EMAIL PROTECTED]
Sent: 26 August 2006 00:47
To: CF-Talk
Subject: RE: Custom Tag
bingo, thanks Snake
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Vers
bingo, thanks Snake
-Original Message-
From: Snake [mailto:[EMAIL PROTECTED]
Sent: 26 August 2006 00:39
To: CF-Talk
Subject: RE: Custom Tag
Because a local variable only exists inside the tag. If you want the
variable to exist outside of the tag then you should put it in a global
scope
Because a local variable only exists inside the tag. If you want the
variable to exist outside of the tag then you should put it in a global
scope such as request, or put it in caller scope.
Snake
-Original Message-
From: Jenny Gavin-Wear [mailto:[EMAIL PROTECTED]
Sent: 26 August 2006 00
Yup, sorted, just added to the end of
the tag.
Cheers.
> caller scope?
> > Just written a quick custom tag and can't remember how to
> get info out
> > of them (been a while).
> >
> > The tag is called with the
> method and
> > it builds a large structure that I then don't have access
> t
To write back, you use the Caller scope.
The preferred method is to make the result key dynamic. That way you
don't accidentally overwrite stuff in the caller. So for example:
The result was #result#
Inside the CFC you can do:
(lots of logic here)
Once done you can then do:
etc
On
caller scope?
On 7/24/06, James Smith <[EMAIL PROTECTED]> wrote:
>
> Just written a quick custom tag and can't remember how to get info out of
> them (been a while).
>
> The tag is called with the method and it
> builds a large structure that I then don't have access to back in the main
> templat
Yes, it will be dead for a long time too since too many other worries.
I know these developers rather well and just would be VERY, VERY, and VERY
surprised if they managed to write these. I found one reference to a tag
call online but that was it. Guess it is plan B, bypass mode. :)
On 7/12/06
It's looking like they may have wrote them. I cant find a single thing about
any of them. Sorry.
Ps... http://www.happyhacker.com/ is a dead link
..:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
-Original Message-
From: Aaron Rouse [mailto:[EMAIL PROTECTED]
Sent
Yeah, gotcha on cfquery. Just wasn't sure if there was something under the
hood I didn't know about.
Well, the tag won't be used too often (not trying to reinvent the wheel) so
it doesn't need to be an "enterprise" version but your suggestions are
greatly appreciated. I'll look into these things.
CFQUERY is not a custom tag, it's a full blown CF tag, which is
basically a cross between [primitive] CFOUTPUT and CFSAVECONTENT to
get the SQL statement, and then a bunch of database interaction stuff.
It also deals with CFQUERYPARAM, of course.
If you do go with something similar to what I outl
Hmm...seems like way too much but along those lines I'll try similar.
No ideas on how cfquery does it?
On 10/24/05, Barney Boisvert <[EMAIL PROTECTED]> wrote:
>
> Hellishly slow, but you could take the tag body, write it to file
> (with CFOUTPUT tags), and then CFINCLUDE it inside CFSAVECONTENT.
Hellishly slow, but you could take the tag body, write it to file
(with CFOUTPUT tags), and then CFINCLUDE it inside CFSAVECONTENT.
You'd have to manually change all the references to 'caller' scope,
however, which would be messy.
Not that I'm recommending that route, but it would be a way to get
If you sould specify that the content of a custom tag was treated as if
wrapped in cfoutput, that would be a very nice CF feature. Unfortunately
you can't.
> Now, I know cfquery has a built in cfoutput. How can I add a
> built in cfoutput into my custom tag? Hopefully I'm clear as
> to what I'm s
> This is a long shot, but is there anyway a custom tag can
> know about coldfusion built-in child tags? For example:
>
>
>
>
>
>
> Is there anyway my custom tag know that it has has
> child tag called and the child tag has an
> attribute called startRow with a value of 10?
No, I don't
As far as I know, the answer is no. A parent custom tag can introspect
child custom tags, bu tnot child built-in tags. Again, afaik.
On 10/22/05, Johnny Le <[EMAIL PROTECTED]> wrote:
> This is a long shot, but is there anyway a custom tag can know about
> coldfusion built-in child tags? For exam
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
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
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
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
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
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]
~~~
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
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
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
> 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
No i'm using cfmx. I just got on so I haven't tested anything yet.
Phil
-Original Message-
From: Pascal Peters [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 19, 2004 3:10 AM
To: CF-Talk
Subject: RE: custom tag help
Phillip,
If you are using CF5, this wont work because
#Evaluate(attributes.queryname & "." & attributes.fieldname)#
Pascal
> -Original Message-
> From: James Holmes [mailto:[EMAIL PROTECTED]
> Sent: 19 October 2004 06:40
> To: CF-Talk
> Subject: RE: custom tag help
>
> The variables scope shou
t tag.
-Original Message-
From: Phillip Perry [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 19 October 2004 11:26
To: CF-Talk
Subject: RE: custom tag help
Thanks James. That does work if you assume that display is the query name,
but what if the query name is stored in an attributes.queryname value?
lto:[EMAIL PROTECTED]
Sent: Monday, October 18, 2004 10:30 PM
To: CF-Talk
Subject: RE: custom tag help
Assuming the attribute is ATTRIBUTES.FIELDNAME,
#display[attributes.fieldname][display.currentrow]#
will do the job.
-Original Message-
From: Phillip Perry [mailto:[EMAIL PROTE
Assuming the attribute is ATTRIBUTES.FIELDNAME,
#display[attributes.fieldname][display.currentrow]#
will do the job.
-Original Message-
From: Phillip Perry [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 19 October 2004 10:12
To: CF-Talk
Subject: custom tag help
Hi,
I'm messing with custom
Look for more than one Custom Tag Path defined in CF Administrator that
contains a custom tag with the same name-- perhaps even two definitions of
the same path.
Unfortunately, ColdFusion doesn't have a true definition of an "application"
to which it can bind a specific Custom Tag Path, so all are
> >>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
>>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
Stephen,
Database: MySQL 4.014
In the mean time I noticed that when I the query that the special
characters are already messed up.
I used phpMyAdmin to enter the French sentences, and when I look and the
content with phpMyAdmin, it looks ok (special characters are ok).
So it must be something th
Frederik,
>
> Is there an easy way to automatically convert text out of a database into
> html?
> We have an application in different languages where some text elements are
> in the database.
> Now we have a problem with French since it uses a lot of 'é' and 'à', which
> need to be converted to a
Take a look at www.egrabber.com
Thanks, Mark
_
From: Ben Densmore [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 17, 2004 1:56 PM
To: CF-Talk
Subject: Custom Tag for importing into ACT?
Does anyone know if there are any custom tags for importing some info
from a form into ACT? I've
I would recommend you to take a look at qform API.
http://www.pengoworks.com/qforms/docs/
Qasim
-Original Message-
From: Austin Govella [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 11, 2004 9:06 PM
To: CF-Talk
Subject: Custom tag for data validation - tell me if I'm crazy
I'
Definitely possible. I've built a product very similar
(http://www.electricsheep.co.nz/terraform/). If I were you I'd consider
using XML to store all the form field validation data in one packet at the
top of the form or something like that. Of course that would effectively
restrict you to CFMX onl
Linkpoint has a tag and I think it's free. check out the linkpoint central site.
Dwayne Cole, MS in MIS, MBA
Certified Advanced ColdFusion Developer
850-591-0212
"It can truly be said that nothing happens until there is vision. But it is equally true that a vision with no underlying sense of p
Troy Montour wrote:
> anyone have a custom tag made for link point so I don't have to create
> or recrest one.
Did you try a google search?
I'm guessing not... a search simply for "linkpoint cfx" returned the top
result you need
http://www.linkpoint.com/product_solutions/internet/lcfx/lcfx_m
:) I thought it was a programming term that I have never heard of
- Original Message -
From: Troy Montour
To: CF-Talk
Sent: Thursday, December 18, 2003 3:17 PM
Subject: Re: Custom tag for Link point
sorry for miss typing.. ment recreate.
-- Original Message
sorry for miss typing.. ment recreate.
-- Original Message --
From: "Mickael" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Date: Thu, 18 Dec 2003 14:05:29 -0500
>I have one, can you tell me what recrest means, I have never heard that term?
> - Orig
I have one, can you tell me what recrest means, I have never heard that term?
- Original Message -
From: Troy Montour
To: CF-Talk
Sent: Thursday, December 18, 2003 1:12 PM
Subject: Custom tag for Link point
anyone have a custom tag made for link point so I don't have to crea
I have one that works with their HTML forms entry method (linkpoint
basic/lite I think) They also have a CFX tag available for free if you
have Linkpoint API.
Email me off list if you want the CF tag for linkpoint basic.
Matt
_
From: Troy Montour [mailto:[EMAIL PROTECTED]
Sent: Thu
> How would I go about putting each set of files into their own
> directory without breaking the application? I assume for Tags
That's the rub - I can describe how I'd set it up, but you will need to
do some reworking to get stuff done.
> I can setup a Custom Tag Path in CFAdmin, but for the
>
Perhaps an "SMS" solution could be used?
-Original Message-
From: John McCosker [mailto:[EMAIL PROTECTED]
Sent: Saturday, 4 October 2003 7:52 PM
To: CF-Talk
Subject: RE: Custom tag that will ring a phone
Had a look George, there is a few things there, but not to ou
Had a look George, there is a few things there, but not to our specific
needs
-Original Message-
From: Earl, George [mailto:[EMAIL PROTECTED]
Sent: 03 October 2003 18:27
To: CF-Talk
Subject: Re: Custom tag that will ring a phone
John said:
> is anyone aware of a CFX tag free or
John said:
> is anyone aware of a CFX tag free or for purchase that will ring a mobile
phone.
I can't help you directly, but I have a pretty strong memory of seeing
Jeremy Allaire demonstrate this functionality (although maybe to a land
phone instead of mobile), probably at the ColdFusion Develope
>
>Where is the custom tag directory for coldfusion???
>
It's in the WEB-INF/cfusion/CustomTags directory. So, for example, I have my
MX installed into a cfusion subdirectory of my server instance, so my CT
directory path is:
[jrun_install_path]/servers/[servername]/cfusion/WEB-INF/cfusion/Cust
Yo Lo Tengo!
-Original Message-
From: Kris Pilles
Sent: Thursday, August 28, 2003 2:05 PM
To: CF-Talk
Subject: Custom tag location in cfmx 6.1 jrun version
Where is the custom tag directory for coldfusion???
KP
Kris Pilles
Website Manager
Western Suffolk BOCES
507 Deer Park Rd., Build
That bug was fixed in CFMX
- Original Message -
From: Jamie Jackson <[EMAIL PROTECTED]>
Date: Monday, July 7, 2003 11:25 am
Subject: Re: custom tag and CFMX (not working)
> On Thu, 3 Jul 2003 15:41:26 -0700, in cf-talk you wrote:
>
> >On Thursday, Jul 3, 2003, a
On Thu, 3 Jul 2003 15:41:26 -0700, in cf-talk you wrote:
>On Thursday, Jul 3, 2003, at 08:24 US/Pacific, Jamie Jackson wrote:
>> It appears that CF_Location v2.0.1, V1.0 (Jordan Clark). Doesn't work
>> under CFMX. I could hack it to get it working, but if anyone has the
>> fixes at their fingertip
to:[EMAIL PROTECTED]
>> Sent: 03 July 2003 21:05
>> To: CF-Talk
>> Subject: Re: custom tag and CFMX (not working)
>>
>> In order to make my thread seem more interesting, I'll reply to
>> myself. ;)
>>
>> Anyway, I made the mods that I mentioned, as
ginal Message-
> From: Sean A Corfield [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 03, 2003 3:41 PM
> To: CF-Talk
> Subject: Re: custom tag and CFMX (not working)
>
>
> On Thursday, Jul 3, 2003, at 08:24 US/Pacific, Jamie Jackson wrote:
> > It appears that CF_Location v
On Thursday, Jul 3, 2003, at 08:24 US/Pacific, Jamie Jackson wrote:
> It appears that CF_Location v2.0.1, V1.0 (Jordan Clark). Doesn't work
> under CFMX. I could hack it to get it working, but if anyone has the
> fixes at their fingertips, would you let me know?
Just out of curiosity, what does cf
In order to make my thread seem more interesting, I'll reply to
myself. ;)
Anyway, I made the mods that I mentioned, as well as removed the
thing. I also added the fancy
URLSessionFormat() function to the custom tag, and my URLs and
calls are nice 'n' purty.
Anyhoo, have a great Independence Da
h...shot in the dark, but mabye clearing the compiled files out may
clear that up.
delete everything in CFusionMX\wwwroot\WEB_INF\cfclasses\
that will force MX to recompile the CF files on first run
HTH
Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Gr
Stan,
Do you have a web file in that subdirectory with the same name? Or is it
possible you didn't remove the original? If the original was still in the
subdirectory, that would be the first place CFMX would pull it from
Dave
-Original Message-
From: Stan Winchester [mailto:[EMAIL PROTE
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
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
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,
> 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
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
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]
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
Use ATTRIBUTECOLLECTION.
Example:
Nick Han
>>> [EMAIL PROTECTED] 03/26/03 08:36AM >>>
Hi everyone,
I have a custom tag where I want to insert attributes and their values to
this custom tag using another string type variable and then execute the
custom tag.
But I could not.
Here is the
You can't do what you're wanting to do -- CF doesn't have dynamic evaluation
of code like some other languages do like Javascript eval("blah blah " +
myvar);
Instead, what you can do is this:
Remember to include quotes around all your attributes. :)
> Hi everyone,
> I have a custom tag wh
So you want to dynamically add attributes to a custom tag? Just use
attributeCollection.
This will pass foo=1 if and only if foo is true.
===
Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc
Member of Team
Can not do it that way, the custom tag is looking for the pairs of:
variable name and value
you could submit one variable as: varString=#string#
but then you have to parse the attributes.string in the custom tag
to get each variable and value as needed.
>>> [EMAIL PROTECTED] 03/26/03 11:36AM
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
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
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
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
1 - 100 of 321 matches
Mail list logo