Return-Path: Delivered-To: apmail-forrest-svn-archive@www.apache.org Received: (qmail 99721 invoked from network); 4 Dec 2009 23:06:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Dec 2009 23:06:05 -0000 Received: (qmail 91990 invoked by uid 500); 4 Dec 2009 23:06:05 -0000 Delivered-To: apmail-forrest-svn-archive@forrest.apache.org Received: (qmail 91914 invoked by uid 500); 4 Dec 2009 23:06:05 -0000 Mailing-List: contact svn-help@forrest.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: "Forrest Developers List" List-Id: Delivered-To: mailing list svn@forrest.apache.org Received: (qmail 91903 invoked by uid 99); 4 Dec 2009 23:06:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Dec 2009 23:06:05 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Dec 2009 23:06:02 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id EEF2F23888DC; Fri, 4 Dec 2009 23:05:40 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r887433 - in /forrest/trunk/site-author: content/xdocs/docs_0_90/your-project.xml status.xml Date: Fri, 04 Dec 2009 23:05:40 -0000 To: svn@forrest.apache.org From: bdube@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20091204230540.EEF2F23888DC@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: bdube Date: Fri Dec 4 23:05:40 2009 New Revision: 887433 URL: http://svn.apache.org/viewvc?rev=887433&view=rev Log: Issue FOR-1000 Update custom skin documentation to show use of locationmap Modified: forrest/trunk/site-author/content/xdocs/docs_0_90/your-project.xml forrest/trunk/site-author/status.xml Modified: forrest/trunk/site-author/content/xdocs/docs_0_90/your-project.xml URL: http://svn.apache.org/viewvc/forrest/trunk/site-author/content/xdocs/docs_0_90/your-project.xml?rev=887433&r1=887432&r2=887433&view=diff ============================================================================== --- forrest/trunk/site-author/content/xdocs/docs_0_90/your-project.xml (original) +++ forrest/trunk/site-author/content/xdocs/docs_0_90/your-project.xml Fri Dec 4 23:05:40 2009 @@ -1126,30 +1126,41 @@ - + ]]>... overrides of default templates ... ]]>

- In order to use this feature in your custom skins you must copy the - common skin from the forrest distribution into your custom skins - directory (from main/webapp/skins/common). This will - protect your skin from changes in the Forrest common skin, but you - must remember to update this skin in order to take advantage of new - features added over time by the Forrest team. + Notice the use of the lm protocol in the import statement. + The lm protocol directs Forrest to use the + locationmap to resolve the + location of the indicated stylesheet. If you trace this + call through the sitemap, you will find the following section of + main/webapp/locationmap-transforms.xml:

- - The above paragraph means that if you do copy an existing skin as this - section recomends you will also need to copy the common skin since all - existing skins import the common skin. - + + + + +]]> +

- This is particularly relevant for menu rendering (book-to-menu.xsl), - where the common stylesheet does the 'logic' of which item is - selected, and over-riding stylesheets define the presentation. + This means that the locationmap first checks your project space + (according to the ${project.skins-dir} property of + your forrest.properties file) and, if the file is + not found there, it then checks in your installation of Forrest.

+ + It has been necessary in the past to copy the common skin to + your project when creating a custom skin. This is no longer the + case. +
Modified: forrest/trunk/site-author/status.xml URL: http://svn.apache.org/viewvc/forrest/trunk/site-author/status.xml?rev=887433&r1=887432&r2=887433&view=diff ============================================================================== --- forrest/trunk/site-author/status.xml (original) +++ forrest/trunk/site-author/status.xml Fri Dec 4 23:05:40 2009 @@ -153,6 +153,10 @@ Added document to facilitate upgrading to v0.9 + + + Changed XSLT import statements in skins to use the LocationMap. + Replaced the custom caching implementation with EHCache in the