Standard Return Types
The ProxyReturnCollection setting controls whether the ColdBox proxy returns handler results or the request collection structure from process().
The ColdBox.bx (or .cfc for CFML) has one setting that affects proxy operation:
ProxyReturnCollection: This boolean setting determines if the proxy should return what the event handlers return or just return the request collection structure every time aprocess()method is called. This can be a very useful setting, if you don't even want to return any data from the handlers (via theprocess()method). The framework will just always return the request collection structure back to the proxy caller. By default, the framework has this setting turned to false so you can have more control and flexibility.
coldbox.proxyReturnCollection = true;Last updated
Was this helpful?