Re: Double Quote issue

2011-06-26 Thread Richard White

thanks for all your replies and guidance... i think you guys have helped us 
understand that building the queries in strings is indeed craziness! 

We previously had functions that retrieved user defined filters from a table 
and then built the 'where clause' in a string to run on the main query.

We are now changing the functions to return metadata about the filters and can 
then loop through them within the query; that way we can use cfqueryparams 
etc...

thanks again for your help

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:345733
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Using CFInclude. on Pages Placed in Subfolders

2011-06-26 Thread Russ Michaels

yes you would need to get rid of the / mapping, which we always do anyway as
most people do use / for referencing the root of their site.

On Sun, Jun 26, 2011 at 12:05 AM, Peter Donahue pdonah...@satx.rr.comwrote:


 Hello Russ and everyone,

We tried your suggestion. As long as the pages were in the same folder
 as the includes everyone was happy but when pages in subfolders called
 cfinclude template=includeme.cfm That's when we got the 500 Internal
 Server Errors. Dave Watts gave me great suggestions to try. I'll need to do
 some experimentation on my own to come up with the best solution for this
 situation. Thanks again.

 Peter Donahue


 - Original Message -
 From: Russ Michaels r...@michaels.me.uk
 To: cf-talk cf-talk@houseoffusion.com
 Sent: Saturday, June 25, 2011 4:58 PM
 Subject: Re: Using CFInclude. on Pages Placed in Subfolders



 why not just include the files relative to the root exactly as your are
 doing with the SSI ?

 CFInclude template=/footer.cfm

 Russ
 On Sat, Jun 25, 2011 at 10:41 PM, Peter Donahue
 pdonah...@satx.rr.comwrote:

 
  Hello everyone,
 
 I just finished resurrecting a Web site belonging to one of the
  organizations we belong to. The site is running under CF9 Enterprise
  Edition. Because the site is very page and topic intensive I like to
 group
  related pages in subfolders under the root folder and in some cases place
  additional pages in subfolders under second-level subfolders.
 Enter the use of CFInclude. I was able to successfully load pages
  placed in second-level subfolders (Subfolders place directly under the
  root
  folder) without any trouble once the syntax was adjusted. For example
  CFInclude template=../menu.cfm or CFInclude
 template=../footer.cfm.
  This syntax caused the pages placed in the level II Subfolders to load
  without any problem but when I tried to access pages placed in
 third-level
  subfolders (http://www.website.com/folder1/folder2; I received a 500
  Internal Server Error. Since we have a conference coming up next week I
  wrestled the content in the level II folders to the level 1 subfolders so
  everything worked correctly so the site would be live in time for the
  conference.
 
 Server-Side Include has a nice feature that the includes can be
  found and loaded on to pages served from any folder regardless of how
 deep
  they are from the Web root. All site pages contain !--#include
  virtual=/menu.shtml --which adds the site's navigation menu to all
  pages
  no matter in what folders they reside in the directory tree.
 
 My question then is how can I make CF behave the same way so the
  includes will be added to served pages no matter how deep they are stored
  from the root folder. If such a feature has yet to be added to CF I'll
  cast
  a vote for its inclusion in CF10. Otherwise is there a different syntax I
  should use  to cause Cf to locate includes on pages located in all
 folders
  in the site's directory tree? Your assistance with this will be welcome.
  All
  the best.
 
  Peter Donahue
 
 
   - Original Message -
  From: Raymond Camden rcam...@gmail.com
  To: cf-talk cf-talk@houseoffusion.com
  Sent: Saturday, June 25, 2011 4:01 PM
  Subject: Re: Problem with pound signs
 
 
 
  I'll forgive you - once. ;)
 
  I'm still waiting to here back from Steven to see if this method worked
  for
  him.
 
  On Sat, Jun 25, 2011 at 12:12 PM, Dave Watts dwa...@figleaf.com wrote:
  
Here is a crazy idea - wouldn't what you are looking for be a
 runtime
error?
  
   I would expect that to be a compile-time error, actually. But the code
   analyzer might still find it.
  
   Aaaand now I've gotten to the bottom of the thread, and see this has
   already been covered. D'oh!
  
   Dave Watts, CTO, Fig Leaf Software
   http://www.figleaf.com/
   http://training.figleaf.com/
  
   Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
   GSA Schedule, and provides the highest caliber vendor-authorized
   instruction at our training centers, online, or onsite.
 
 
 
 



 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:345734
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: application.cfm

2011-06-26 Thread Claude Schnéegans

 Yes you did but I also asked for the PDF in question so that I could run
some tests as well, maybe you missed that:-)

I didn't miss it. The content of the pdf has absolutely no interest.
I told you it hapened to contain somewhere a string cf, the rest making an 
invalid CF tag.
This is enough to cause an error if it is compiled by CF.
There is no need to look any further in this file.

 Anyway I have a couple of questions.

Now look, I've posted all details here, including the code, if you don't 
understand it, just forget it.
I was using a pdf under a .cfm extension just to force execution of an 
application.cfm.
Once this template is executed, the true pdf file is returned to the requester, 
there is no need to execute any other template, especialy a pdf file, then it 
aborts.

The customer asked to have times every document was requested to be traced.
I know there plenty of other ways to do it, the problem was that the CMS was 
already designed to generate direct links to the files using the true file name,
ie: A href=myFile.pdfTitle of the file/A.
I didn't want to change the code for A href=getDoc.cfm?id=#docId#Title of 
the file/Aeverywhere a document was called.
The way I did it, A href=myFile.pdf.cfmTitle of the file/A had the 
advantage to be compatible with
documents previously uploaded in the system, without having to change any thing 
in the database structure nor in the existing pages.
Only the new document would be counted.
I now know that there is rare cases it won't work, I'm rewriting the module 
differently,
and I need the help of nobody to do it, thanks anyway.

I was just asking a question here, not help.

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:345735
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: application.cfm

2011-06-26 Thread Claude Schnéegans

 The alternative, though, would be
for the executing process to run your first program before compiling
the second, which sounds like it would be generally an inefficient
thing to do - the more times control has to be passed from one process
to another, the longer things generally take. And compilation
generally only happens once - the first time the file is requested.


Not really a big deal: the compiler is called again every time you CFINCLUDE 
some file anyway.
This may happen many times during execution of only one template.

Now if an included template is not compiled before it is indeed included, I 
don't why it could not be the same
for the HTTP requested template ie: not being compiled before application.cfm 
passes control to it.

It just happens it is not the way it works, but it is certainly not for any 
kind of logical or efficiency reason.

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:345736
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: application.cfm

2011-06-26 Thread Dave Watts

 I did Claude (But I stated a possible bug), because I still am struggling
 because you don't share the code, to how you are including or loading the
 PDF. In other words I think there is a solution but I would need to see the
 code and the offending PDF to help further.

No, he did post all the code, but you also have to put that together
with the fact that the code is invoked when a user directly requests
one of his PDFs:

http://claudes_server/somefile.pdf.cfm

So, the compiler attempts to compile somefile.pdf.cfm before running
the code he posted in Application.cfm.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:345737
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: application.cfm

2011-06-26 Thread Dave Watts

 1) Why are you using application/octet-stream instead of the PDF one? Are
 you going to be using other file types here?

My guess is that his application doesn't keep track of the MIME types
for individual files.

 2) Why do you have cfabort in your code, this screams bad coding. Cfabort
 means that you no longer want ColdFusion to continue on any more processing.
 Personally I would rewrite the code in a manner that no longer uses the
 cfabort. I know this is not the problem, but that is not what I would
 consider good programming habits.

There is nothing wrong with using CFABORT.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:345738
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: application.cfm

2011-06-26 Thread Andrew Scott

Dave,

Really I didn't get that from his posts..

The part that I am struggling with is the actual PDF itself, regardless of
whether it is called via a cfml template or not. I strongly believe that if
you are using cfcontent to deliver a file with the extension of PDF then it
*SHOULD* not compile that file, only the template it is being called from.

I saw the code, I read the code but it was not very clear if the PDF in
question also had the cfm extension or not, and after re-reading everything
I still don't see that mentioned.


Regards,
Andrew Scott
http://www.andyscott.id.au/


 -Original Message-
 From: Dave Watts [mailto:dwa...@figleaf.com]
 Sent: Monday, 27 June 2011 1:39 AM
 To: cf-talk
 Subject: Re: application.cfm
 
 
  I did Claude (But I stated a possible bug), because I still am
  struggling because you don't share the code, to how you are including
  or loading the PDF. In other words I think there is a solution but I
  would need to see the code and the offending PDF to help further.
 
 No, he did post all the code, but you also have to put that together with
the
 fact that the code is invoked when a user directly requests one of his
PDFs:
 
 http://claudes_server/somefile.pdf.cfm
 
 So, the compiler attempts to compile somefile.pdf.cfm before running the
 code he posted in Application.cfm.
 
 Dave Watts, CTO, Fig Leaf Software
 http://www.figleaf.com/
 http://training.figleaf.com/
 
 Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA
 Schedule, and provides the highest caliber vendor-authorized instruction
at
 our training centers, online, or onsite.
 


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:345739
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: application.cfm

2011-06-26 Thread Andrew Scott

No there isn't, just weird seeing cfabort rather than cfexit
method=exittemplate / which is better as you know that the application
will eventually fall down to onRequestEnd.cfm were as cfabort will not. 


Regards,
Andrew Scott
http://www.andyscott.id.au/



 -Original Message-
 From: Dave Watts [mailto:dwa...@figleaf.com]
 Sent: Monday, 27 June 2011 1:40 AM
 To: cf-talk
 Subject: Re: application.cfm

  2) Why do you have cfabort in your code, this screams bad coding.
  Cfabort means that you no longer want ColdFusion to continue on any
 more processing.
  Personally I would rewrite the code in a manner that no longer uses
  the cfabort. I know this is not the problem, but that is not what I
  would consider good programming habits.
 
 There is nothing wrong with using CFABORT.
 


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:345740
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: application.cfm

2011-06-26 Thread Claude Schnéegans

  I strongly believe that if
you are using cfcontent to deliver a file with the extension of PDF then it
*SHOULD* not compile that file, only the template it is being called from.


What you don't understand is that the file somefile.pdf.cfm
IS the actual somefile.pdf file simply renamed somefile.pdf.cfm.
Then it is compiled BEFORE application.cfm is run and can CFCONTENT the file.

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:345741
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: application.cfm

2011-06-26 Thread Claude Schnéegans

  just weird seeing cfabort rather than cfexit
method=exittemplate / which is better as you know that the application
will eventually fall down to onRequestEnd.cfm were as cfabort will not.


When you use CFCONTENT to deliver content, there is nothing else needed to be 
done, except terminate the process, which is CFABORT is intended for.

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:345742
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: application.cfm

2011-06-26 Thread Dave Watts

 The part that I am struggling with is the actual PDF itself, regardless of
 whether it is called via a cfml template or not. I strongly believe that if
 you are using cfcontent to deliver a file with the extension of PDF then it
 *SHOULD* not compile that file, only the template it is being called from.

That's what confused me as well. If you're using CFCONTENT to deliver
a file, that won't cause it to be compiled. But that's not all he's
doing, and I think he made that clear in subsequent posts.

 I saw the code, I read the code but it was not very clear if the PDF in
 question also had the cfm extension or not, and after re-reading everything
 I still don't see that mentioned.

I'm pretty sure I saw it mentioned in one of them, but I always have a
bit of trouble understanding Claude's posts - no fault on his part
there, just a bit of language barrier on my part I guess.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:345743
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: application.cfm

2011-06-26 Thread Dave Watts

 No there isn't, just weird seeing cfabort rather than cfexit
 method=exittemplate / which is better as you know that the application
 will eventually fall down to onRequestEnd.cfm were as cfabort will not.

In many cases you might not want onRequestEnd.cfm to execute.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:345744
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: application.cfm

2011-06-26 Thread Russ Michaels

Andew, it has been said several times that the problem was caused by a user
link to the file directly, it is not caused by cfcontent, thus why it got
compiled.

On Sun, Jun 26, 2011 at 5:07 PM, Andrew Scott andr...@andyscott.id.auwrote:


 Dave,

 Really I didn't get that from his posts..

 The part that I am struggling with is the actual PDF itself, regardless of
 whether it is called via a cfml template or not. I strongly believe that if
 you are using cfcontent to deliver a file with the extension of PDF then it
 *SHOULD* not compile that file, only the template it is being called from.

 I saw the code, I read the code but it was not very clear if the PDF in
 question also had the cfm extension or not, and after re-reading everything
 I still don't see that mentioned.


 Regards,
 Andrew Scott
 http://www.andyscott.id.au/


  -Original Message-
  From: Dave Watts [mailto:dwa...@figleaf.com]
  Sent: Monday, 27 June 2011 1:39 AM
  To: cf-talk
  Subject: Re: application.cfm
 
 
   I did Claude (But I stated a possible bug), because I still am
   struggling because you don't share the code, to how you are including
   or loading the PDF. In other words I think there is a solution but I
   would need to see the code and the offending PDF to help further.
 
  No, he did post all the code, but you also have to put that together with
 the
  fact that the code is invoked when a user directly requests one of his
 PDFs:
 
  http://claudes_server/somefile.pdf.cfm
 
  So, the compiler attempts to compile somefile.pdf.cfm before running the
  code he posted in Application.cfm.
 
  Dave Watts, CTO, Fig Leaf Software
  http://www.figleaf.com/
  http://training.figleaf.com/
 
  Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA
  Schedule, and provides the highest caliber vendor-authorized instruction
 at
  our training centers, online, or onsite.
 


 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:345745
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Need some perspective...

2011-06-26 Thread Bryan Stevenson

Well depending on what kind of mobile developementAdobe AIR is quite
nice and no need for HTML or CSS.

Cheers

On Fri, 2011-06-24 at 23:05 -0400, Rick Faircloth wrote:

 I've been searching for an answer to the question:
 
 To us or not to use HTML5 and CSS3 in desktop
 and mobile development.
 
 What's everyone's take?  Anyone using HTML5 and CSS3?
 
 What about mobile?  I've been working with jQuery Mobile.
 (I've been doing jQuery for a couple of years or so and
 am quite comfortable building apps with it and I'm finding
 the jQuery Mobile difficult to work with, probably because
 of my own development patterns and habits.)
 
 Anyone care to offer some experience or perspective?
 
 I'm just wondering if this is the time to implement
 HTML5 and CSS3 in desktop and mobile development.
 
 Thanks for any feedback!
 
 Rick
 
 
 
 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:345746
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Need some perspective...

2011-06-26 Thread Bryan Stevenson

Well Rick...one browser if you will...AIR ;-)

On Sat, 2011-06-25 at 09:46 -0400, Rick Faircloth wrote:

 Thanks for the feedback, Maureen.
 
 I know how you feel. I wish we could just
 have one browser to rule them all. I don't
 even want to think about how good that would be...
 
 
 -Original Message-
 From: Maureen [mailto:mamamaur...@gmail.com] 
 Sent: Saturday, June 25, 2011 2:56 AM
 To: cf-talk
 Subject: Re: Need some perspective...
 
 
 Exactly my findings.  There are still enough desktop users with
 non-compliant browsers that HTML/CSS3 are problematic.  I'm currently
 refactoring all my sites for new technologies, attempting to make them
 both fully assessable for screen reader/text browsers and for mobile
 browsers.  I'm doing a lot of detection and loading code and style
 sheets based on what browser is being used, but it's a steady pain to
 keep up with what works and what doesn't.  When I get really grumpy,
 my urge is to just feed a text based site to anyone using IE with a
 note at the top that says if you want to see the pretty stuff, get a
 real browser.
 
 On Fri, Jun 24, 2011 at 10:24 PM, Sean Corfield seancorfi...@gmail.com
 wrote:
 
  On Fri, Jun 24, 2011 at 8:05 PM, Rick Faircloth
  r...@whitestonemedia.com wrote:
  To us or not to use HTML5 and CSS3 in desktop
  and mobile development.
 
  This came up in a few sessions at JAXconf this week. The general
  consensus seemed to be that HTML5 / CSS3 is a solid bet for mobile -
  because mobile browsers offer solid support already. The same is not
  true on the desktop, unless you're prepared to encourage your users
  to upgrade / switch browsers.
 
 
 
 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:345747
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: application.cfm

2011-06-26 Thread Andrew Scott

Actually I can't think of one.


Regards,
Andrew Scott
http://www.andyscott.id.au/


 -Original Message-
 From: Dave Watts [mailto:dwa...@figleaf.com]
 Sent: Monday, 27 June 2011 2:42 AM
 To: cf-talk
 Subject: Re: application.cfm
 
 
  No there isn't, just weird seeing cfabort rather than cfexit
  method=exittemplate / which is better as you know that the
  application will eventually fall down to onRequestEnd.cfm were as
cfabort
 will not.
 
 In many cases you might not want onRequestEnd.cfm to execute.
 
 Dave Watts, CTO, Fig Leaf Software
 http://www.figleaf.com/
 http://training.figleaf.com/
 
 Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA
 Schedule, and provides the highest caliber vendor-authorized instruction
at
 our training centers, online, or onsite.
 


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:345748
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: application.cfm

2011-06-26 Thread Andrew Scott

Actually cfabort was introduced as a debugging tag.


Regards,
Andrew Scott
http://www.andyscott.id.au/



 -Original Message-
 From: Claude Schnéegans schneeg...@internetique.com [mailto:=?ISO-
 8859-1?Q?Claude_Schn=E9egans schneegans@interneti=71?= =?ISO-8859-
 1?Q?ue.com=3E?=]
 Sent: Monday, 27 June 2011 2:27 AM
 To: cf-talk
 Subject: Re: application.cfm
 
 
   just weird seeing cfabort rather than cfexit method=exittemplate /
 which is better as you know that the application will eventually fall down
to
 onRequestEnd.cfm were as cfabort will not.
 
 
 When you use CFCONTENT to deliver content, there is nothing else needed
 to be done, except terminate the process, which is CFABORT is intended
for.
 


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:345749
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: application.cfm

2011-06-26 Thread Andrew Scott

Actually it wasn't that clear at all.

Look I am bowing out now, I will not be ridiculed by someone who found it
hard to comprehend that what he was doing was wrong and then gets defensive
about it when people are trying to actually understand what he is doing.

Regards,
Andrew Scott
http://www.andyscott.id.au/


 -Original Message-
 From: Russ Michaels [mailto:r...@michaels.me.uk]
 Sent: Monday, 27 June 2011 5:45 AM
 To: cf-talk
 Subject: Re: application.cfm
 
 
 Andew, it has been said several times that the problem was caused by a
user
 link to the file directly, it is not caused by cfcontent, thus why it got
compiled.
 


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:345750
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: application.cfm

2011-06-26 Thread Dave Watts

 Actually I can't think of one.

Well, I can think of a couple offhand. For example, you might have
some code that generates HTML output in onRequestEnd.cfm, and you
might have some scripts that generate something other than HTML. Or
you may simply not want to waste time processing code that's
unnecessary for a specific request.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:345751
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: application.cfm

2011-06-26 Thread Dave Watts

 Actually cfabort was introduced as a debugging tag.

No, it wasn't. It was introduced to allow the programmer to halt the
current program. While it can be useful for debugging, it's not
specific to debugging. I'm pretty sure that CFABORT has been around
since the very beginning of CFML.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:345752
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm