|
You can't have any code above your cfargument tags
in a cffunction.
Move the line...
<cfset boolean = true>
Below your <cfargument
Tom Young
----- Original Message -----
Sent: Wednesday, July 06, 2005 11:55
AM
Subject: Re: [CFCDev] Application.cfc
causes all pages to be blank
Right I have another, slightly connected problem. In my
onRequestStart method: <cffunction name="onRequestStart"
returnType="boolean"> <cfset
boolean = true>
<cfargument type="String" name="targetPage" required="true" />
<cfreturn boolean>
</cffunction>
I keep getting an error telling me that:
Context
validation error for tag cffunction. |
| The
start tag must have a matching end tag. An explicit end tag can be
provided by adding </cffunction>. If the body of the tag is empty
you can use the shortcut <cffunction .../>.
| But my method does have a close
cffunction tag.
Any ideas?
Stephen
On 7/6/05, Jeff
Anderson <[EMAIL PROTECTED]>
wrote:
my guess is you are using the onRequest method and not including the
requested page...
On 7/6/05, Stephen Adams <
[EMAIL PROTECTED]> wrote:
Hi,
I am trying to
implement a Application.cfc page, on to a site that originally had an
Application.cfm page. Now my site appeared ok when I was using
Application.cfm but since I have replaced it with Application.cfc all my
pages are appearing blank in the screen, with no error messages. I have
only created the shell functions in Application.cfc, but I thought that
the pages would still run if you just have empty methods in
Application.cfc.
Anyone know could cause
this?
Stephen
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an
email to [email protected] with
the words 'unsubscribe cfcdev' as the subject of the email.
CFCDev
is run by CFCZone (www.cfczone.org) and
supported by CFXHosting (
www.cfxhosting.com).
CFCDev is supported by New Atlanta, makers
of BlueDragon http://www.newatlanta.com/products/bluedragon/index.cfm
An
archive of the CFCDev list is available at www.mail-archive.com/[email protected]
---------------------------------------------------------- You
are subscribed to cfcdev. To unsubscribe, send an email to [email protected]
with the words 'unsubscribe cfcdev' as the subject of the email.
CFCDev
is run by CFCZone (www.cfczone.org) and supported by CFXHosting
(www.cfxhosting.com).
CFCDev is supported by New Atlanta, makers of
BlueDragon http://www.newatlanta.com/products/bluedragon/index.cfm
An
archive of the CFCDev list is available at
www.mail-archive.com/[email protected]
---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email.
CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com).
CFCDev is supported by New Atlanta, makers of BlueDragon http://www.newatlanta.com/products/bluedragon/index.cfm
An archive of the CFCDev list is available at www.mail-archive.com/[email protected]
|
- Re: [CFCDev] Application.cfc causes all pages to be blank Tom Young
-