Re: Making Sitemap parameters available in XSP

2003-11-10 Thread Sylvain Wallez
Christian Haul wrote:

Chris Morgan wrote:

I'm trying to return a series of parameters from an authentication 
action that I'd like to make available to the XSP pages within the 
same pipeline.
These parameters represent common session variables that are 
retrieved from a database and made available to the application for 
use.  So far, I've only been able to do this if the parameters appear 
in the querystring.  Is there some other way to make these pipeline 
parameters returned from an action available within my XSP pages?


Look out for the util logicsheet, esp. the 
util:get-sitemap-parameter/ tag. Set the parameter from sitemap by

map:generate..
   map:parameter name=foo value=bar/
/map:generate
Search this list for more examples.


Sitemap parameters are available in an XSP with the parameters 
variable. So you can use xsp:exprparameters.get(food, 
defaultvalue)/xsp:expr

Sylvain

--
Sylvain Wallez  Anyware Technologies
http://www.apache.org/~sylvain   http://www.anyware-tech.com
{ XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }
Orixo, the opensource XML business alliance  -  http://www.orixo.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Making Sitemap parameters available in XSP

2003-11-05 Thread Chris Morgan
I'm trying to return a series of parameters from an authentication action
that I'd like to make available to the XSP pages within the same pipeline.
These parameters represent common session variables that are retrieved from
a database and made available to the application for use.  So far, I've only
been able to do this if the parameters appear in the querystring.  Is there
some other way to make these pipeline parameters returned from an action
available within my XSP pages?


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Making Sitemap parameters available in XSP

2003-11-05 Thread Christian Haul
Chris Morgan wrote:
I'm trying to return a series of parameters from an authentication action
that I'd like to make available to the XSP pages within the same pipeline.
These parameters represent common session variables that are retrieved from
a database and made available to the application for use.  So far, I've only
been able to do this if the parameters appear in the querystring.  Is there
some other way to make these pipeline parameters returned from an action
available within my XSP pages?
Look out for the util logicsheet, esp. the util:get-sitemap-parameter/ 
tag. Set the parameter from sitemap by

map:generate..
   map:parameter name=foo value=bar/
/map:generate
Search this list for more examples.

HTH

	Chris.

--
C h r i s t i a n   H a u l
[EMAIL PROTECTED]
fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]