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" <[EMAIL PROTECTED]>
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:[EMAIL PROTECTED]]
> > Gesendet am: Mittwoch, 29. Mai 2002 11:04
> > An: '[EMAIL PROTECTED]'
> > 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:[EMAIL PROTECTED]]
> > Verzonden: woensdag 29 mei 2002 4:26
> > Aan: [EMAIL PROTECTED]
> > Onderwerp: RE: Sitemap object in xsp
> >
> >
> > > From: Kenny Chow [mailto:[EMAIL PROTECTED]]
> > >
> > > 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:
> <[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> <[EMAIL PROTECTED]>
> >
> >
>
---------------------------------------------------------------------
> > 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:
> <[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> <[EMAIL PROTECTED]>
>
>
---------------------------------------------------------------------
> 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:
> <[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <[EMAIL PROTECTED]>
>
__________________________________________________
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: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>