I’m a bit new to ColdFusion (coming from Java/OOP world)
I have a custom tag that runs some things inside a cfscript and outputs a value. I’d like to have this custom tag (let’s call it A) call another custom tag (let’s call it B, a more general custom tag that has a sort of ‘static’ function) with a certain parameter.
How do I call B from within A?
How do I use the return value from B in A?
A’s code
<cfscript>
//Call to other custom tag here?:
//foo = [CUSTOMTAG param="stuff"];
value = foo;
</cfscript>
<cfoutput>#value#</cfoutput>
Here’s what I ended up doing. In my “A” file (recall, A calls B):
In my “B” file