cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Piroumian Konstantin <KPiroum...@protek.com>
Subject RE: sent map parameters into another sitemap
Date Thu, 27 Jun 2002 11:20:03 GMT
> From: zze-STIENNE Nicolas FTRD/DMI/CAE 
> 
> 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 ? 

To be exact: only in 2.1-dev version from CVS HEAD branch and only with
TreeProcessor as the sitemap engine.

Don't know why do you have 2.1-dev in the start-page, in 2.0.3 version
everything's correct.

Konstantin

> 
> 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:     
> <cocoon-users-unsubscribe@xml.apache.org>
> > For additional commands, e-mail:   
> <cocoon-users-help@xml.apache.org>
> > 
> 
> ---------------------------------------------------------------------
> 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:     <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>
> 
> 
> ---------------------------------------------------------------------
> 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:     <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>
> 

---------------------------------------------------------------------
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:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message