Ok I am trying to pass a string returned by another cffunction to a cffunction, and I keep getting an error-
You have attempted to dereference a scalar variable of type class java.lang.String as a structure with members.
Here is my code -
I am trying to pass XString to another function. Which is a simple string. All this code is in the same component file.This is my ohter function call
How do I pass one value returned by one function to another function?
You have attempted to dereference a scalar variable of type class java.lang.String as a structure with members.
Here is my code -
Code:
<cfinvoke component="components.menu" method="GetTree" returnvariable="XString">
</cfinvoke>
I am trying to pass XString to another function. Which is a simple string. All this code is in the same component file.This is my ohter function call
Code:
<cfinvoke component="components.dmenu" method="WritetoFile">
<cfinvokeargument name="XToWrite" [red]value="XString"[/red]>
</cfinvoke>
How do I pass one value returned by one function to another function?