Jeffery Painter <[EMAIL PROTECTED]> writes:

>Thanks for the note that this will not work in future versions. 

>I was using it initially in 2.1 and it just worked when I moved to 2.2.01. I 
>will update my screen that was using this (I think I only had one velocity 
>page I used this in...) I think I was given the reference from some email 
>group writings earlier about forcing the content type for doing CSV 
>exports that would open directly in excel on MS users workstations.

>So is the proper way to create screen classes that you want to implement
>such behavior, ie. SecureScreen, PdfScreen, CsvScreen and force the
>content type and templates there?

Just like this. Only omit the "/" and make sure that you don't use "/"
for name separation but ",". The Template names are no pathes.

        Regards
                Henning


>Thanks,
>Jeff Painter


>On Wed, 20 Aug 2003, Henning P. Schmiedehausen wrote:

>> Jeffery Painter <[EMAIL PROTECTED]> writes:
>> 
>> 
>> >            $data.setContentType( "plain/text" )
>> >            $data.setLayoutTemplate( "/PlainText.vm" )
>>                                           ^
>>                                           !
>> 
>> Wrong and will no longer work in Turbine 2.3.
>> 
>> Please read 
>> http://jakarta.apache.org/turbine/turbine-2.3/services/template-service.html
>> 
>> 
>>      Regards
>>              Henning
>> 
>> 


>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]

-- 
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen          INTERMETA GmbH
[EMAIL PROTECTED]        +49 9131 50 654 0   http://www.intermeta.de/

Java, perl, Solaris, Linux, xSP Consulting, Web Services 
freelance consultant -- Jakarta Turbine Development  -- hero for hire

"Dominate!! Dominate!! Eat your young and aggregate! I have grotty silicon!" 
      -- AOL CD when played backwards  (User Friendly - 200-10-15)

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to