cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roberto Viana <>
Subject RE: How to implement Multiple charsets in cocoon 1.8x
Date Fri, 23 Mar 2001 10:46:37 GMT

If it's not too much ask, could you please give me a short example of how to
create multiple formatter instances of the for the
different encoding types, how to select them using <xsp:pi>



-----Original Message-----
From: Robin Green []
Sent: Thursday, March 22, 2001 5:35 PM
Subject: Re: How to implement Multiple charsets in cocoon 1.8x

Robin Green wrote:

>At the moment you need to create 3 formatter instances in, 
>one for each language. Then select the one to use using <xsp:pi> to create
>cocoon-format processing instruction. In fact you should almost never touch

>the response object directly.
>The idea of this separation of concerns is that Cocoon can change the way
>outputs things in future (as it indeed it has recently) and user code won't

>be affected at all. Of course it doesn't always work in reality. ;)
>However I've just added to the todo list a request to make this easier by 
>letting you put parameters in the PI as well as in

Please check that your question has not already been answered in the
FAQ before posting. <>

To unsubscribe, e-mail: <>
For additional commands, e-mail: <>

View raw message