Return-Path: Mailing-List: contact forrest-dev-help@xml.apache.org; run by ezmlm Delivered-To: mailing list forrest-dev@xml.apache.org Received: (qmail 1307 invoked from network); 27 May 2002 09:47:05 -0000 Received: from mail.s-und-n.de (HELO postoffice.sundn.de) (212.8.217.2) by daedalus.apache.org with SMTP; 27 May 2002 09:47:04 -0000 Received: from postoffice.sundn.de (localhost [127.0.0.1]) by viruswall.ynes.de (postfix) with ESMTP id 8E68E4DAB7; Mon, 27 May 2002 11:47:16 +0200 (CEST) Received: from notes.sundn.de (ntsrv5.sundn.de [10.10.2.10]) by postoffice.sundn.de (postfix) with ESMTP id 109244DAB5; Mon, 27 May 2002 11:47:15 +0200 (CEST) Received: from hw0307 ([10.10.2.244]) by notes.sundn.de (Lotus Domino Release 5.0.8) with SMTP id 2002052711471432:6162 ; Mon, 27 May 2002 11:47:14 +0200 From: "Carsten Ziegeler" To: , "Cocoon-Dev" Subject: RE: [Proposal] Sitemap parameters Date: Mon, 27 May 2002 11:49:45 +0200 Message-ID: MIME-Version: 1.0 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <002f01c2032c$4963b230$6150000a@flagship.ru> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal X-MIMETrack: Itemize by SMTP Server on PBSN1/Systeme und Netzwerke(Release 5.0.8 |June 18, 2001) at 27.05.2002 11:47:14, Serialize by Router on PBSN1/Systeme und Netzwerke(Release 5.0.8 |June 18, 2001) at 27.05.2002 11:47:16, Serialize complete at 27.05.2002 11:47:16 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="koi8-r" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Konstantin Piroumian wrote: > > Hi alls! > > While inspecting the Forrest's sitemap > (src/documentation/conf/sitemap.xmap) > I've found several lines that are using Ant substitution params like: > . > > Won't it be better to have parameters at the top level in sitemap that can > be set externally, just as it is done in XSLT? So, those skin > parameters can > be set like this: > > > forrest-skin > ... > > > ... > > > This parameters can be defined when Cocoon is called from the command line > as command line arguments. Though, I have no idea how these parameters can > be set when running Cocoon as servlet, maybe 'cocoon-param' request > parameters can be used. > > Are there any technical difficulties in implementing this? Any comments, > suggestions? > I would suggest to have these parameters as a configuration of the map:pipelines section, rather than the complete sitemap. I'm currently thinking of adding a configuration possibility to the map:pipelines component anyway, because of the rather ugly configuration of the authentication components. They are currently configured in an action but are for the complete sitemap. I thought of somethink like: forrest-skin ... ... Carsten