Thanks, Olivier

This is *exactly* what I needed!

Derek

>>> [EMAIL PROTECTED] 2004/07/16 09:11:59 AM >>>
Derek Hohls wrote:
> Olivier
> 
> Good to know there is a solution... would you mind
> providing me with an example of 
> (a) how the variable(s) info is stored using SessionPropagatorAction
You can have a look at the javadoc here, there is an example
http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/acting/SessionPropagatorAction.html


Basically a use is like this :
<map:act type="session-propagator">
       <map:parameter name="userId" value="{ID}"/>
       <paramater name="userName" value="{name}">
</map:act>

Parameters "example" and "example1" are propagated to the session

> (b) how that inf can be passed as a parameter in the sitemap?
Use the session input module :
<map:transform src="stylesheets/sheet.xsl">
   <map:parameter name="userId" value="{session-attr:userId}"/>
</map:transform>


Hope this helps,

--
Olivier


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


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.


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

Reply via email to