cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oscar Picasso <oscgoo...@yahoo.com>
Subject Re: Returned action map in XSP
Date Wed, 21 Jul 2004 14:25:44 GMT
--- Olivier Billard <obillard@jouve.fr> wrote:
> Hi Oscar,
> 
> You can use a request attribute.
> 
> --
> Olivier Billard
> 
> Oscar Picasso wrote:
> 
> > Hi,
> > 
> > Is there a way to get, inside an XSP page, the returned map from an action
> ?
> > 
> > I know that we can pass the individual map elements as parameters, but I
> would
> > like to have a more generic XSP page that would process the entire map, no
> > matter what are its actual elements.
> > 
> > Thanks.
> > 
> > Oscar

I should have added that I don't want to use request or session attributes.

If I use them I have to ensure that other portions of the pipeline doesn't use
the same name attribute for their own purpose.

The nice thing about <map:parameter ...> is that the scope of your parameter is
limited to the portion of the pipeline where it is used.

You don't have to worry about name collision with other parameters used before
or after in the pipeline. The bad thing is that you are limited to string
values.

Oscar


		
__________________________________
Do you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard.
http://promotions.yahoo.com/new_mail 

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


Mime
View raw message