Return-Path: Delivered-To: apmail-forrest-user-archive@www.apache.org Received: (qmail 7906 invoked from network); 11 Jun 2006 22:14:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 11 Jun 2006 22:14:37 -0000 Received: (qmail 82116 invoked by uid 500); 11 Jun 2006 22:14:37 -0000 Delivered-To: apmail-forrest-user-archive@forrest.apache.org Received: (qmail 82079 invoked by uid 500); 11 Jun 2006 22:14:36 -0000 Mailing-List: contact user-help@forrest.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@forrest.apache.org List-Id: Delivered-To: mailing list user@forrest.apache.org Delivered-To: moderator for user@forrest.apache.org Received: (qmail 83496 invoked by uid 99); 11 Jun 2006 17:33:02 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) X-Sasl-enc: er35oFnkZ5bP/FRYZyTuaaxHO4A4AWBYRcbziHrA5m/w 1150047163 Message-ID: <448C53A2.3080006@eml.cc> Date: Sun, 11 Jun 2006 13:32:18 -0400 From: Dmitriy Kargapolov User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: user@forrest.apache.org Subject: custom location for *.js Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, I'm trying to use some javascript in the forrest site, not for style customizing but for some on-line demo. Using forrest 0.8 dev I found that per sitemap.xmap all "**.js" are handled by resources.xmap, and resources.xmap has two cases: 1) all "**skin/**.js" are read from "{lm:skin.js.{2}}" 2) all "**.js" are taken from "resources/scripts/{1}.js" (It seems to be ${FORREST_HOME}/main/webapp/resources/scripts/ in real life) I'd like to customize default location for non-skin javascript files. But I couldn't figure out source notation syntax used in map:read/@src attributes. I couldn't fine any description on it. For example I'd like to set **.js location to src/documentation/content/xdocs/scripts in my doc site. What would be correct map:match and map:read syntax in that case? Thanks.