That does work but I am trying to keep with the other standards i’m using, event.renderData rather than creating a new view/function/layout.
I’ve nearly got it to work using renderData as I have extended the requestContextDecorator but I am having trouble extending the Utilities.cfc to replace the marshallData.
Currently, I added a few lines of code in Utilities.cfc that does the callback output
and also added JSONP to the list of valid rendering types. I wasn’t sure what was the best method to handle the ‘callback’ so I just added a IF statement to handle it from within the file.
Also, I changed Line 188 and added Lines 207-216 in Utilities.cfc Plugin under /system/plugins/