I'm working with a bit of an unorthodox setup trying to generate some content, and have a problem when MG reload = false.
I have a bean in coldspring with a method that directly outputs HTML. It is from a library and I can't change it. In my controller I am calling beans.myBean.render() invokes this function. I have this call wrapped in saveContent, which I use to pass the rendered HTML out to my view. My controller calls the bean, captures the output to a variable, and sets it in the event for the view to display. So far so good, this all works.... until I set reload = false in ColdSpring.xml. When reload = false, the content being output in the render function is suppressed. My saveContent captures an empty string and the content is not displayed. I've tried wrapping the content in writeOutput() thinking maybe MG was calling cfsetting's enableCFOutputOnly=true property somewhere, but that didn't fix the issue. I'm running MG 3.2.439. Any ideas? -- Model-Glue Sites: Home Page: http://www.model-glue.com Documentation: http://docs.model-glue.com Bug Tracker: http://bugs.model-glue.com Blog: http://www.model-glue.com/blog You received this message because you are subscribed to the Google Groups "model-glue" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/model-glue?hl=en
