Return-Path: Delivered-To: apmail-forrest-svn-archive@www.apache.org Received: (qmail 6783 invoked from network); 22 Dec 2005 01:41:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 22 Dec 2005 01:41:43 -0000 Received: (qmail 70184 invoked by uid 500); 22 Dec 2005 01:41:40 -0000 Delivered-To: apmail-forrest-svn-archive@forrest.apache.org Received: (qmail 70114 invoked by uid 500); 22 Dec 2005 01:41:40 -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 70088 invoked by uid 99); 22 Dec 2005 01:41:40 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Dec 2005 17:41:40 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 21 Dec 2005 17:41:38 -0800 Received: (qmail 6613 invoked by uid 65534); 22 Dec 2005 01:41:18 -0000 Message-ID: <20051222014118.6610.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r358435 - in /forrest/site: docs_0_80/howto/howto-structurer-dsl.html docs_0_80/howto/howto-structurer-dsl.pdf forrest-issues.html forrest-issues.pdf guidelines.html guidelines.pdf Date: Thu, 22 Dec 2005 01:41:17 -0000 To: svn@forrest.apache.org From: crossley@apache.org X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: crossley Date: Wed Dec 21 17:41:04 2005 New Revision: 358435 URL: http://svn.apache.org/viewcvs?rev=358435&view=rev Log: Automatic publish from forrestbot Modified: forrest/site/docs_0_80/howto/howto-structurer-dsl.html forrest/site/docs_0_80/howto/howto-structurer-dsl.pdf forrest/site/forrest-issues.html forrest/site/forrest-issues.pdf forrest/site/guidelines.html forrest/site/guidelines.pdf Modified: forrest/site/docs_0_80/howto/howto-structurer-dsl.html URL: http://svn.apache.org/viewcvs/forrest/site/docs_0_80/howto/howto-structurer-dsl.html?rev=358435&r1=358434&r2=358435&view=diff ============================================================================== --- forrest/site/docs_0_80/howto/howto-structurer-dsl.html (original) +++ forrest/site/docs_0_80/howto/howto-structurer-dsl.html Wed Dec 21 17:41:04 2005 @@ -358,6 +358,9 @@
  • CSS in the structurer
  • +
  • +Linking to an external css file +
  • @@ -774,13 +777,62 @@

    We are now able to place contracts into the layout container and add custom css to the structurer.

    + +

    Linking to an external css file

    +
    +
    Note
    +
    This will change for the next version of views (v3) where we use a + generic contract instead of the standalone element (forrest:css).
    +
    +

    Make sure your project has the following directory structure. If it + doesn't you'll have to create it. "common" is the fallback for all + themes, if you want to override the css for a specific theme replace + "common" with "themeName". This is where Forrest will look for external + css stylesheets.

    +
    +        $projectHome\src\documentation\resources\themes\common\css
    +

    Where $projectHome is the directory where your project exists.

    +

    Put your css stylesheets in this directory. For arguement's sake let's say + it's called mystyles.css

    +

    Edit your common.fv structurer (or whatever structurer (theme) you are using). This + will probably be some where in:

    +
    $projectHome\src\documentation\content\xdocs
    +

    or if you want to override it for the whole project in:

    +
    $projectHome\src\documentation\resources\themes\
    +

    Add the following element to the *.fv file:

    +
    <forrest:css url="styles.css" media="screen" theme="pelt"/>
    +        
    +

    +Important! This must appear straight after the "view + type" element (as first child):

    +
    <forrest:view type="html">
    +
    <forrest:css url="mystyles.css" media="screen" theme="pelt"/>
    +        
    +

    The attributes are:

    +
      + +
    1. the url where the css exist (NOTE: it will be rewritten to "../themes/mystyles.css").
    2. + +
    3. the media type, you can set different styles for screen and print. + This is really useful if you want to hide elements such as navigation + in the print output (#nav-section{display:none} for example).
    4. + +
    5. the theme, "pelt" is the default theme (another is the "common" theme). Change this if you + are using your own theme.
    6. + +
    +

    You can have as many css links as you like, and they'll appear in the + head of your document in same order as they are in the .fv file.

    Fixme (thorsten)
    -
    Add more information of recent threads around css in the structurer -
    +
    Add more information of recent threads around + css in the structurer and information how you add an @import? Use e.g. + http://marc.theaimsgroup.com/?t=113471292700001&r=1&w=2 + +
    - +

    Further Reading

    Congratulations you are now able to work with the structurer. From here @@ -796,7 +848,7 @@

    - +

    Feedback

    Please provide feedback about this document via the mailing lists.

    Modified: forrest/site/docs_0_80/howto/howto-structurer-dsl.pdf URL: http://svn.apache.org/viewcvs/forrest/site/docs_0_80/howto/howto-structurer-dsl.pdf?rev=358435&r1=358434&r2=358435&view=diff ============================================================================== Binary files - no diff available. Modified: forrest/site/forrest-issues.html URL: http://svn.apache.org/viewcvs/forrest/site/forrest-issues.html?rev=358435&r1=358434&r2=358435&view=diff ============================================================================== --- forrest/site/forrest-issues.html (original) +++ forrest/site/forrest-issues.html Wed Dec 21 17:41:04 2005 @@ -210,9 +210,6 @@ [FOR-388] Use plugins in-place if src available
  • -[FOR-748] forrest war: Cannot load 'resource://plugins.xconf ... WEB-INF/cocoon.xconf -
  • -
  • [FOR-241] character entities (e.g. ampersand) are expanded again for href or src attributes
  • @@ -243,9 +240,6 @@ [FOR-721] entries without labels in site.xml are now being crawled and generated
  • -[FOR-699] Beginner HowTos for installing Forrest -
  • -
  • [FOR-644] whitespace cleanup
  • @@ -260,6 +254,12 @@
  • [FOR-726] use locationmap in all of the plugins
  • +
  • +[FOR-699] Beginner HowTos for installing Forrest +
  • +
  • +[FOR-765] forrest war gets NoSuchMethodError for some core transformer +
  • @@ -420,17 +420,7 @@ <br>

    - -

    [FOR-748] forrest war: Cannot load 'resource://plugins.xconf ... WEB-INF/cocoon.xconf

    -
    -

    -http://issues.apache.org/jira/browse/FOR-748 -

    -

    Doing 'forrest war' and copy to a full Jetty/webapps/ and start Jetty, then get this error on Jetty startup ... -<br> -Cannot load '<a href="resource://plugins.xconf">resource://plugins.xconf</a>' at ... webapp/WEB-INF/cocoon.xconf:31:44

    -
    - +

    [FOR-241] character entities (e.g. ampersand) are expanded again for href or src attributes

    @@ -476,7 +466,7 @@ <br> the ampersand in the link href attribute is not.

    - +

    [FOR-209] First level selected tab is not highlighted when containing 2nd level tabs

    @@ -490,7 +480,7 @@ <br>

    - +

    [FOR-211] whole-site html and pdf: broken ext links

    @@ -498,7 +488,7 @@

    In the the generated site.html all of the external links are broken (i.e. the href attributes are like ... error:#ext:forrest).

    - +

    [FOR-203] 2nd level tabs are not selected appropriately

    @@ -520,7 +510,7 @@ <br> &nbsp;&nbsp;Lorenz Froihofer.

    - +

    [FOR-546] Sitemap reference doc should be updated to reflect plugin architecture

    @@ -552,7 +542,7 @@ <br> I found out about this because my sitemap uses the fo2pdf too (docbook to PDF), and had to add the serializer.

    - +

    [FOR-560] Remove duplicate jars from eclipse plugins

    @@ -560,7 +550,7 @@

    tools/eclipse/plugins/org.apache.forrest.eclipse.servletEngine/lib contains some duplicate jars to those in the main Forrest trunk. We should find a way of reusing the jars from their existing location.

    - +

    [FOR-562] Update Plugins howto

    @@ -588,7 +578,7 @@ <br>

    - +

    [FOR-677] leading slash in gathered URIs causes double the number of links to be processed

    @@ -608,7 +598,7 @@ <br> However, we do have a sitemap transformer to &quot;relativize&quot; and &quot;absolutize&quot; the links. Should it always trim the leading slash? Or are there cases where that should not happen, so cannot generalise?

    - +

    [FOR-705] Target of LocationMap rewriteDemo causes build failure when target not available

    @@ -636,7 +626,7 @@ <br>

    - +

    [FOR-721] entries without labels in site.xml are now being crawled and generated

    @@ -648,15 +638,7 @@ <br> This is most likely a side-effect of the workaround for issue FOR-675

    - -

    [FOR-699] Beginner HowTos for installing Forrest

    -
    -

    -http://issues.apache.org/jira/browse/FOR-699 -

    -

    These are a whole group of HowTos that I wrote for my local users (probably a tutorial would be a better format). They are not complete, nor tidied at this point, but they cover a lot of basic step-by-step stuff specifically geared towards Linux with Gnome desktop and Windows XP. Figured I would put them out there so we can pull out bits we may want to use.

    -
    - +

    [FOR-644] whitespace cleanup

    @@ -668,7 +650,7 @@ <br> This Issue will be used to announce which section of the repository is due to be cleaned next. Please keep discussion on that mail thread.

    - +

    [FOR-645] patches for whitespace cleanup

    @@ -676,7 +658,7 @@

    Use this issue to provide patches for the whitespace cleanup.

    - +

    [FOR-210] whole-site html and pdf: broken link faq, broken image links

    @@ -686,7 +668,7 @@ <br>

    - +

    [FOR-200] Locationmap for Forrest and Users

    @@ -698,7 +680,7 @@ <br> Beware that it will not work for raw files that are not linked, as this &quot;feature&quot; currently uses a fixed dir being being copied by Ant.

    - +

    [FOR-726] use locationmap in all of the plugins

    @@ -709,6 +691,22 @@ <br> (Perhaps we need Jira sub-tasks for each plugin.)

    +
    + +

    [FOR-699] Beginner HowTos for installing Forrest

    +
    +

    +http://issues.apache.org/jira/browse/FOR-699 +

    +

    These are a whole group of HowTos that I wrote for my local users (probably a tutorial would be a better format). They are not complete, nor tidied at this point, but they cover a lot of basic step-by-step stuff specifically geared towards Linux with Gnome desktop and Windows XP. Figured I would put them out there so we can pull out bits we may want to use.

    +
    + +

    [FOR-765] forrest war gets NoSuchMethodError for some core transformer

    +
    +

    +http://issues.apache.org/jira/browse/FOR-765 +

    +

    Until recently we could run forrest as a WAR. With today's SVN r356945 it gets past the Cocoon startup phase, then on the first client request it suffers some error which causes a NoSuchMethodError. See attached log ... no other clues. This happens for any site, e.g. 'forrest seed-sample war'. All is okay for 'forrest seed-sample run'.