Try something like

<map:act type="auth-protect">
    <map:parameter name="handler" value="myhandler"/>
     --------
    <map:transform src="stylesheets/mystylesheet.xslt">
            <map:parameter name="user-id" value="{ID}"/>
     </map:transform>
    --------
</map:act>

Hope this helps

Peter

hello, all
I had met a strange problem. I had write a pipeline to read session context, it correctly provide session information as it should be:

 <resource>
   <authentication>
     <ID>0</ID>
     <data>test</data>
     <type>cocoon.authentication</type>
     <media>html</media>
  </resource>
</authentication>
but when I try to use

<map:parameter name="user-id" value ="{session-context:authentication/authentication/ID}"/>

in sitemap, it couldn't get any value.

anybody can give me some hints?


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

Reply via email to