I tried the solution you give but it don't seams to work (for me).
No error message comes, I just don't obtain the values of the parameters.
Note: Tomcat4.0.4, W2000, JDK1.3.1_3, Cocoon2.0.2-scr ( I know you said "only in
2.1-dev version" but my Cocoon start-page indicates "version 2.1-dev" )
Otherwise, did I well understand ?
In my parent sitemap :
<map:pipelines>
<map:pipeline>
<map:match pattern="*/*/soussite/**">
<map:mount check-reload="yes" src="soussite/" uri-prefix="{1}/{2}/soussite"
reload-method="synchron">
<map:parameter name="section" value="{1}"/>
<map:parameter name="base-url" value="/cocoon/monsite"/>
</map:mount>
</map:match>
[..]
<map:pipeline>
<map:pipelines>
and in soussite/sitemap.xmap:
<map:pipelines>
<map:component-configurations/>
<map:global-parameters>
<map:parameter name="section" value="presentationgenerale" />
<map:parameter name="base-url" value="rien" />
</map:global-parameters>
<map:pipeline>
[..]
<map:pipeline>
<map:pipelines>
thanks...
Nicolas !!
> >
> > Hi all!
> >
> > Does is possible sent sitemap parameters into mounted sitenap
> > like this:
> >
> > <map:mount check-reload="yes" src="test/" uri-prefix="info"
> > reload-method="synchron">
> > <map:parameter name="use-connection" value="personnel"/>
> > </map:mount>
>
> Yes!!!
>
> ...but only in 2.1-dev version.
> Use this in your subsitemap:
>
> <map:pipelines>
> <map:global-parameters>
> <map:parameter name="use-connection"
> value="some-default-value" />
> ...
>
> KP
>
> >
> > Thanx.
> > Yury.
> >
> >
> >
> >
> ---------------------------------------------------------------------
> > Please check that your question has not already been
> answered in the
> > FAQ before posting.
<http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
>
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>