use a rawscreen instead of velocity screen in your screen class file that
will match your vm file.
in your vm file you can add this to the top, although probably not needed
for just plain text... the setLayoutTemplate() will override pulling the
system default template. You should create the PlainText.vm in layouts as
an empty file.
Text.vm -->
$data.setContentType( "plain/text" )
$data.setLayoutTemplate( "/PlainText.vm" )
$textData
hope that helps,
Jeff
On Thu, 14 Aug 2003, Rodrigo Reyes wrote:
> Hi all
> Is there any way to user the Velocity Screen functionality and send a
> text file to the browser? I know HTML is a text file, but I would like the
> browser to recognize it as text, not as HTML. Any ideas?
>
> Rodrigo
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]