Nicola Ken Barozzi wrote: > > From: "Carsten Ziegeler" <[EMAIL PROTECTED]> > > > You can configure the global parameters in the map:pipelines section: > > <map:pipelines> > > <map:global-parameters> > > <map:parameter name="skin" value="forrest-skin"/> > > </map:global-parameters> > > > > and use it: > > > > <map:pipeline> > > <map:match pattern="test"> > > ... > > <map:transform src="{../skin}.xsl"/> > > </map:match> > > ... > > :-) > > Is there a way to set the parameter out of the sitemap? > It seems that using inputmodules one could write: > > <map:pipelines> > <map:global-parameters> > <map:parameter name="skin" value="{request:skin}"/> > </map:global-parameters> > ... > > which could be really cool, since it gives both the possibility of setting > it from the outside and setting it in a single point. > It seems that both approaches have their use :-) > Yes, this is a very good idea. I haven't looked at the input modules yet, but it should be possible, so patches are welcome :)
Carsten Carsten Ziegeler Chief Architect Open Source Group, S&N AG ------------------------------------------------------------------ Cocoon Consulting, Training and Projects ------------------------------------------------------------------ mailto:[EMAIL PROTECTED] http://www.s-und-n.de http://ziegeler.bei.t-online.de --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]