Renderer Plugin

Hi folks,

Is there a way to call runEvent() or and inline method in a handler doMyMethod(event) to pre-render content? I've used the renderer plugin to render a view, but in this case I want to call another method in my handler which queries the DB then sets the view.

Make sense?



Answered my own question:

/** Inject the ColdBox Renderer */
property name=“renderService” inject=“coldbox:plugin:Renderer”;

rc.conferenceinfo = renderService.renderView(getConferenceInfo(event));