Quantcast
Channel: Lucee Dev - Latest topics
Viewing all articles
Browse latest Browse all 425

Cfinvoke and returnvariable

$
0
0

Don’t forget to tell us about your stack!

OS: Windows 10
Java Version: 8 update 391
Tomcat Version: 9
Lucee Version: 6.0.0.585

My app was working fine until I moved from 5.3.7.047 to 6.0.0.585 and found that cfajaxproxy was no longer available. Ok, so I hit the web to look for alternatives and settled on:

cfobject component = “wineclubComponents” name = “mycomponents”
cfinvoke component = “#mycomponents#” method = “getWinestyles” returnvariable = “resultCFC”

The problem I have is how to access the returnvariable so that I can pass it to function for processing. a cfdump var=“#resultCFC#” shows it, and identifies it as a struct, but that’s the only access I have been able to get.

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 425

Trending Articles