Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 93137 invoked from network); 4 Nov 2004 19:18:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 4 Nov 2004 19:18:53 -0000 Received: (qmail 91331 invoked by uid 500); 4 Nov 2004 19:18:46 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 91242 invoked by uid 500); 4 Nov 2004 19:18:46 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@cocoon.apache.org Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 91223 invoked by uid 99); 4 Nov 2004 19:18:46 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [216.194.67.12] (HELO osmosis.gr) (216.194.67.12) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 04 Nov 2004 11:18:44 -0800 Received: by osmosis.gr (Postfix, from userid 502) id F0530328177; Thu, 4 Nov 2004 21:18:40 +0200 (EET) Received: from localhost (localhost [127.0.0.1]) by osmosis.gr (Postfix) with ESMTP id EAA4D2D827C; Thu, 4 Nov 2004 21:18:40 +0200 (EET) Date: Thu, 4 Nov 2004 21:18:40 +0200 (EET) From: gounis@osmosis.gr To: "gounis@osmosis.gr" , Subject: Re[6]: CForms, mattkruse-lib, dreamteam sample In-Reply-To: <1666116450.20041104195954@bluebottle.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N hi grek On Thu, 4 Nov 2004 grek@bluebottle.com wrote: > Hello gounis, > > > so in a scenario where we have more than one directory for forms > > (more than one sitemap.xmap) then we need multiple copies of mattkruse-lib > > > so is it better to have a common place for this library files or not ? > > if those files are in a cocoon's common place we dont need a selective > > "javascript import" mechanism in .xsl > > I'm not sure what you mean. Multiple copies of cforms resources (including > mattkruse-lib) would be solution for relative urls? in our forms samples: dreamteam sample has its own resources directory. so if this sample require a date picker, then a copy of mattkruse-lib must be placed in this recources directory. if the mattkruse-lib was in /webapp/stylesheets all sub-sitemaps will be able to access those files. > > Selective "javascript import" is useful for reducing loading unnecessary > resources. It was the reason for improving xsls. > for this perspetive i have just to agree with you > --stavros