cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jared Clinton <jared.clin...@nec.com.au>
Subject RE: Parameters for XSP
Date Wed, 16 Apr 2003 06:52:02 GMT
Slimb,

Cocoon 'actions' enable you to output parameters back to the sitemap for
further use.

http://xml.apache.org/cocoon/userdocs/concepts/actions.html

Hope this helps,
Jared Clinton.

-----Original Message-----
From: Ed Sinjiashvili [mailto:slimb@swes.saren.ru]
Sent: Wednesday, 16 April 2003 4:26 PM
To: cocoon-users@xml.apache.org
Subject: Parameters for XSP


Hello,

I have just started to use Cocoon. My question is probably quite silly - 
please bear with me. I have looked through the docs and samples but could
not find
the answer there. 

I want to pass to xsp some parameters which come from the matcher and not
from request.
Every example I've seen uses request parameters but I need something like
this:
 
<map:match pattern="*/*">
  <map:generate type="serverpages" src="my.xsp"> 
    <map:parameter name="directory" value={1}/>
    <map:parameter name="article" value={2}/>
  </map:generate>
</map:match>

Is it possible? And if it is - how do I grab those parameters in my xsp?

Thanks in advance,

-- slimb

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

---------------------------------------------------------------------
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