cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Søren Krum <soren.k...@uninett.no>
Subject Re: Parameters in block protocol
Date Thu, 23 Apr 2009 13:05:00 GMT
Andre Juffer wrote:
> If you intend to forward the request parameters to a stylesheet you 
> need to explicitly state that in the sitemap. I cannot recall the 
> exact format, however....
>
I guess that is what you mean (and if you do it right it works!):

 <map:match pattern="portal-login-service">
  <map:generate src="resource/internal/login.xml" />
  <map:act type="log-info"/>
  <map:transform
    src="resource/internal/skins/uninett/styles/login-html.xsl" >
     <map:parameter name="resource" value="{request-param:redirect-url}" />
   </map:transform>
  <map:serialize type="xml"/>
</map:match>

And i found what i messed up, you see the difference :-)

<map:match pattern="portal-login-service">
  <map:generate src="resource/internal/login.xml" />
  <map:act type="log-info"/>
  <map:transform
    src="resource/internal/skins/uninett/styles/login-html.xsl" />
     <map:parameter name="resource" value="{request-param:redirect-url}" />
  <map:serialize type="xml"/>
</map:match>

Thx for your help. You got me on the right path

Søren


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


Mime
View raw message