RE: cfinclude, how granular can you make it?

2002-09-19 Thread Robert Everland
You can't break out cfif's into different pages and then include them, you have to have the cfif then else all in the same page. Robert Everland III Web Developer Extraordinaire Dixon Ticonderoga Company http://www.dixonusa.com -Original Message- From: Gilbert Midonnet [mailto:[EMAIL

RE: cfinclude, how granular can you make it?

2002-09-19 Thread Mosh Teitelbaum
So I think you've already discovered that CFINCLUDE is not that granular. It seems as though you just want a way to encapsulate your CFIF expression. UDF (User Defined Functions -- introduced in CF5) may be the way to go here. -- Mosh Teitelbaum evoch, LLC Tel: (301) 625-9191 Fax: (301)

RE: cfinclude, how granular can you make it?

2002-09-19 Thread Margaret Fisk
: cfinclude, how granular can you make it? You can't break out cfif's into different pages and then include them, you have to have the cfif then else all in the same page. Robert Everland III Web Developer Extraordinaire Dixon Ticonderoga Company http://www.dixonusa.com -Original Message- From

Re: cfinclude, how granular can you make it?

2002-09-19 Thread Sam Farmer
A complete cfif block has to be on the same page. You can of course use includes/custom tags/components between the cfif statements. Also for better performance you almost never nead to use pound signs in if statements and you will also get better performance by scoping variables. For example:

RE: cfinclude, how granular can you make it? -- further elaborati on

2002-09-19 Thread Gilbert Midonnet
I forgot to include (this is a continuation of what's written below) is that it one cannot use cfinclude in a cfif cfif cfinclude So, how granular can the includes be? // glm How granular can you make your includes? I ask because I'm unable to breakup an if-else clause. If I

RE: cfinclude, how granular can you make it?

2002-09-19 Thread S . Isaac Dealey
WHAT I WOULD LIKE TO BE ABLE TO DO: cfinclude template=holiday.cfm td class=holiday#ThisDay#/td cfelse tda href=#ThisDay#/td cfif thx // gilbert midonnet You can't include a portion of any other tag, whether it's a cfif or something else... so you couldn't have this

RE: cfinclude, how granular can you make it? -- further elaborati on

2002-09-19 Thread S . Isaac Dealey
I forgot to include (this is a continuation of what's written below) is that it one cannot use cfinclude in a cfif cfif cfinclude So, how granular can the includes be? // glm You can't include any cfml tag inside of any other cfml tag ... It would destroy the xml (or xml-like) format