cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Ash <>
Subject RE: XML in actions
Date Thu, 23 May 2002 19:20:57 GMT
I like the number 2 option but I can't seem to find how to get the xml out
of the objectModel in an XSP.  Is there an example in the cocoon dist?
-----Original Message-----
From: Chitharanjan Das []
Sent: Thursday, May 23, 2002 2:06 PM
Subject: RE: XML in actions

These are the following options
1.	Store the XML in the request object (request.setAttribute("xml",

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)... 
-----Original Message-----
From: Mike Ash [] 
Sent: Thursday, May 23, 2002 12:02 PM
To: ''
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:match type="request-parameter" pattern="login-test"> 
      <map:act type="ValidateUser" > 
        <map:act type="GetXml" > 
              <map:generate type="serverpages" src="xsp/home.xsp"/> 
      <map:transform src="xsl/simple.xsl"/> 

View raw message