Your code didn't come through, but based on your description I would guess that you
are refering to the variable in your calling template as "caller.output" when, in
fact, it is "variables.output". The caller scope refers to the variables scope in the
calling template while executing the tag.
Craig
> -----Original Message-----
> From: Martin P. Cadirola [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, February 21, 2001 2:32 PM
> To: CF-Talk
> Subject: Returning a variable with a custom tag
>
> Hello folks,
>
> I've been working on this one for too long and I thought of asking the
> experts on the forum. I'm using CF 4.0.1.
>
> Please see the code below. When I run the calling template I immediately
> get an error saying: "Error resolving parameter OUTPUT..."
>
> I'm calling the custom tag using the cfmodule tag. I used the debugger
> and verified that the return variable (called "caller.output") gets set
> within the custom tag.
>
> When returning to the calling template caller.output is gone (and
> therefore the error triggers). The variable type is a list but I don't
> think it makes a difference as far as passing a variable back to the
> calling template.
>
> I really appreciate your suggestions and comments.
>
> Cheers,
>
> Martin
>
>
> ------------------------------------------------------------------------
> Calling Template
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists