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 13:10:20 GMT
> From: zze-STIENNE Nicolas FTRD/DMI/CAE 
> 
> ok...
> and with 2.0.2, there is absolutely no solution to sent a 
> parameter to a sub-sitemap ?

There can't be "absolutely no solution" in open source: you can add the
needed functionality yourself, but if you describe why do you need then
maybe somebody will propose another quicker solution.

> and is that normal, I get no error message ?

When specifing parameters to mount? Yes. Most of the sitemap elements are
parametrizable, but in map:mount they simply ignored.

Konstantin

> 
> > De : Piroumian Konstantin [mailto:KPiroumian@protek.com]
> 
> > > 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>
> 
> 
> ---------------------------------------------------------------------
> 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