Last updated by khurramijaz 6 years ago
Currently the render method writes directly to response writer. This should be changed. May be called renderToText(..). Should work as if g.render(..) has been called. The current implementation uses GSPResponseWriter (should use GrailsWebRequest.getOut()), which writes directly to response writer. If it had not been so, the response could have been buffered using GrailsWebRequest similar to body tag.