Return-Path: Delivered-To: apmail-xml-cocoon-dev-archive@xml.apache.org Received: (qmail 55427 invoked by uid 500); 29 May 2002 14:05:04 -0000 Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-dev@xml.apache.org Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 55387 invoked from network); 29 May 2002 14:05:04 -0000 From: "Vadim Gritsenko" To: Subject: RE: [Proposal] Sitemap parameters Date: Wed, 29 May 2002 10:04:01 -0400 Message-ID: <007701c20719$af92de50$7574558b@vgritsenkopc> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 In-Reply-To: Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N > From: Carsten Ziegeler [mailto:cziegeler@s-und-n.de] > > > Stuart Roebuck wrote: > > > > On Wednesday, May 29, 2002, at 10:17 AM, Konstantin Piroumian wrote: > > > > > I've seen that discussion, but had problems with mail server and > > > couldn't > > > join to it. > > > > > > My proposal is a little different. While input modules provide a way to > > > _get_ variable values from different sources (sitemap, request, etc.), > > > my > > > need is to _set_ global parameters for the sitemap to avoid things like > > > @skin@ in matcher patterns, etc. Of course these params can be used as > > > "sitemap:param-name" everywhere when needed. The above example would > > > look > > > like: > > > > > > . > > > > > > Behavior can be the same as for the XSLT params: if a value is specified > > > externally (from command line or request params) then it's used, > > > otherwise > > > the default value is used that is specified in declaration of the > > > parameter: > > > > > > > > > > Just to say that this kind of functionality would be *really* useful. > > > And now the good news: it's already implemented in the latest CVS :) > > You can configure the global parameters in the map:pipelines section: > > Do we need to introduce new special element - - here? Won't it be better to just declare parameters right inside element? Then it will be simply: (Which can be thought of as: "parameters for the *all* pipelines) ... ... Vadim > > > > and use it: > > > > ... > > > ... > > Carsten > > Carsten Ziegeler Chief Architect Open Source Group, S&N AG > ------------------------------------------------------------------ > Cocoon Consulting, Training and Projects > ------------------------------------------------------------------ > mailto:cziegeler@s-und-n.de http://www.s-und-n.de > http://ziegeler.bei.t-online.de --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org For additional commands, email: cocoon-dev-help@xml.apache.org