Request.dr and its three "elements" exist before the tag is called, but not within the tag... apparently. I added two comment lines below that tell you when I did a dump and what I saw.
P.S. When it says "now including a template", I mean that the code below is the code of the template. Same with tags.
Thanks for your help guys. Hopefully we can get this sorted out.


<!--- Now in my base template --->
<!--- Now including a header template to set some vars and copy the session structure --->
<cflock scope="session" type="exclusive" timeout="3">
<cfscript>
if (not isdefined("session.dr")) {session.dr = structnew();}
session.dr.formpage = "q_p_d_download.cfm";
session.dr.actionpage = "q_p_d_downloadp.cfm";
session.dr.resultspage = "q_p_d_downloadr.cfm";
</cfscript>
</cflock>
<cflock scope="session" type="readonly" timeout="3">
<cfset request = duplicate(session)>
</cflock>
<!--- DUMP the Request scope: I see that the three session vars above have been "copied" correctly and that they are now in the request scope --->
<!--- include is now done --->
<!--- back in my base template --->
<h2>Download Request</h2>
<p>
Fill in the applicable information below to receive your download.
</p>
<!--- now calling a tag with an attribute: id=1 --->
<cfparam name="attributes.id" default="">
<!--- DUMP the Request scope: I see nothing in the request scope --->
<h4>Your Information</h4>
<!--- the next line is the line that errors, saying: Error resolving parameter REQUEST.DR.ACTIONPAGE The object DR.ACTIONPAGE is not present in the scope named REQUEST. --->
<form name="form1" action="<cfoutput>#request.dr.actionpage#</cfoutput>" method="POST" onsubmit="return check();" >



-- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]



Reply via email to