Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

transfer parameters

Status
Not open for further replies.

marknav

Programmer
Sep 26, 2002
14
0
0
US
I am need to use parameters in page A but the parameters are not defined in page A, but in page B which i included in page A as <cfmodule template=page b..>.
I know that if i change the tag to
<cfinclude template=page b..> then it suppose to work, but in my specific case i have a different problem with the include too.
so my question: is there another solution for this??
 
The caller scope..

In your custom tag (aka CFMODULE'd file) set the variables like this... well the ones page a should read...

Code:
<CFSET caller.variable1=value>

And then after page b is run, page a can call them like normal... #variable1# and such..

Tony Did I help?
Vote!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top