cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Giacomo Pati <>
Subject Re: AW: Adding dynamically element
Date Mon, 11 Jun 2001 10:55:29 GMT
Quoting Jörn Heid <>:

> Thanks for answer.
> But there's a problem:
> 'Giacomo' wrote: "An XSP page is a generator, point.". As I have to use
> a
> xml page I would have to write a XSP which reads (from FileReader) the
> xml... I think that's not the best way as the pipeline should do this
> for
> me. So I wrote a transformer which works well, but I do not know hoe to
> get
> the HTTPServletRequest (written in another mail).

Use the following:

   import org.apache.cocoon.environment.Request;
   Request req = (Request) objectModel.get(Cocoon.REQUEST_OBJECT);

> Am I right? In C1 you could use XSP as a transformer and I'm looking fo
> something similar...

There are no such things like Transformers in C1 (AFAIR). But as I'm not very 
familiar with C1 you might know better.


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