cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From KOZLOV Roman <r-koz...@opencascade.com>
Subject Re: XML in actions
Date Fri, 24 May 2002 08:45:56 GMT
Hello Chitharanjan,

Could you, please, tell why you don't advise here to store data in
session? What problems do you see?

Thank you.
Roman

Chitharanjan Das wrote:

> These are the following options
>
>   1. Store the XML in the request object (request.setAttribute(“xml”,
>      xmlStr);
>   2. return the XML in the hashmap. This xml can be accesses as
>      sitemap parameters in XSP.
>   3. Also can be stored in Session (not advised)…
>
> Regds,
>
> Chiths
>
> -----Original Message-----
> From: Mike Ash [mailto:mash@euronetworldwide.com]
> Sent:Thursday, May 23, 200212:02 PM
> To: 'cocoon-users@xml.apache.org'
> Subject: XML in actions
>
> I need something (action/generator) that talks to a backend system to
> get xml.  The problem is I can't use a generator because I also want
> to use the xsp generator in the same pipeline.  So how can I get an
> action to return xml that is available to xsp as xml.
>
> Here is a sitemap example of what I was looking for
>
>   <map:pipeline>
>
>     <map:match type="request-parameter" pattern="login-test">
>       <map:act type="ValidateUser" >
> <map:act type="GetXml" >
>       <map:generate type="serverpages" src="xsp/home.xsp"/>
> </map:act>
>         </map:act>
>       <map:transform src="xsl/simple.xsl"/>
>       <map:serialize/>
>     </map:match>
>   </map:pipeline>
>


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message