All,
I am getting very confused and very frustrated. Can somebody
explain this error to me?
Error Occurred While Processing Request
Element APP is undefined in REQUEST.
The Error Occurred in C:\Program
Files\Macromedia\CFusionMX\wwwroot\BuildACourse\User.cfc: line 342
340 : <cffunction name="DisplayUserHome" access="remote"
output="true" displayname="Display User Home" hint="Displays the
USer's home Page">
341 : <!-- This function Displays the User's home page --
>
342 : <cfinvoke component="#APPLICATION.App#"
method="DisplayHTMLPage">
343 : <cfinvokeargument name="SideMenuComponent"
value="#THIS#">
344 : <cfinvokeargument name="SideMenuMethod"
value="DisplayUserSideMenu">
There is no call to the REQUEST collection. Also, I have a cfm
file with the following:
<cfif isDefined("SESSION.User")>
<cfinvoke component="#SESSION.User#"
method="DisplayUserHome"></cfinvoke>
<cfelse>
<cfinvoke component="#APPLICATION.App#"
method="DisplayWelcome"></cfinvoke>
</cfif>
If I only have the second <cfinvoke>, it works fine. When both
<cfinvokes> are there and the first is done, I get
squirrelliness. Sometimes it tells me elements of the CLIENT
collection are not defined. Sometimes it tells me CLIENT itself
is undefined. Am I just not understanding scope issues? Help,
Please!!
Thank you in advance.
Robert J. Polickoski
Senior Programmer, ISRD Inc.
(540) 842-6339
[EMAIL PROTECTED]
AIM - RobertJFP
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more
resources for the community. http://www.fusionauthority.com/ads.cfm