RE: Calling custom tags from within CFSCRIPT?

2000-10-27 Thread Peter Theobald

TIAS: That's going to be a new favorite acronym of mine. No offense to everyone trying 
to learn here, but alot of questions asked could have been answered by 3 lines of test 
code.

TIAS :-)

At 09:14 AM 10/26/00 -0400, Simon Horwith wrote:
>try it and see!!
>
>-Original Message-
>From: Ryan [mailto:[EMAIL PROTECTED]]
>Sent: Thursday, October 26, 2000 9:07 AM
>To: CF-Talk
>Subject: Calling custom tags from within CFSCRIPT?
>
>
>CFSCRIPT is generally faster than a bunch of tags, right?
>So I'm trying to use that when possible. 
>But can you call custom tags from within CFSCRIPT? I didn't
>see any mention of it in my books. Seems like something you
>should be able to do, doesn't it?
>
>Ryan
>
>
>
>Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
>Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a
>message with 'unsubscribe' in the body to [EMAIL PROTECTED]
>
>Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
>Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
>with 'unsubscribe' in the body to [EMAIL PROTECTED] 


---
Peter Theobald, Chief Technology Officer
LiquidStreaming http://www.liquidstreaming.com
[EMAIL PROTECTED]
Phone 1.212.545.1232 x204 Fax 1.212.545.0938


Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



RE: Calling custom tags from within CFSCRIPT?

2000-10-26 Thread Simon Horwith

cfscript CAN be faster than a bunch of tags.  Let's not overlook the fact
that sometimes it really doesn't offer that much of a performance boost.  It
really depends on what you need to do.  If you're reading this, Dave Watts,
what is it you always say about shaving milliseconds off execution time with
optimized code, only to slow the app down by seconds with poor database
structure?

~Simon

-Original Message-
From: Bill Killillay [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 26, 2000 9:33 AM
To: CF-Talk
Subject: RE: Calling custom tags from within CFSCRIPT?


As of right now I don't believe there is any support for calling Custom tags
in a CFSCRIPT block.  It's one of the draw backs to using CFSCRIPT.  I don't
know if Allaire is going to address doing that in one of the upcoming
releases or not, but I sure wish that they would add that feature to
CFSCRIPT, among others.

Bill


>
> CFSCRIPT is generally faster than a bunch of tags, right?
> So I'm trying to use that when possible.
> But can you call custom tags from within CFSCRIPT? I didn't
> see any mention of it in my books. Seems like something you
> should be able to do, doesn't it?




Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a
message with 'unsubscribe' in the body to [EMAIL PROTECTED]

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



RE: Calling custom tags from within CFSCRIPT?

2000-10-26 Thread Bill Killillay

As of right now I don't believe there is any support for calling Custom tags
in a CFSCRIPT block.  It's one of the draw backs to using CFSCRIPT.  I don't
know if Allaire is going to address doing that in one of the upcoming
releases or not, but I sure wish that they would add that feature to
CFSCRIPT, among others.

Bill


>
> CFSCRIPT is generally faster than a bunch of tags, right?
> So I'm trying to use that when possible.
> But can you call custom tags from within CFSCRIPT? I didn't
> see any mention of it in my books. Seems like something you
> should be able to do, doesn't it?



Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



RE: Calling custom tags from within CFSCRIPT?

2000-10-26 Thread Paul Johnston

You can't call custom tags from within CFSCRIPT which I think is utterly
stupid.

Call to Allaire:

Make a function called Tag() with this syntax:

Tag(tagname, );

ie

For



Tag(cfobject, action, program_id, text, context, server_name);

And then for cfmodule (or whatever) where you may need an endtag you have

Tag(cfmodule, filename);

EndTag(cfmodule);

Anyway, just wanted to lob that one in!

It means you could create custom functions by creating custom tags and
calling them!

Hooray!

Paul

> -Original Message-
> From: Ryan [mailto:[EMAIL PROTECTED]]
> Sent: 26 October 2000 14:07
> To: CF-Talk
> Subject: Calling custom tags from within CFSCRIPT?
>
>
> CFSCRIPT is generally faster than a bunch of tags, right?
> So I'm trying to use that when possible.
> But can you call custom tags from within CFSCRIPT? I didn't
> see any mention of it in my books. Seems like something you
> should be able to do, doesn't it?
>
> Ryan
>
> --
> --
> Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
> or send a message with 'unsubscribe' in the body to
> [EMAIL PROTECTED]
>



Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



RE: Calling custom tags from within CFSCRIPT?

2000-10-26 Thread Ryan

But I was hoping someone could tell me syntax to make it work.
In a logical world it would be something like:
CF_mytag(param1="value1", param2="value2");

RPS


Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



RE: Calling custom tags from within CFSCRIPT?

2000-10-26 Thread Ryan

At 09:14 10/26/00 -0400, you wrote:
>try it and see!!

It fails at the first < !


Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



RE: Calling custom tags from within CFSCRIPT?

2000-10-26 Thread Neil Clark

erm, no you can't call custom tags as far as I am aware.

N

http://www.mcbdigital.com
--->




Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



RE: Calling custom tags from within CFSCRIPT?

2000-10-26 Thread Raymond K. Camden

You can't call any tags (CF_Foo, CFDIRECTORY, CFETC) from CFSCRIPT.

===
Raymond Camden, Cold Fusion Jedi Master for Syntegra (www.syntegra.com)
Allaire Certified Instructor and Member of Team Allaire

Email   : [EMAIL PROTECTED]
ICQ UIN : 3679482

"My ally is the Force, and a powerful ally it is." - Yoda


> -Original Message-
> From: Ryan [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, October 26, 2000 9:07 AM
> To: CF-Talk
> Subject: Calling custom tags from within CFSCRIPT?
> 
> 
> CFSCRIPT is generally faster than a bunch of tags, right?
> So I'm trying to use that when possible. 
> But can you call custom tags from within CFSCRIPT? I didn't
> see any mention of it in my books. Seems like something you
> should be able to do, doesn't it?
> 
> Ryan
> 
> --
> --
> Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists 
> or send a message with 'unsubscribe' in the body to 
> [EMAIL PROTECTED]

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



RE: Calling custom tags from within CFSCRIPT?

2000-10-26 Thread Simon Horwith

try it and see!!

-Original Message-
From: Ryan [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 26, 2000 9:07 AM
To: CF-Talk
Subject: Calling custom tags from within CFSCRIPT?


CFSCRIPT is generally faster than a bunch of tags, right?
So I'm trying to use that when possible. 
But can you call custom tags from within CFSCRIPT? I didn't
see any mention of it in my books. Seems like something you
should be able to do, doesn't it?

Ryan



Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a
message with 'unsubscribe' in the body to [EMAIL PROTECTED]

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]