cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tuomo Lesonen <>
Subject Sending parameters to sub-sitemap
Date Thu, 08 Aug 2002 12:04:03 GMT

I need to send parameters to a sub-sitemap, to configure it properly. This
is what I have in the parent map:

<map:match pattern="foo">
  <map:mount check-reload="yes" src="sub/" uri-prefix="sub">
    <map:parameter name="test-param" value="some value"/>

...And in the sub-map:

    <map:parameter name="test-param" value="something for default"/>

  <map:match pattern="*>
    <map:redirect-to uri="{../test-param}"/>

...And I'm getting the default value of the global parameter as a result!
So the parameter sent from the parent map is never submitted. Omitting
the default-value gives an error. I'm using 2.1-DEV.



Please check that your question  has not already been answered in the
FAQ before posting.     <>

To unsubscribe, e-mail:     <>
For additional commands, e-mail:   <>

View raw message