----- Original Message -----
Sent: Friday, April 23, 2004 8:23
AM
Subject: Re: Passing parameters to
aggregation parts
When calling a pipeline, you can't pass parameters (As far as I
know).
I had the same problem a while ago. I then just passed the
parameters as
request parameters by
calling
src="". Another option is
to set
your parameters in a session by invoking an action before
generating
anything.
Though I also think it makes sense to use
parameters with aggregate parts, maybe even for internal pipelines, but only
resources seem
to accept parameters.(unless there are changes in
the cvs head, I'm working with 2.1.4 release) There may have been a
discussion about this topic on the dev maillist, if you want some more info
it's worth a look.
Kind Regards,
Jan
----- Original Message -----
Sent: Thursday, April 22, 2004 7:23
PM
Subject: Passing parameters to
aggregation parts
Hi,
In my sitemap a have the following code
fragment:
<map:aggregate
element="page">
<map:part
src="" strip-root="false"/>
<map:part src=""
strip-root="false">
<map:parameter name="user_id" value="{1}"/>
<map:parameter name="app_id" value="{2}"/>
</map:part>
</map:aggregate>
When I try to access the "user_id" and "app_id"
inside the XSP file the values are null, but I
know that the values are not null. I never see
an example of passing parameters to the parts
of an aggregation, but it seems to make
sense.
Thanks in advance,
Carlos
Dias