cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andres, Judith" <judith.and...@rauser-ag.com>
Subject AW: Sitemap object in xsp
Date Wed, 29 May 2002 09:09:54 GMT
Sitemap parameters belong to the built-in parameters in the xsp just like
request.

You can use them like this:

<xsp:logic>
  String default = "default";
  String myParam = parameters.getParameter("test", default);
</xsp:logic>

Judith
> -----Urspr√ľngliche Nachricht-----
> Von:	Graaf, Edgar de (fin) [SMTP:Edgar.de.Graaf@ordina.nl]
> Gesendet am:	Mittwoch, 29. Mai 2002 11:04
> An:	'cocoon-users@xml.apache.org'
> Betreff:	RE: Sitemap object in xsp
> 
> How can that parameter be used in XSP? xsp:get-parameter? Because
> xsp-request:get-parameter is only for request parameter isn't it?
> 
> Edgar
> 
> -----Oorspronkelijk bericht-----
> Van: Vadim Gritsenko [mailto:vadim.gritsenko@verizon.net]
> Verzonden: woensdag 29 mei 2002 4:26
> Aan: cocoon-users@xml.apache.org
> Onderwerp: RE: Sitemap object in xsp
> 
> 
> > From: Kenny Chow [mailto:kycaeolus@yahoo.com]
> > 
> > Hi there,
> >     After an action is executed in a pipeline, a map
> > object is returned. Now my question comes -- how could
> > I possibly obtain this map object in xsp?
> > 
> > any response appreciated. :)
> 
> Here is the response:
> 
>   It is not possible.
> 
> Use request's or session's attributes to pass information. The only
> other possibility is to pass sitemap parameters to the XSP explicitly:
> 
> <map:act type="mine">
>   <map:generate type="serverpages" src="mine.xsp">
>     <map:parameter name="param-name" value="{param-name}"/>
>   </map:generate>
> </map:act>
> 
> But you have to know all parameter names and they should be fixed.
> 
> Vadim
> 
> 
> > KC
> > 
> 
> 
> ---------------------------------------------------------------------
> 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>
> 
> ---------------------------------------------------------------------
> 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>

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