Hi,
I have am modifying a badly written mx6.1 system. I have a request.core
Object that has methods that allow cfscript to use <cftags> ... ie
request.core.include( 'file.cfm' ) (cfinclude), request.core.dump(
variables ) (cfdump);
I have a segment of code that contains these lines:
request.core.dump( variables );
request.core.include( '/Checkout/ordercomplete.cfm' );
When I dump the variables scope I see all of the variables I need, but
the /Checkout/ordercomplete.cfm page does not see them.
Placing request.core.dump( variables ); as the first line of
/Checkout/ordercomplete.cfm produces a dump of the request.core object.
Somehow the variables scope has been replaced. Anyone have any ideas
why? Here are the functions being called:
<cffunction name="include" output="false" returnType="void">
<!--- Embeds references to ColdFusion pages in CFML. You can embed
cfinclude
tags recursively. --->
<cfargument name="template" type="string" required="true">
<cfinclude template="#template#">
</cffunction>
<cffunction name="dump" access="public" returntype="boolean" output="yes">
<!--- Outputs the elements, variables and values of most kinds of
ColdFusion
objects. Useful for debugging. You can display the contents of
simple and
complex variables, objects, components, user-defined functions, and
other
elements. --->
<cfargument name="var" type="any" default="nothing to output">
<cfdump Var="#arguments.var#">
<cfreturn true>
</cffunction>
Best Regards,
Kevin Bridges
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble
Ticket application
http://www.houseoffusion.com/banners/view.cfm?bannerid=48
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:207151
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54