Martin,

Looks like your code got clipped, but from what you're saying, here's my
$.02:

If your custom tag is setting a variable named "caller.output", then your
calling template needs to reference that variable simply as #output#, not
#caller.output#.

If you want to scope it, you can set it in the custom tag as
"caller.variables.output" and then reference it as #variables.output#.

If that's not the problem, try reposting your code.

Evan


> -----Original Message-----
> From: Martin P. Cadirola [mailto:[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

Reply via email to