cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kenny Chow <kycaeo...@yahoo.com>
Subject Re: AW: Sitemap object in xsp
Date Wed, 29 May 2002 15:23:02 GMT
Great! I wasn't aware of the second way to access the
sitemap parameters so was only using the "request" way
as Vadim suggested. Thanks for pointing that out
folks!

KC

--- "Andres, Judith" <judith.andres@rauser-ag.com>
wrote:
> 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?gliche 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>
> 


__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

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