I think that's a Velocity thing and not a Maverick thing. Try this in
your template:
$response.setContentType('text/plain')
-dk
On Sunday, August 24, 2003, at 03:49 PM, Dan Finkelstein wrote:
Hi --
I know this is a really dumb question, esp considering that I've been
using and relying on Ma
It should be possible to call $response.setContentType() anywhere near
the top of the template. Without Maverick transforms (which can change
the output flow considerably), this works the same way that JSP works:
. The servlet container provides a buffer of some size into which
output is written
Hi Dan
Jeff told me about the following trick some time ago. I needed to get the
SVG plugin to understand that SVG content was coming instead of html. Below
is the first line of my velocity template:
$response.setContentType("image/svg+xml")
the rest of my SVG document...
/johan
- Origin