You are viewing a plain text version of this content. The canonical link for it is here.
Posted to site-svn@forrest.apache.org by cr...@apache.org on 2007/04/18 10:36:26 UTC
svn commit: r529915 [9/20] - in /forrest/site: ./ docs_0_70/
docs_0_70/howto/ docs_0_70/howto/cvs-ssh/ docs_0_70/howto/multi/ docs_0_80/
docs_0_80/howto/ docs_0_80/howto/cvs-ssh/ docs_0_80/howto/multi/ dtdx/
plan/ pluginDocs/ pluginDocs/plugins_0_70/ p...
Modified: forrest/site/docs_0_70/howto/howto-pdf-tab.html
URL: http://svn.apache.org/viewvc/forrest/site/docs_0_70/howto/howto-pdf-tab.html?view=diff&rev=529915&r1=529914&r2=529915
==============================================================================
--- forrest/site/docs_0_70/howto/howto-pdf-tab.html (original)
+++ forrest/site/docs_0_70/howto/howto-pdf-tab.html Wed Apr 18 01:36:14 2007
@@ -3,7 +3,7 @@
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="Apache Forrest" name="Generator">
-<meta name="Forrest-version" content="0.8-dev">
+<meta name="Forrest-version" content="0.9-dev">
<meta name="Forrest-skin-name" content="pelt">
<title>How to create a PDF document for each tab (v0.7)</title>
<link type="text/css" href="../../skin/basic.css" rel="stylesheet">
@@ -87,7 +87,7 @@
|start Subtabs
+-->
<div id="level2tabs">
-<a class="selected" href="../../docs_0_70/index.html">0.70 (current)</a><a class="unselected" href="../../docs_0_80/index.html">0.80-dev (under development)</a><a class="unselected" href="../../docs_0_60/index.html">0.60 (past)</a>
+<a class="unselected" href="../../docs_0_80/index.html">0.80 (current)</a><a class="unselected" href="../../docs_0_90/index.html">0.90-dev (under development)</a><a class="selected" href="../../docs_0_70/index.html">0.70 (past)</a>
</div>
<!--+
|end Endtabs
@@ -100,7 +100,7 @@
|breadtrail
+-->
<div class="breadtrail">
-
+
</div>
<!--+
@@ -283,7 +283,7 @@
</div>
<div id="credit">
<hr>
- This is documentation for current version v0.7
+ This is documentation for past version v0.7
(<a href="http://forrest.apache.org/versions/">More</a>)</div>
<div id="roundbottom">
<img style="display: none" class="corner" height="15" width="15" alt="" src="../../skin/images/rc-b-l-15-1body-2menu-3menu.png"></div>
@@ -311,11 +311,12 @@
<input value="+a" class="biggerfont" title="Enlarge text" onclick="ndeSetTextSize('incr'); return false;" type="button">
</div>
<h1>How to create a PDF document for each tab</h1>
-<div class="abstract">This How-To describes the generation of a PDF document for each
- group of documents that is defined by a tab.
- </div>
+<div class="abstract">
+ This How-To describes the generation of a PDF document for each group of
+ documents that is defined by a tab.
+ </div>
<div id="motd-area">
- This is documentation for current version v0.7
+ This is documentation for past version v0.7
(<a href="http://forrest.apache.org/versions/">More</a>)</div>
<div id="minitoc-area">
<ul class="minitoc">
@@ -360,18 +361,17 @@
<h2 class="underlined_10">Intended Audience</h2>
<div class="section">
<p>
- Users who need to generate one printable document aggregated from a
- group of documents.
+ Users who need to generate one printable document aggregated from a group
+ of documents.
</p>
</div>
<a name="N10018"></a><a name="Purpose"></a>
<h2 class="underlined_10">Purpose</h2>
<div class="section">
<p>
- By default Forrest generates a pdf file for each separate document of
- your project.
- As well you can create a pdf of the whole site. But sometimes it may
- be necessary to generate a pdf file out of selected tab, i.e. only for
+ By default Forrest generates a pdf file for each separate document of your
+ project. As well you can create a pdf of the whole site. But sometimes it
+ may be necessary to generate a pdf file out of selected tab, i.e. only for
certain parts of the site.
</p>
</div>
@@ -388,28 +388,29 @@
<a name="N1002F"></a><a name="Steps"></a>
<h2 class="underlined_10">Steps</h2>
<div class="section">
-<p>The procedure outlined below will define a project
- <span class="codefrag">sitemap.xmap</span> and create a new
- <span class="codefrag">pdf-tab.xmap</span>.
+<p>
+ The procedure outlined below will define a project
+ <span class="codefrag">sitemap.xmap</span> and create a new <span class="codefrag">pdf-tab.xmap</span>.
</p>
<a name="N1003D"></a><a name="sitemap"></a>
<h3 class="underlined_5">Create your project's main sitemap.xmap</h3>
<p>
- If you do not have already a sitemap then create a new empty one in your
- <span class="codefrag">src/documentation</span> directory (or wherever
- ${project.sitemap-dir} points to).
- </p>
+ If you do not have already a sitemap then create a new empty one in your
+ <span class="codefrag">src/documentation</span> directory (or wherever
+ ${project.sitemap-dir} points to).
+ </p>
<a name="N1004A"></a><a name="aggregator"></a>
<h3 class="underlined_5">Create another sitemap: pdf-tab.xmap</h3>
<p>
- Like before create an empty sitemap and name it pdf-tab.xmap.
- </p>
+ Like before create an empty sitemap and name it pdf-tab.xmap.
+ </p>
<a name="N10054"></a><a name="mount"></a>
<h3 class="underlined_5">Edit project sitemap.xmap to mount pdf-tab.xmap</h3>
<p>
- Your sitemap should look something like this.
- </p>
+ Your sitemap should look something like this.
+ </p>
<pre class="code">
+
<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
<map:pipelines>
<map:pipeline internal-only="false">
@@ -424,14 +425,16 @@
</map:pipeline>
</map:pipelines>
</map:sitemap>
- </pre>
+ </pre>
<a name="N10062"></a><a name="edit-aggregator"></a>
<h3 class="underlined_5">Edit the file pdf-tab.xmap</h3>
<p>
- The <span class="codefrag"><map:match pattern="*.xml"></span> element
- should look like the following:
- </p>
+ The <span class="codefrag">
+<map:match pattern="*.xml">
+ </span> element should look like the following:
+ </p>
<pre class="code">
+
<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
<map:pipelines>
<map:pipeline internal-only="false">
@@ -454,27 +457,30 @@
</map:pipeline>
</map:pipelines>
</map:sitemap>
- </pre>
+ </pre>
<a name="N10075"></a><a name="edit-site"></a>
<h3 class="underlined_5">Edit your site.xml</h3>
<div class="note">
<div class="label">Note</div>
<div class="content">
- Do not use directories with "." in it. Replace them by "_"
- e.g 1.2/ will not work in the aggregation. e.g. 1_2/ just works fine.
- </div>
+ Do not use directories with "." in it. Replace them by "_" e.g 1.2/ will
+ not work in the aggregation. e.g. 1_2/ just works fine.
+ </div>
</div>
<p>
- Add the following entry to your site.xml in the
- <span class="codefrag"><about></span> element
- </p>
-<pre class="code">...
+ Add the following entry to your site.xml in the <span class="codefrag">
+<about>
+ </span> element
+ </p>
+<pre class="code">
+...
<whole_foosite href="pdf-tab.html" label="sub site" />
- </pre>
+ </pre>
<p>
- Your site.xml should look like this ...
- </p>
-<pre class="code">...
+ Your site.xml should look like this ...
+ </p>
+<pre class="code">
+...
<about label="About">
<index label="Index" href="index.html" description="Welcome to MyProj"/>
<changes label="Changes" href="changes.html"
@@ -483,52 +489,61 @@
<whole_foosite href="pdf-tab.html" label="pdf-tab" />
</about>
...
- </pre>
+ </pre>
<p>
- This allows you to link to it via a
- <span class="codefrag"><link href="site:whole_foosite"></span>
- reference.
- </p>
-<p>Add to every element that should be included in the pdf-tab.pdf
- the attribute <span class="codefrag">wholesite="true"</span>
+ This allows you to link to it via a <span class="codefrag">
+<link href="site:whole_foosite">
+ </span> reference.
+ </p>
+<p>
+ Add to every element that should be included in the pdf-tab.pdf the
+ attribute <span class="codefrag">wholesite="true"</span>
+
</p>
<pre class="code">
+
<sample-wiki label="Wiki page" href="wiki-sample.html"
description="wiki-sample" wholesite="true"/>
- </pre>
+ </pre>
<div class="note">
<div class="label">Note</div>
-<div class="content">This attribute will be inherited by all children of the element.
- Do not use it in the parent element that contains the
- <span class="codefrag"><whole_foosite href="pdf-tab.html" label="pdf-tab" /></span>
- as the child (will cause a <span class="codefrag">stack overflow</span> if you do)!!!
- </div>
+<div class="content">
+ This attribute will be inherited by all children of the element. Do not
+ use it in the parent element that contains the <span class="codefrag">
+<whole_foosite href="pdf-tab.html" label="pdf-tab" />
+ </span> as the child (will cause a <span class="codefrag">stack overflow</span> if you
+ do)!!!
+ </div>
</div>
-<a name="N100A8"></a><a name="explain"></a>
+<a name="N100A9"></a><a name="explain"></a>
<h3 class="underlined_5">Explanation of the operation</h3>
<p>
- Line 4 of our example
- <br>
-
-<span class="codefrag"><map:parameter name="include" value="//*[@wholesite='true']"/></span>
- looks at your site.xml and will match every element containing the
- <span class="codefrag">wholesite="true"</span> attribute. For example, to use the "samples"
- tab ...
- </p>
+ Line 4 of our example
+ <br>
+
+<span class="codefrag">
+<map:parameter name="include" value="//*[@wholesite='true']"/>
+ </span> looks at your site.xml and will match every element containing
+ the <span class="codefrag">wholesite="true"</span> attribute. For example, to use the
+ "samples" tab ...
+ </p>
<pre class="code">
+
...
<samples label="Samples" href="samples/" tab="samples" wholesite="true">
...
</samples>
...
- </pre>
+ </pre>
<p>
- It matches <strong>all</strong> of the elements that contain
- <span class="codefrag">wholesite="true"</span>
- (in our example <span class="codefrag"><samples></span>
- and its "children") for the content of the pdf file to be generated.
- </p>
-<pre class="code">
+ It matches <strong>all</strong> of the elements that contain
+ <span class="codefrag">wholesite="true"</span> (in our example <span class="codefrag">
+<samples>
+ </span> and its "children") for the content of the pdf file to be
+ generated.
+ </p>
+<pre class="code">
+
<samples label="Samples" href="samples/" tab="samples" wholesite="true">
<sample2 label="Static content" href="sample2.html"
description="More Samples" wholesite='false'/>
@@ -536,24 +551,26 @@
description="wiki-sample" />
<sample-ihtml label="ihtml page" href="ihtml-sample.html"
description="Test iHTML page" />
-</samples>
- </pre>
+</samples>
+ </pre>
<p>
- This example shows that you can as well exclude site(s) from the aggregation
- by using the <span class="codefrag">wholesite="false"</span> attribute. This attribute will be as well inherited
- by all children of the element.
- </p>
-<p>
- Line 8 defines the title of the pdf file by taking the content
- of the project-name variable in
- <span class="codefrag">skinconf.xml</span> and adding some funny text:
- <br>
+ This example shows that you can as well exclude site(s) from the
+ aggregation by using the <span class="codefrag">wholesite="false"</span> attribute. This
+ attribute will be as well inherited by all children of the element.
+ </p>
+<p>
+ Line 8 defines the title of the pdf file by taking the content of the
+ project-name variable in <span class="codefrag">skinconf.xml</span> and adding some funny
+ text:
+ <br>
+
+<span class="codefrag">
+<map:parameter name="title" value="{conf:project-name}: Still My Foo Site"/>
+ </span>
-<span class="codefrag"><map:parameter name="title" value="{conf:project-name}: Still My Foo Site"/></span>
-
</p>
</div>
-<a name="N100DF"></a><a name="Feedback and further development of this How-To"></a>
+<a name="N100E0"></a><a name="Feedback and further development of this How-To"></a>
<h2 class="underlined_10">Feedback and further development of this How-To</h2>
<div class="section">
<p>
@@ -561,8 +578,8 @@
<a href="../../mail-lists.html">mailing lists</a>.
</p>
<p>
- In the future, this ability will probably be incorporated into the
- main Forrest process.
+ In the future, this ability will probably be incorporated into the main
+ Forrest process.
</p>
</div>
</div>
Modified: forrest/site/docs_0_70/howto/howto-pdf-tab.pdf
URL: http://svn.apache.org/viewvc/forrest/site/docs_0_70/howto/howto-pdf-tab.pdf?view=diff&rev=529915&r1=529914&r2=529915
==============================================================================
Binary files - no diff available.
Modified: forrest/site/docs_0_70/howto/howto-view-contracts.html
URL: http://svn.apache.org/viewvc/forrest/site/docs_0_70/howto/howto-view-contracts.html?view=diff&rev=529915&r1=529914&r2=529915
==============================================================================
--- forrest/site/docs_0_70/howto/howto-view-contracts.html (original)
+++ forrest/site/docs_0_70/howto/howto-view-contracts.html Wed Apr 18 01:36:14 2007
@@ -3,7 +3,7 @@
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="Apache Forrest" name="Generator">
-<meta name="Forrest-version" content="0.8-dev">
+<meta name="Forrest-version" content="0.9-dev">
<meta name="Forrest-skin-name" content="pelt">
<title>How to write a forrest:contract? (v0.7)</title>
<link type="text/css" href="../../skin/basic.css" rel="stylesheet">
@@ -87,7 +87,7 @@
|start Subtabs
+-->
<div id="level2tabs">
-<a class="selected" href="../../docs_0_70/index.html">0.70 (current)</a><a class="unselected" href="../../docs_0_80/index.html">0.80-dev (under development)</a><a class="unselected" href="../../docs_0_60/index.html">0.60 (past)</a>
+<a class="unselected" href="../../docs_0_80/index.html">0.80 (current)</a><a class="unselected" href="../../docs_0_90/index.html">0.90-dev (under development)</a><a class="selected" href="../../docs_0_70/index.html">0.70 (past)</a>
</div>
<!--+
|end Endtabs
@@ -100,7 +100,7 @@
|breadtrail
+-->
<div class="breadtrail">
-
+
</div>
<!--+
@@ -283,7 +283,7 @@
</div>
<div id="credit">
<hr>
- This is documentation for current version v0.7
+ This is documentation for past version v0.7
(<a href="http://forrest.apache.org/versions/">More</a>)</div>
<div id="roundbottom">
<img style="display: none" class="corner" height="15" width="15" alt="" src="../../skin/images/rc-b-l-15-1body-2menu-3menu.png"></div>
@@ -312,10 +312,11 @@
</div>
<h1>How to write a forrest:contract?</h1>
<div class="abstract">
- This How-To will explain how we wrote the contracts for views and hope afterwards you will be able to do the same.
- </div>
+ This How-To will explain how we wrote the contracts for views and hope
+ afterwards you will be able to do the same.
+ </div>
<div id="motd-area">
- This is documentation for current version v0.7
+ This is documentation for past version v0.7
(<a href="http://forrest.apache.org/versions/">More</a>)</div>
<div id="minitoc-area">
<ul class="minitoc">
@@ -359,23 +360,23 @@
<div class="warning">
<div class="label">Warning</div>
<div class="content">
-"Views" are new functionality which is still in development phase. That is why it is in the
-"whiteboard" section of the Forrest distribution.
-This HowTo is a good start but still needs proof-reading.
-</div>
+ "Views" are new functionality which is still in development phase. That is
+ why it is in the "whiteboard" section of the Forrest distribution. This
+ HowTo is a good start but still needs proof-reading.
+ </div>
</div>
<p>
- Devs and skin developer that wants to get started with forrest:contract development.
- To really understand this how-to you need basic and sometimes advanced understanding of
- the "old fashion" skin development process.
+ Devs and skin developer that wants to get started with forrest:contract
+ development. To really understand this how-to you need basic and sometimes
+ advanced understanding of the "old fashion" skin development process.
</p>
</div>
<a name="N1001B"></a><a name="Purpose"></a>
<h2 class="underlined_10">Purpose</h2>
<div class="section">
<p>
- This setup guide will explain how to create a forrest:contract from scratch and
- how this forrest:contract work with the core parts of forrest.
+ This setup guide will explain how to create a forrest:contract from
+ scratch and how this forrest:contract work with the core parts of forrest.
</p>
</div>
<a name="N10023"></a><a name="Prerequisites"></a>
@@ -402,20 +403,26 @@
<div class="section">
<div class="note">
<div class="label">Note</div>
-<div class="content">The following content is from many mails around the topic, this how-to tries to be the
- consolidation of this thread. It is mainly based on the [RT] Why using views -
- in comparison with "old fashion" skins - usecase i18n</div>
+<div class="content">
+ The following content is from many mails around the topic, this how-to
+ tries to be the consolidation of this thread. It is mainly based on the
+ [RT] Why using views - in comparison with "old fashion" skins - usecase
+ i18n
+ </div>
</div>
<p>
- By working on the i18n integration for "pelt" we crossed again the whys for using views. ;-)
- The maintainment problem was to change the captions of the skin features (contracts) to enable
- support for i18n. The case is that the <span class="codefrag">site2xhtml.xsl</span> has a lot of repeating code.
+ By working on the i18n integration for "pelt" we crossed again the whys
+ for using views. ;-) The maintainment problem was to change the captions
+ of the skin features (contracts) to enable support for i18n. The case is
+ that the <span class="codefrag">site2xhtml.xsl</span> has a lot of repeating code.
</p>
<p>
- For example the "last-publish"-contract could be found 2 times in the code.
- This is not the only contract that was (is) double in the code. The problem with that is that
- we needed to search the code for each caption and senseless repeat the following
- maintainment step of adding the <i18n:text/>-tags.
+ For example the "last-publish"-contract could be found 2 times in the
+ code. This is not the only contract that was (is) double in the code. The
+ problem with that is that we needed to search the code for each caption
+ and senseless repeat the following maintainment step of adding the
+<i18n:text/>
+ -tags.
</p>
<pre class="code">
@@ -428,10 +435,11 @@
</pre>
<a name="N10051"></a><a name="enhanceMaintainment"></a>
<h3 class="underlined_5">Enhance the maintainment</h3>
-<p>Now we can enhance the maintainment for the future and we give this code snippets
- contracts names (based on their functionality). This naming enables us to keep
-the contract separate from the position code itself. In xsl you would
-simply do:
+<p>
+ Now we can enhance the maintainment for the future and we give this code
+ snippets contracts names (based on their functionality). This naming
+ enables us to keep the contract separate from the position code itself.
+ In xsl you would simply do:
</p>
<ol>
@@ -440,7 +448,8 @@
<li>and add:</li>
</ol>
-<pre class="code"><xsl:template name="siteinfo-last-published">
+<pre class="code">
+<xsl:template name="siteinfo-last-published">
<script type="text/javascript">
document.write("<i18n:text >Last Published:</i18n:text>&#160;" + document.lastModified);
</script>
@@ -448,25 +457,27 @@
</pre>
<p>
This allows us in a next maintainment just change the code of
- <xsl:template name="siteinfo-last-published"/> and apply it in any position where
- it is placed.
+<xsl:template name="siteinfo-last-published"/>
+ and apply it in any position where it is placed.
</p>
<div class="note">
<div class="label">Note</div>
<div class="content">
- Now this refactoring of the site2xhtml.xsl is exactly what we doing in creating contracts for views.
+ Now this refactoring of the site2xhtml.xsl is exactly what we doing in
+ creating contracts for views.
</div>
</div>
<a name="N1006E"></a><a name="blankContract"></a>
<h3 class="underlined_5">Explaining the blank forrest:contract</h3>
<p>
To start a new forrest:contract you can copy the 'blank.ft' from
- <span class="codefrag">org.apache.forrest.plugin.output.viewHelper.xhtml/resources/templates</span>.
- The exact file system path can be looked up at <span class="codefrag">http://localhost:8888/ls.contracts.html</span>.
+ <span class="codefrag">org.apache.forrest.plugin.output.viewHelper.xhtml/resources/templates</span>.
+ The exact file system path can be looked up at
+ <span class="codefrag">http://localhost:8888/ls.contracts.html</span>.
</p>
<p>
- The 'blank.ft' is a simple xml file with the following code which you can use to base new contracts
- on:
+ The 'blank.ft' is a simple xml file with the following code which you
+ can use to base new contracts on:
</p>
<pre class="code">
<forrest:contract
@@ -491,70 +502,91 @@
</pre>
<p>
- The most important is the name of the contract <span class="codefrag"><forrest:contract name="blank"/></span>.
- This name is the same as the file name of the contract (without file extension) <span class="codefrag">blank.ft</span>.
+ The most important is the name of the contract <span class="codefrag">
+<forrest:contract name="blank"/>
+ </span>. This name is the same as the file name of the contract (without
+ file extension) <span class="codefrag">blank.ft</span>.
</p>
<div class="note">
<div class="label">Note</div>
-<div class="content">This is a <strong>naming convention</strong> that you have
- to always met. All @name has to be file name of the contract without file extension!
+<div class="content">
+ This is a <strong>naming convention</strong> that you have to always
+ met. All @name has to be file name of the contract without file
+ extension!
</div>
</div>
<p>
- The <span class="codefrag"><description/></span> tag needs to be filled in with some information
- that is explaining the contract to the webdesigner. The better explained the more efficient
- for the webdesigner to pick the right contract.
+ The <span class="codefrag">
+<description/>
+ </span> tag needs to be filled in with some information that is
+ explaining the contract to the webdesigner. The better explained the
+ more efficient for the webdesigner to pick the right contract.
</p>
-<pre class="code"><description>
+<pre class="code">
+<description>
siteinfo-last-published-howto will output the last published date of the site with the help of jscript.
</description>
</pre>
<p>
- In the <span class="codefrag"><usage/></span> tag we have to explain how the designer can use
- the contract in his view.
+ In the <span class="codefrag">
+<usage/>
+ </span> tag we have to explain how the designer can use the contract in
+ his view.
</p>
-<pre class="code"><usage><![CDATA[<forrest:contract name="siteinfo-last-published-howto"/>]]></usage>
+<pre class="code">
+<usage><![CDATA[<forrest:contract name="siteinfo-last-published-howto"/>]]></usage>
</pre>
<p>
-<span class="codefrag"><forrest:template name="blank" body="false" head="false"> </span>
- That leads to the template attribute @body="true" and
- @head="false". In xhtml a contract can add content to the <body/> or/and
- <head/> part of <html/>. This values have to be change when adding an actual template.
- Besides this a xsl-template has to indicate this in the naming. A template that add content to the
- html body has to end with "<span class="codefrag">-body</span>"!!!
+<span class="codefrag">
+<forrest:template name="blank" body="false" head="false">
+ </span> That leads to the template attribute @body="true" and
+ @head="false". In xhtml a contract can add content to the
+<body/>
+ or/and
+<head/>
+ part of
+<html/>
+ . This values have to be change when adding an actual template. Besides
+ this a xsl-template has to indicate this in the naming. A template that
+ add content to the html body has to end with "<span class="codefrag">-body</span>"!!!
</p>
<div class="note">
<div class="label">Note</div>
<div class="content">
- It is possible to use contracts in different in/output-formats.
- We are focusing for now on format="xhtml" as ouput and the inputFormat="xsl".
+ It is possible to use contracts in different in/output-formats. We are
+ focusing for now on format="xhtml" as ouput and the inputFormat="xsl".
</div>
</div>
<p>
- A <forrest:template /> has the son <xsl:stylesheet/> where we can create
- templates for the html-head and html-body. For adding content into the body of the final
- document change @body="true" and add:
+ A
+<forrest:template />
+ has the son
+<xsl:stylesheet/>
+ where we can create templates for the html-head and html-body. For
+ adding content into the body of the final document change @body="true"
+ and add:
</p>
<pre class="code">
<xsl:stylesheet version="1.1"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<!--Add here the needed templates-->
<xsl:template name="blank-body"/>
-</xsl:stylesheet>
+</xsl:stylesheet>
</pre>
<a name="N100BB"></a><a name="newContract"></a>
<h3 class="underlined_5">Create a new contract</h3>
<div class="fixme">
<div class="label">Fixme (thorsten)</div>
<div class="content">
- We need to explain basic naming convention for contracts. Like
- "naming do not say about layout position but functionality of the contract.".
+ We need to explain basic naming convention for contracts. Like "naming
+ do not say about layout position but functionality of the contract.".
</div>
</div>
-<p>
- Now lets pick up the example we started with and create a "siteinfo-last-published-howto" contract.
- Save the blank.ft to <span class="codefrag">{project.home}/src/documentation/resources/templates/siteinfo-last-published-howto.ft</span>.
+<p>
+ Now lets pick up the example we started with and create a
+ "siteinfo-last-published-howto" contract. Save the blank.ft to
+ <span class="codefrag">{project.home}/src/documentation/resources/templates/siteinfo-last-published-howto.ft</span>.
</p>
<p>
Now the maintainment optimized code (xpath="/html/body/*") was:
@@ -564,10 +596,12 @@
<script type="text/javascript">
document.write("<i18n:text >Last Published:</i18n:text>&#160;" + document.lastModified);
</script>
-</xsl:template></pre>
+</xsl:template>
+ </pre>
<p>
- In this code we have to do the following steps to use it in our contract:
- </p>
+ In this code we have to do the following steps to use it in our
+ contract:
+ </p>
<ul>
<li>Search and replace "siteinfo-last-published" with "siteinfo-last-publish-howto-body"</li>
@@ -584,8 +618,11 @@
<script type="text/javascript">
document.write("<i18n:text >Last Published:</i18n:text>&#160;" + document.lastModified);
</script>
-</xsl:template></pre>
-<p>Now we have to do some last steps in the siteinfo-last-publish-howto.ft</p>
+</xsl:template>
+ </pre>
+<p>
+ Now we have to do some last steps in the siteinfo-last-publish-howto.ft
+ </p>
<ul>
<li>Search and replace "blank" with "siteinfo-last-publish-howto"</li>
@@ -600,7 +637,8 @@
<p>
As the result your code should look like this:
</p>
-<pre class="code"><forrest:contract xmlns:forrest="http://apache.org/forrest/templates/1.0"
+<pre class="code">
+<forrest:contract xmlns:forrest="http://apache.org/forrest/templates/1.0"
name="siteinfo-last-published-howto" type="nugget">
<description>
siteinfo-last-published-howto will output the last published date of the site with the help of jscript.
@@ -624,15 +662,17 @@
<a name="N100FF"></a><a name="viewContract"></a>
<h3 class="underlined_5">Activating the contract</h3>
<p>
- To see whether the new contract works we need to add it to our view.
- The contract usage contains the contract-tag <span class="codefrag"><forrest:contract name="siteinfo-last-published-howto"/></span>
- Please see <a href="../../docs_0_70/howto/howto-view-dsl.html">Getting started with forrest:view DSL</a> for more details.
+ To see whether the new contract works we need to add it to our view. The
+ contract usage contains the contract-tag <span class="codefrag">
+<forrest:contract name="siteinfo-last-published-howto"/>
+ </span> Please see <a href="../../docs_0_70/howto/howto-view-dsl.html">Getting started with
+ forrest:view DSL</a> for more details.
</p>
<div class="fixme">
<div class="label">Fixme (thorsten)</div>
<div class="content">
- Let us now look into advanced features of views.
- I will write a how-to for advanced contracts soon. :)
+ Let us now look into advanced features of views. I will write a how-to
+ for advanced contracts soon. :)
</div>
</div>
</div>
@@ -640,18 +680,18 @@
<h2 class="underlined_10">Further Reading</h2>
<div class="section">
<p>
- Congratulations you are now able to work with view contracts.
- From here we recommend to read the following How-To's:
+ Congratulations you are now able to work with view contracts. From here we
+ recommend to read the following How-To's:
</p>
<ul>
<li>
-<a href="../../docs_0_70/howto/howto-view-dsl.html">Getting started with forrest:view DSL</a>
+<a href="../../docs_0_70/howto/howto-view-dsl.html">Getting started with forrest:view DSL</a>
</li>
</ul>
</div>
-<a name="N10125"></a><a name="Feedback"></a>
+<a name="N10124"></a><a name="Feedback"></a>
<h2 class="underlined_10">Feedback</h2>
<div class="section">
<p>
Modified: forrest/site/docs_0_70/howto/howto-view-contracts.pdf
URL: http://svn.apache.org/viewvc/forrest/site/docs_0_70/howto/howto-view-contracts.pdf?view=diff&rev=529915&r1=529914&r2=529915
==============================================================================
Binary files - no diff available.
Modified: forrest/site/docs_0_70/howto/howto-view-dsl.html
URL: http://svn.apache.org/viewvc/forrest/site/docs_0_70/howto/howto-view-dsl.html?view=diff&rev=529915&r1=529914&r2=529915
==============================================================================
--- forrest/site/docs_0_70/howto/howto-view-dsl.html (original)
+++ forrest/site/docs_0_70/howto/howto-view-dsl.html Wed Apr 18 01:36:14 2007
@@ -3,7 +3,7 @@
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="Apache Forrest" name="Generator">
-<meta name="Forrest-version" content="0.8-dev">
+<meta name="Forrest-version" content="0.9-dev">
<meta name="Forrest-skin-name" content="pelt">
<title>How to use the forrest:view config-DSL (v0.7)</title>
<link type="text/css" href="../../skin/basic.css" rel="stylesheet">
@@ -87,7 +87,7 @@
|start Subtabs
+-->
<div id="level2tabs">
-<a class="selected" href="../../docs_0_70/index.html">0.70 (current)</a><a class="unselected" href="../../docs_0_80/index.html">0.80-dev (under development)</a><a class="unselected" href="../../docs_0_60/index.html">0.60 (past)</a>
+<a class="unselected" href="../../docs_0_80/index.html">0.80 (current)</a><a class="unselected" href="../../docs_0_90/index.html">0.90-dev (under development)</a><a class="selected" href="../../docs_0_70/index.html">0.70 (past)</a>
</div>
<!--+
|end Endtabs
@@ -100,7 +100,7 @@
|breadtrail
+-->
<div class="breadtrail">
-
+
</div>
<!--+
@@ -283,7 +283,7 @@
</div>
<div id="credit">
<hr>
- This is documentation for current version v0.7
+ This is documentation for past version v0.7
(<a href="http://forrest.apache.org/versions/">More</a>)</div>
<div id="roundbottom">
<img style="display: none" class="corner" height="15" width="15" alt="" src="../../skin/images/rc-b-l-15-1body-2menu-3menu.png"></div>
@@ -312,11 +312,11 @@
</div>
<h1>How to use the forrest:view config-DSL</h1>
<div class="abstract">
- This How-To describes the usage of the forrest:view config Domain Specific Language
- to create a beautiful website in no time.
- </div>
+ This How-To describes the usage of the forrest:view config Domain Specific
+ Language to create a beautiful website in no time.
+ </div>
<div id="motd-area">
- This is documentation for current version v0.7
+ This is documentation for past version v0.7
(<a href="http://forrest.apache.org/versions/">More</a>)</div>
<div id="minitoc-area">
<ul class="minitoc">
@@ -360,21 +360,23 @@
<div class="warning">
<div class="label">Warning</div>
<div class="content">
-"Views" are a new functionality which is still in development phase. That is why it is in the
-"whiteboard" section of the Forrest distribution.
-This HowTo is far from being finished.
-</div>
+ "Views" are a new functionality which is still in development phase. That
+ is why it is in the "whiteboard" section of the Forrest distribution. This
+ HowTo is far from being finished.
+ </div>
</div>
<p>
- This part of the views is dedicated to web designers and users with some knowlegde of css.
+ This part of the views is dedicated to web designers and users with some
+ knowlegde of css.
</p>
</div>
<a name="N1001B"></a><a name="Purpose"></a>
<h2 class="underlined_10">Purpose</h2>
<div class="section">
<p>
- This how-to will show you how to write a <strong> forrest:view</strong> from the ground up.
- We will focus on html as the output format and show how to add your own css implementation to the view.
+ This how-to will show you how to write a <strong> forrest:view</strong>
+ from the ground up. We will focus on html as the output format and show
+ how to add your own css implementation to the view.
</p>
</div>
<a name="N10026"></a><a name="Prerequisites"></a>
@@ -402,56 +404,68 @@
<div class="note">
<div class="label">Note</div>
<div class="content">
- When developing with views we assume you are using 'forrest run' and the following workflow:<br>
+ When developing with views we assume you are using 'forrest run' and the
+ following workflow:
+ <br>
change files -> refresh browser
</div>
</div>
<p>
- We developed <strong> forrest:view</strong> to let the user decide where to place elements
- in, e.g., html pages.
- We started this work with the <span class="codefrag">skinconf.xml</span> where you could configure certain elements and
- their positions. These elements were known by established names and it was up to the skin-designer to support
- this configuration and the elements.
+ We developed <strong> forrest:view</strong> to let the user decide where
+ to place elements in, e.g., html pages. We started this work with the
+ <span class="codefrag">skinconf.xml</span> where you could configure certain elements and
+ their positions. These elements were known by established names and it was
+ up to the skin-designer to support this configuration and the elements.
</p>
<p>
- We started by grouping the elements (from skinconf) and using css contracts that
- we added as @attributes, e.g. <span class="codefrag"><div id="content-main"/> </span>. That made it
- possible to use the same elements in different skins. For the full list of these contracts refer to the
+ We started by grouping the elements (from skinconf) and using css
+ contracts that we added as @attributes, e.g. <span class="codefrag">
+<div id="content-main"/>
+ </span>. That made it possible to use the same elements in different
+ skins. For the full list of these contracts refer to the
<a href="http://svn.apache.org/repos/asf/forrest/trunk/main/webapp/skins/leather-dev/contracts.initial.txt">
- initial contract list
- </a>.
+ initial contract list </a>.
</p>
<p>
- Around these contracts we developed a configuration Domain Specific Language and called it<strong> forrest:view</strong> .
- <strong> forrest:view</strong> allows us to define the order in which <strong>forrest:contract</strong>s appear, and also to group
- them using <strong>forrest:hook</strong>s.
+ Around these contracts we developed a configuration Domain Specific
+ Language and called it<strong> forrest:view</strong> . <strong>
+ forrest:view</strong> allows us to define the order in which
+ <strong>forrest:contract</strong>s appear, and also to group them using
+ <strong>forrest:hook</strong>s.
</p>
<p>
-
-<strong>forrest:hook</strong>s are containers that are only used for layout reasons. They <strong>do not</strong> add
- any content nor functionality to the output. They add <strong>only</strong> layout information to
- the output. Actually a <span class="codefrag"><forrest:hook name="layoutId"/></span> will be transformed
- to <span class="codefrag"><div id="layoutId"/> </span>
+
+<strong>forrest:hook</strong>s are containers that are only used for
+ layout reasons. They <strong>do not</strong> add any content nor
+ functionality to the output. They add <strong>only</strong> layout
+ information to the output. Actually a <span class="codefrag">
+<forrest:hook name="layoutId"/>
+ </span> will be transformed to <span class="codefrag">
+<div id="layoutId"/>
+ </span>
</p>
<p>
-
-<strong>forrest:contract</strong>s add functionality or extra content that a skin can use to display the requested
- document (content-main). Sometimes a contract delivers <strong>format-specific markup</strong>, other times it delivers
- a <strong>format-independent string</strong>.
+
+<strong>forrest:contract</strong>s add functionality or extra content that
+ a skin can use to display the requested document (content-main). Sometimes
+ a contract delivers <strong>format-specific markup</strong>, other times
+ it delivers a <strong>format-independent string</strong>.
</p>
<a name="N10089"></a><a name="emptyView"></a>
<h3 class="underlined_5">Empty view file</h3>
-<pre class="code"><forrest:views xmlns:forrest="http://apache.org/forrest/templates/1.0" >
+<pre class="code">
+<forrest:views xmlns:forrest="http://apache.org/forrest/templates/1.0" >
<forrest:view type="xhtml">
</forrest:view>
</forrest:views>
</pre>
<p>
-
-<strong> forrest:view</strong> is designed to be available for any format that can use<strong>
- forrest:view</strong> as a configuration file.
- The only format we have implemented is xhtml for now. This is also true for the delivered contracts.
+
+<strong> forrest:view</strong> is designed to be available for any
+ format that can use<strong> forrest:view</strong> as a configuration
+ file. The only format we have implemented is xhtml for now. This is also
+ true for the delivered contracts.
</p>
<p>
Now lets start to skin our site. :)
@@ -459,32 +473,39 @@
<a name="N100A0"></a><a name="firstView"></a>
<h3 class="underlined_5">Creating your first view</h3>
<p>
- In this section we will create a new view. We will override the default view of the view plugin
- for the index page of the <a href="../../docs_0_70/howto/howto-view-install.html">newSeed</a>.
- To do this we will create a file called <span class="codefrag">index.fv</span> and save it in our xdocs directory.
- This will <strong>only</strong> make the index.html page look different from the rest of the project.
- </p>
-<p>
- Remember: pointing your browser to <span class="codefrag">http://localhost:8888/ls.contracts.html</span> will
- show a page with all contracts that you can use in your project.
+ In this section we will create a new view. We will override the default
+ view of the view plugin for the index page of the
+ <a href="../../docs_0_70/howto/howto-view-install.html">newSeed</a>. To do this we will create
+ a file called <span class="codefrag">index.fv</span> and save it in our xdocs directory.
+ This will <strong>only</strong> make the index.html page look different
+ from the rest of the project.
+ </p>
+<p>
+ Remember: pointing your browser to
+ <span class="codefrag">http://localhost:8888/ls.contracts.html</span> will show a page
+ with all contracts that you can use in your project.
+ </p>
+<p>
+ Let's use the blank view from the earlier step and add the content-main
+ contract. In ls.contracts.html we find the information about how to use
+ the contract in our view. Our <span class="codefrag">index.fv</span> should look like:
</p>
-<p>
- Let's use the blank view from the earlier step and add the content-main contract. In
- ls.contracts.html we find the information about how to use the contract in our view. Our
- <span class="codefrag">index.fv</span> should look like:
- </p>
-<pre class="code"><forrest:views xmlns:forrest="http://apache.org/forrest/templates/1.0" >
+<pre class="code">
+<forrest:views xmlns:forrest="http://apache.org/forrest/templates/1.0" >
<forrest:view type="xhtml">
<forrest:contract name="content-main"/>
</forrest:view>
</forrest:views>
</pre>
<p>
- Let's try our new view by pointing to <span class="codefrag">http://localhost:8888/index.html</span>.
- We will see only the main content. :) Now let's add the section navigation to our view.
- The contract usage in the view can be looked up in ls.contracts.html. Our view now looks like:
+ Let's try our new view by pointing to
+ <span class="codefrag">http://localhost:8888/index.html</span>. We will see only the main
+ content. :) Now let's add the section navigation to our view. The
+ contract usage in the view can be looked up in ls.contracts.html. Our
+ view now looks like:
</p>
-<pre class="code"><forrest:views xmlns:forrest="http://apache.org/forrest/templates/1.0" >
+<pre class="code">
+<forrest:views xmlns:forrest="http://apache.org/forrest/templates/1.0" >
<forrest:view type="xhtml">
<forrest:contract name="content-main"/>
<forrest:contract name="nav-section"/>
@@ -492,17 +513,19 @@
</forrest:views>
</pre>
<p>
- We now see the main content and the section navigation in the order
- we placed them in the view, but we want them next to each other
- (left: nav-section; right: content-main).
+ We now see the main content and the section navigation in the order we
+ placed them in the view, but we want them next to each other (left:
+ nav-section; right: content-main).
</p>
<a name="N100D1"></a><a name="hookView"></a>
<h3 class="underlined_5">Hooks in views</h3>
<p>
- We will now use for the first time a <span class="codefrag"><forrest:hook name="layoutId"/></span>.
- Hooks are the styling side of views. We can imitate an arbitrary html skeleton
- with their help. Before we explain how to use your own css in views we will use the default css.
- In the default.css we can find
+ We will now use for the first time a <span class="codefrag">
+<forrest:hook name="layoutId"/>
+ </span>. Hooks are the styling side of views. We can imitate an
+ arbitrary html skeleton with their help. Before we explain how to use
+ your own css in views we will use the default css. In the default.css we
+ can find
</p>
<pre class="code">/* menu */
#leftbar {
@@ -513,21 +536,24 @@
}
</pre>
<p>
- With this information we can see the purpose of <span class="codefrag"><forrest:hook name="leftbar"/></span>
- and add contracts into that container.
+ With this information we can see the purpose of <span class="codefrag">
+<forrest:hook name="leftbar"/>
+ </span> and add contracts into that container.
</p>
<p>
If we want to put the nav-section contract into the left side position
of the site we need to place the contract into that hook like so:
</p>
-<pre class="code"><forrest:hook name="leftbar">
+<pre class="code">
+<forrest:hook name="leftbar">
<forrest:contract name="nav-section"/>
</forrest:hook>
- </pre>
+ </pre>
<p>
Our view will then look like:
</p>
-<pre class="code"><forrest:views xmlns:forrest="http://apache.org/forrest/templates/1.0" >
+<pre class="code">
+<forrest:views xmlns:forrest="http://apache.org/forrest/templates/1.0" >
<forrest:view type="xhtml">
<forrest:hook name="leftbar">
<forrest:contract name="nav-section"/>
@@ -539,15 +565,19 @@
<a name="N100F6"></a><a name="cssView"></a>
<h3 class="underlined_5">CSS in views</h3>
<p>
- We now know how to place contracts and hooks in our view, but until this stage we have only
- used the default.css.
- CSS support within views is as easy as placing contracts/hooks. To override the default.css
- stylesheet we use another tag within our view <span class="codefrag"><forrest:css url="default.css"/></span>.
+ We now know how to place contracts and hooks in our view, but until this
+ stage we have only used the default.css. CSS support within views is as
+ easy as placing contracts/hooks. To override the default.css stylesheet
+ we use another tag within our view <span class="codefrag">
+<forrest:css url="default.css"/>
+ </span>.
</p>
<p>
- Now we will create a new file as <span class="codefrag">{properties:skins-dir}{path}/{name}.css</span>. In our case
- we will save a file called howTo.css in newSeed/src/documentation/skins/css/howTo.css containing only
- the following css:
+ Now we will create a new file as <span class="codefrag">
+{properties:skins-dir}{path}/{name}.css
+ </span>. In our case we will save a file called howTo.css in
+ newSeed/src/documentation/skins/css/howTo.css containing only the
+ following css:
</p>
<pre class="code">/* menu */
#leftbar {
@@ -558,19 +588,26 @@
}
</pre>
<p>
- We just changed the border-style to 'solid', the background to '#CCCCFF' and the color to '#000000'.
- Now we have to add a new tag to tell that we want to override the default.css. We are doing this
- by adding the tag <span class="codefrag"><forrest:css url="howTo.css"/></span> to our view.
+ We just changed the border-style to 'solid', the background to '#CCCCFF'
+ and the color to '#000000'. Now we have to add a new tag to tell that we
+ want to override the default.css. We are doing this by adding the tag
+ <span class="codefrag">
+<forrest:css url="howTo.css"/>
+ </span> to our view.
</p>
<div class="note">
<div class="label">Note</div>
<div class="content">
-<span class="codefrag"><forrest:css url="howTo.css"/></span> has to be the direct son of
- <span class="codefrag"><forrest:view type="xhtml"></span>!!!
+<span class="codefrag">
+<forrest:css url="howTo.css"/>
+ </span> has to be the direct son of <span class="codefrag">
+<forrest:view type="xhtml">
+ </span>!!!
</div>
</div>
-<pre class="code"><forrest:views xmlns:forrest="http://apache.org/forrest/templates/1.0" >
+<pre class="code">
+<forrest:views xmlns:forrest="http://apache.org/forrest/templates/1.0" >
<forrest:view type="xhtml">
<forrest:css url="howTo.css"/>
<forrest:hook name="leftbar">
@@ -581,11 +618,11 @@
</forrest:views>
</pre>
<p>
- Now you see a white page where the menu is sourrounded by a solid border with the defined background.
- For a second example let's change the content-main by adding another hook
- <span class="codefrag"><forrest:hook name="content"/></span>. We need to add the new layout
- container
- to our howTo.css:
+ Now you see a white page where the menu is sourrounded by a solid border
+ with the defined background. For a second example let's change the
+ content-main by adding another hook <span class="codefrag">
+<forrest:hook name="content"/>
+ </span>. We need to add the new layout container to our howTo.css:
</p>
<pre class="code">
/* The actual content */
@@ -596,9 +633,11 @@
}
</pre>
<p>
- Then we have to add the 'content-main' contract to the 'content' hook. The resulting view looks like:
+ Then we have to add the 'content-main' contract to the 'content' hook.
+ The resulting view looks like:
</p>
-<pre class="code"><forrest:views xmlns:forrest="http://apache.org/forrest/templates/1.0" >
+<pre class="code">
+<forrest:views xmlns:forrest="http://apache.org/forrest/templates/1.0" >
<forrest:view type="xhtml">
<forrest:css url="howTo.css"/>
<forrest:hook name="leftbar">
@@ -611,13 +650,14 @@
</forrest:views>
</pre>
<p>
- We are now able to place contracts and layout containers and add custom css to the view.
+ We are now able to place contracts and layout containers and add custom
+ css to the view.
</p>
<div class="fixme">
<div class="label">Fixme (thorsten)</div>
<div class="content">
- Let us now look into advanced features of views.
- I will write a how-to for advanced contracts soon. :)
+ Let us now look into advanced features of views. I will write a how-to
+ for advanced contracts soon. :)
</div>
</div>
</div>
@@ -625,18 +665,18 @@
<h2 class="underlined_10">Further Reading</h2>
<div class="section">
<p>
- Congratulations, you are now able to work with the view DSL.
- From here we recommend reading the following How-To's:
+ Congratulations, you are now able to work with the view DSL. From here we
+ recommend reading the following How-To's:
</p>
<ul>
<li>
-<a href="../../docs_0_70/howto/howto-view-contracts.html">Create your own contract implementation</a>
+<a href="../../docs_0_70/howto/howto-view-contracts.html">Create your own contract implementation</a>
</li>
</ul>
</div>
-<a name="N1014B"></a><a name="Feedback"></a>
+<a name="N1014A"></a><a name="Feedback"></a>
<h2 class="underlined_10">Feedback</h2>
<div class="section">
<p>
Modified: forrest/site/docs_0_70/howto/howto-view-dsl.pdf
URL: http://svn.apache.org/viewvc/forrest/site/docs_0_70/howto/howto-view-dsl.pdf?view=diff&rev=529915&r1=529914&r2=529915
==============================================================================
Binary files - no diff available.
Modified: forrest/site/docs_0_70/howto/howto-view-install.html
URL: http://svn.apache.org/viewvc/forrest/site/docs_0_70/howto/howto-view-install.html?view=diff&rev=529915&r1=529914&r2=529915
==============================================================================
--- forrest/site/docs_0_70/howto/howto-view-install.html (original)
+++ forrest/site/docs_0_70/howto/howto-view-install.html Wed Apr 18 01:36:14 2007
@@ -3,7 +3,7 @@
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="Apache Forrest" name="Generator">
-<meta name="Forrest-version" content="0.8-dev">
+<meta name="Forrest-version" content="0.9-dev">
<meta name="Forrest-skin-name" content="pelt">
<title>How to install the view package (v0.7)</title>
<link type="text/css" href="../../skin/basic.css" rel="stylesheet">
@@ -87,7 +87,7 @@
|start Subtabs
+-->
<div id="level2tabs">
-<a class="selected" href="../../docs_0_70/index.html">0.70 (current)</a><a class="unselected" href="../../docs_0_80/index.html">0.80-dev (under development)</a><a class="unselected" href="../../docs_0_60/index.html">0.60 (past)</a>
+<a class="unselected" href="../../docs_0_80/index.html">0.80 (current)</a><a class="unselected" href="../../docs_0_90/index.html">0.90-dev (under development)</a><a class="selected" href="../../docs_0_70/index.html">0.70 (past)</a>
</div>
<!--+
|end Endtabs
@@ -100,7 +100,7 @@
|breadtrail
+-->
<div class="breadtrail">
-
+
</div>
<!--+
@@ -283,7 +283,7 @@
</div>
<div id="credit">
<hr>
- This is documentation for current version v0.7
+ This is documentation for past version v0.7
(<a href="http://forrest.apache.org/versions/">More</a>)</div>
<div id="roundbottom">
<img style="display: none" class="corner" height="15" width="15" alt="" src="../../skin/images/rc-b-l-15-1body-2menu-3menu.png"></div>
@@ -312,10 +312,11 @@
</div>
<h1>How to install the view package</h1>
<div class="abstract">
- This How-To describes the setup of the plugins (needed to work with forrest:views and forrest:contracts) and a fresh seed.
- </div>
+ This How-To describes the setup of the plugins (needed to work with
+ forrest:views and forrest:contracts) and a fresh seed.
+ </div>
<div id="motd-area">
- This is documentation for current version v0.7
+ This is documentation for past version v0.7
(<a href="http://forrest.apache.org/versions/">More</a>)</div>
<div id="minitoc-area">
<ul class="minitoc">
@@ -362,14 +363,14 @@
<div class="warning">
<div class="label">Warning</div>
<div class="content">
-"Views" are a new functionality which is still in development phase. That is why it is in the
-"whiteboard" section of the Forrest distribution.
-This HowTo is a good start but still needs proof-reading.
-</div>
+ "Views" are a new functionality which is still in development phase. That
+ is why it is in the "whiteboard" section of the Forrest distribution. This
+ HowTo is a good start but still needs proof-reading.
+ </div>
</div>
<p>
- Users/devs who wants to get started with view development.
- This setup guide is valid for both users and devs.
+ Users/devs who wants to get started with view development. This setup
+ guide is valid for both users and devs.
</p>
</div>
<a name="N1001B"></a><a name="Purpose"></a>
@@ -393,15 +394,17 @@
<h2 class="underlined_10">Steps</h2>
<div class="section">
<p>
- The process of setting up the plugin is quite involved. We promise it will be easier in the future.
- Some of the instructions have to be modified with your local settings.
+ The process of setting up the plugin is quite involved. We promise it will
+ be easier in the future. Some of the instructions have to be modified with
+ your local settings.
</p>
<a name="N10036"></a><a name="localBuild"></a>
<h3 class="underlined_5">Build the view and the viewHelper plugins</h3>
<p>
- The first step is to build the view and the viewHelper plugins. Change to a console of your choice
- and go (cd) to the trunk version of forrest {forrest-trunk}. Then do an update and after this
- deploy both plugins locally.
+ The first step is to build the view and the viewHelper plugins. Change
+ to a console of your choice and go (cd) to the trunk version of forrest
+ {forrest-trunk}. Then do an update and after this deploy both plugins
+ locally.
</p>
<pre class="code">
cd {forrest-trunk}
@@ -413,11 +416,12 @@
</pre>
<a name="N10044"></a><a name="newSeed"></a>
<h3 class="underlined_5">Seed a new project</h3>
-<p>
- Go to the dir where you want to seed a new project and seed it.
- Next we have to prepare a default.fv directory ("conf") in project.conf-dir (forrest.properties)
- of the fresh seed. This will be needed as soon you modify the default view of your project.
- A "templates" directory is needed as well, for your project-specific contract implementations.
+<p>
+ Go to the dir where you want to seed a new project and seed it. Next we
+ have to prepare a default.fv directory ("conf") in project.conf-dir
+ (forrest.properties) of the fresh seed. This will be needed as soon you
+ modify the default view of your project. A "templates" directory is
+ needed as well, for your project-specific contract implementations.
</p>
<pre class="code">
cd ~/src/newSeed
@@ -428,47 +432,58 @@
<a name="N10052"></a><a name="forrestProperties"></a>
<h3 class="underlined_5">Modifying forrest.properties</h3>
<p>
- Now we have to tell forrest that we are planning to use the view plugins. We will do that
- by editing to the forrest.properties to add the plugins:
+ Now we have to tell forrest that we are planning to use the view
+ plugins. We will do that by editing to the forrest.properties to add the
+ plugins:
</p>
<pre class="code">
project.required.plugins=org.apache.forrest.plugin.output.viewHelper.xhtml,org.apache.forrest.plugin.internal.view
</pre>
<p>
- We also have to change the project skin to leather-dev. The reason for this is that the plugins are still
- not independent from the "old fashion skins".
+ We also have to change the project skin to leather-dev. The reason for
+ this is that the plugins are still not independent from the "old fashion
+ skins".
</p>
<div class="note">
<div class="label">Note</div>
-<div class="content">We are exchanging only site2xhtml.xsl of leather-dev skin by the plugins and some contracts
- are based on e.g. document2html.xsl output of leather-dev.</div>
+<div class="content">
+ We are exchanging only site2xhtml.xsl of leather-dev skin by the plugins
+ and some contracts are based on e.g. document2html.xsl output of
+ leather-dev.
+ </div>
</div>
<pre class="code">
project.skin=leather-dev
</pre>
<a name="N1006A"></a><a name="testing"></a>
<h3 class="underlined_5">Test your new view-based project</h3>
-<p>
+<p>
Now you have finished the preparation and the setup to finally try
</p>
<pre class="code">
forrest run
</pre>
-<p>then point to <a href="http://localhost:8888/">http://localhost:8888/</a> and you should see the default
- view-based skin.</p>
+<p>
+ then point to
+ <a href="http://localhost:8888/">http://localhost:8888/</a> and you
+ should see the default view-based skin.
+ </p>
<div class="note">
<div class="label">Note</div>
-<div class="content">When developing styles with views 'forrest run' is the quickest
-way. You will see you do not have to build your project to see the
-changes on your pages when working with *.fv. </div>
+<div class="content">
+ When developing styles with views 'forrest run' is the quickest way. You
+ will see you do not have to build your project to see the changes on
+ your pages when working with *.fv.
+ </div>
</div>
<a name="N10082"></a><a name="availableContracts"></a>
<h3 class="underlined_5">Available contracts</h3>
-<p>
- To start working with views you need to know which contracts you can use.
- For this we will install another plugin <span class="codefrag">org.apache.forrest.plugin.input.viewHelper.xhtml.ls</span>.
- The setup is:
- </p>
+<p>
+ To start working with views you need to know which contracts you can
+ use. For this we will install another plugin
+ <span class="codefrag">org.apache.forrest.plugin.input.viewHelper.xhtml.ls</span>. The
+ setup is:
+ </p>
<pre class="code">
cd {forrest-trunk}
svn up
@@ -476,39 +491,41 @@
ant local-deploy
</pre>
<p>
- The newly installed plugin will show the available contracts listed in an html page.
- First we have to tell forrest that we are planning to use the new plugin. We will do that
- by editing the forrest.properties of the <a href="../../docs_0_70/howto/howto-view-install.html">newSeed</a>
- to <strong>add</strong> the plugin:
+ The newly installed plugin will show the available contracts listed in
+ an html page. First we have to tell forrest that we are planning to use
+ the new plugin. We will do that by editing the forrest.properties of the
+ <a href="../../docs_0_70/howto/howto-view-install.html">newSeed</a> to <strong>add</strong>
+ the plugin:
</p>
<pre class="code">
project.required.plugins=org.apache.forrest.plugin.input.viewHelper.xhtml.ls
</pre>
<p>
- Now point your browser to <span class="codefrag">http://localhost:8888/ls.contracts.html</span>.
- On this page you will find all contracts that you can use in your project.
+ Now point your browser to
+ <span class="codefrag">http://localhost:8888/ls.contracts.html</span>. On this page you
+ will find all contracts that you can use in your project.
</p>
</div>
<a name="N100A7"></a><a name="Further Reading"></a>
<h2 class="underlined_10">Further Reading</h2>
<div class="section">
<p>
- Congratulations, you are now able to work with views.
- From here we recommend reading the following How-To's:
+ Congratulations, you are now able to work with views. From here we
+ recommend reading the following How-To's:
</p>
<ul>
<li>
-<a href="../../docs_0_70/howto/howto-view-dsl.html">Getting started with forrest:view DSL</a>
+<a href="../../docs_0_70/howto/howto-view-dsl.html">Getting started with forrest:view DSL</a>
</li>
<li>
-<a href="../../docs_0_70/howto/howto-view-contracts.html">Create your own contract implementation</a>
+<a href="../../docs_0_70/howto/howto-view-contracts.html">Create your own contract implementation</a>
</li>
</ul>
</div>
-<a name="N100BE"></a><a name="Feedback"></a>
+<a name="N100BC"></a><a name="Feedback"></a>
<h2 class="underlined_10">Feedback</h2>
<div class="section">
<p>
Modified: forrest/site/docs_0_70/howto/index.html
URL: http://svn.apache.org/viewvc/forrest/site/docs_0_70/howto/index.html?view=diff&rev=529915&r1=529914&r2=529915
==============================================================================
--- forrest/site/docs_0_70/howto/index.html (original)
+++ forrest/site/docs_0_70/howto/index.html Wed Apr 18 01:36:14 2007
@@ -3,7 +3,7 @@
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="Apache Forrest" name="Generator">
-<meta name="Forrest-version" content="0.8-dev">
+<meta name="Forrest-version" content="0.9-dev">
<meta name="Forrest-skin-name" content="pelt">
<title>Overview of the How-To documents (v0.7)</title>
<link type="text/css" href="../../skin/basic.css" rel="stylesheet">
@@ -87,7 +87,7 @@
|start Subtabs
+-->
<div id="level2tabs">
-<a class="selected" href="../../docs_0_70/index.html">0.70 (current)</a><a class="unselected" href="../../docs_0_80/index.html">0.80-dev (under development)</a><a class="unselected" href="../../docs_0_60/index.html">0.60 (past)</a>
+<a class="unselected" href="../../docs_0_80/index.html">0.80 (current)</a><a class="unselected" href="../../docs_0_90/index.html">0.90-dev (under development)</a><a class="selected" href="../../docs_0_70/index.html">0.70 (past)</a>
</div>
<!--+
|end Endtabs
@@ -100,7 +100,7 @@
|breadtrail
+-->
<div class="breadtrail">
-
+
</div>
<!--+
@@ -283,7 +283,7 @@
</div>
<div id="credit">
<hr>
- This is documentation for current version v0.7
+ This is documentation for past version v0.7
(<a href="http://forrest.apache.org/versions/">More</a>)</div>
<div id="roundbottom">
<img style="display: none" class="corner" height="15" width="15" alt="" src="../../skin/images/rc-b-l-15-1body-2menu-3menu.png"></div>
@@ -312,7 +312,7 @@
</div>
<h1>Overview of the How-To documents</h1>
<div id="motd-area">
- This is documentation for current version v0.7
+ This is documentation for past version v0.7
(<a href="http://forrest.apache.org/versions/">More</a>)</div>
<div id="minitoc-area">
<ul class="minitoc">
@@ -351,7 +351,6 @@
</ul>
</div>
-
<a name="N10023"></a><a name="Using+Forrest"></a>
<h2 class="underlined_10">Using Forrest</h2>
<div class="section">
@@ -390,7 +389,6 @@
</ul>
</div>
-
<a name="N1004B"></a><a name="Extending+Forrest"></a>
<h2 class="underlined_10">Extending Forrest</h2>
Modified: forrest/site/docs_0_70/howto/multi/howto-multi.html
URL: http://svn.apache.org/viewvc/forrest/site/docs_0_70/howto/multi/howto-multi.html?view=diff&rev=529915&r1=529914&r2=529915
==============================================================================
--- forrest/site/docs_0_70/howto/multi/howto-multi.html (original)
+++ forrest/site/docs_0_70/howto/multi/howto-multi.html Wed Apr 18 01:36:14 2007
@@ -3,7 +3,7 @@
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="Apache Forrest" name="Generator">
-<meta name="Forrest-version" content="0.8-dev">
+<meta name="Forrest-version" content="0.9-dev">
<meta name="Forrest-skin-name" content="pelt">
<title>Example of a multi-page how-to (v0.7)</title>
<link type="text/css" href="../../../skin/basic.css" rel="stylesheet">
@@ -87,7 +87,7 @@
|start Subtabs
+-->
<div id="level2tabs">
-<a class="selected" href="../../../docs_0_70/index.html">0.70 (current)</a><a class="unselected" href="../../../docs_0_80/index.html">0.80-dev (under development)</a><a class="unselected" href="../../../docs_0_60/index.html">0.60 (past)</a>
+<a class="unselected" href="../../../docs_0_80/index.html">0.80 (current)</a><a class="unselected" href="../../../docs_0_90/index.html">0.90-dev (under development)</a><a class="selected" href="../../../docs_0_70/index.html">0.70 (past)</a>
</div>
<!--+
|end Endtabs
@@ -100,7 +100,7 @@
|breadtrail
+-->
<div class="breadtrail">
-
+
</div>
<!--+
@@ -283,7 +283,7 @@
</div>
<div id="credit">
<hr>
- This is documentation for current version v0.7
+ This is documentation for past version v0.7
(<a href="http://forrest.apache.org/versions/">More</a>)</div>
<div id="roundbottom">
<img style="display: none" class="corner" height="15" width="15" alt="" src="../../../skin/images/rc-b-l-15-1body-2menu-3menu.png"></div>
@@ -311,10 +311,11 @@
<input value="+a" class="biggerfont" title="Enlarge text" onclick="ndeSetTextSize('incr'); return false;" type="button">
</div>
<h1>Example of a multi-page how-to</h1>
-<div class="abstract">This is the shell of a multi-page how-to. Add your own content.
+<div class="abstract">
+ This is the shell of a multi-page how-to. Add your own content.
</div>
<div id="motd-area">
- This is documentation for current version v0.7
+ This is documentation for past version v0.7
(<a href="http://forrest.apache.org/versions/">More</a>)</div>
<div id="minitoc-area">
<ul class="minitoc">
@@ -347,26 +348,34 @@
<a name="N10010"></a><a name="Intended audience"></a>
<h2 class="underlined_10">Intended audience</h2>
<div class="section">
-<p>Describe the audience here.</p>
+<p>
+ Describe the audience here.
+ </p>
</div>
<a name="N10018"></a><a name="Purpose"></a>
<h2 class="underlined_10">Purpose</h2>
<div class="section">
-<p>Explain the purpose of the howto here.</p>
+<p>
+ Explain the purpose of the howto here.
+ </p>
</div>
<a name="N10020"></a><a name="Prerequisites"></a>
<h2 class="underlined_10">Prerequisites</h2>
<div class="section">
-<p>Configuration requirements:</p>
-<ul>
+<p>
+ Configuration requirements:
+ </p>
+<ul>
<li>This.</li>
<li>That.</li>
</ul>
-<p>Requisite skills:</p>
-<ul>
+<p>
+ Requisite skills:
+ </p>
+<ul>
<li>These.</li>
@@ -377,8 +386,10 @@
<a name="N1003D"></a><a name="Various Steps"></a>
<h2 class="underlined_10">Various Steps</h2>
<div class="section">
-<p>After this brief introductory paragraph, the steps are described in
- separate documents:</p>
+<p>
+ After this brief introductory paragraph, the steps are described in
+ separate documents:
+ </p>
<ul>
<li>
@@ -398,25 +409,31 @@
<a name="N10057"></a><a name="Real World Extension"></a>
<h2 class="underlined_10">Real World Extension</h2>
<div class="section">
-<p>Briefly describe some relevant extensions that go beyond these basics.</p>
+<p>
+ Briefly describe some relevant extensions that go beyond these basics.
+ </p>
</div>
<a name="N1005F"></a><a name="Tips"></a>
<h2 class="underlined_10">Tips</h2>
<div class="section">
-<p>If you have a problem running the example, then you can try the
- following tips:</p>
+<p>
+ If you have a problem running the example, then you can try the following
+ tips:
+ </p>
<ul>
-
+
<li>Tip #1</li>
-
+
<li>Tip #2</li>
-
+
</ul>
</div>
<a name="N10070"></a><a name="Related Resources"></a>
<h2 class="underlined_10">Related Resources</h2>
<div class="section">
-<p>Cocoon resources:</p>
+<p>
+ Cocoon resources:
+ </p>
<ul>
<li>For all Cocoon basics see the
@@ -428,9 +445,10 @@
<a name="N10082"></a><a name="Feedback"></a>
<h2 class="underlined_10">Feedback</h2>
<div class="section">
-<p>If you find any faults in this How-to or can see any improvements,
- please contact the
- <a href="../../../mail-lists.html">project mail lists</a> with them.
+<p>
+ If you find any faults in this How-to or can see any improvements, please
+ contact the <a href="../../../mail-lists.html">project mail lists</a> with
+ them.
</p>
</div>
</div>
Modified: forrest/site/docs_0_70/howto/multi/step1.html
URL: http://svn.apache.org/viewvc/forrest/site/docs_0_70/howto/multi/step1.html?view=diff&rev=529915&r1=529914&r2=529915
==============================================================================
--- forrest/site/docs_0_70/howto/multi/step1.html (original)
+++ forrest/site/docs_0_70/howto/multi/step1.html Wed Apr 18 01:36:14 2007
@@ -3,7 +3,7 @@
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="Apache Forrest" name="Generator">
-<meta name="Forrest-version" content="0.8-dev">
+<meta name="Forrest-version" content="0.9-dev">
<meta name="Forrest-skin-name" content="pelt">
<title>Multi-page how-to: Step 1 (v0.7)</title>
<link type="text/css" href="../../../skin/basic.css" rel="stylesheet">
@@ -87,7 +87,7 @@
|start Subtabs
+-->
<div id="level2tabs">
-<a class="selected" href="../../../docs_0_70/index.html">0.70 (current)</a><a class="unselected" href="../../../docs_0_80/index.html">0.80-dev (under development)</a><a class="unselected" href="../../../docs_0_60/index.html">0.60 (past)</a>
+<a class="unselected" href="../../../docs_0_80/index.html">0.80 (current)</a><a class="unselected" href="../../../docs_0_90/index.html">0.90-dev (under development)</a><a class="selected" href="../../../docs_0_70/index.html">0.70 (past)</a>
</div>
<!--+
|end Endtabs
@@ -100,7 +100,7 @@
|breadtrail
+-->
<div class="breadtrail">
-
+
</div>
<!--+
@@ -283,7 +283,7 @@
</div>
<div id="credit">
<hr>
- This is documentation for current version v0.7
+ This is documentation for past version v0.7
(<a href="http://forrest.apache.org/versions/">More</a>)</div>
<div id="roundbottom">
<img style="display: none" class="corner" height="15" width="15" alt="" src="../../../skin/images/rc-b-l-15-1body-2menu-3menu.png"></div>
@@ -312,7 +312,7 @@
</div>
<h1>Multi-page how-to: Step 1</h1>
<div id="motd-area">
- This is documentation for current version v0.7
+ This is documentation for past version v0.7
(<a href="http://forrest.apache.org/versions/">More</a>)</div>
<div id="minitoc-area">
<ul class="minitoc">
@@ -334,18 +334,27 @@
<div class="section">
<a name="N10012"></a><a name="First+section+of+this+step"></a>
<h3 class="underlined_5">First section of this step</h3>
-<p>Description here.</p>
+<p>
+ Description here.
+ </p>
<a name="N1001C"></a><a name="Second+section+of+this+step"></a>
<h3 class="underlined_5">Second section of this step</h3>
-<p>Description here.</p>
-<p>Source code follows ...</p>
+<p>
+ Description here.
+ </p>
+<p>
+ Source code follows ...
+ </p>
<pre class="code">
+
<pointy-brackets>
<are-allowed-in-source-CDATA-sections/>
</pointy-brackets>
</pre>
-<p>Now we move on to <a href="step2.html">Step 2: Do foobar</a>
+<p>
+ Now we move on to <a href="step2.html">Step 2: Do foobar</a>
+
</p>
</div>
</div>
Modified: forrest/site/docs_0_70/howto/multi/step1.pdf
URL: http://svn.apache.org/viewvc/forrest/site/docs_0_70/howto/multi/step1.pdf?view=diff&rev=529915&r1=529914&r2=529915
==============================================================================
Binary files - no diff available.
Modified: forrest/site/docs_0_70/howto/multi/step2.html
URL: http://svn.apache.org/viewvc/forrest/site/docs_0_70/howto/multi/step2.html?view=diff&rev=529915&r1=529914&r2=529915
==============================================================================
--- forrest/site/docs_0_70/howto/multi/step2.html (original)
+++ forrest/site/docs_0_70/howto/multi/step2.html Wed Apr 18 01:36:14 2007
@@ -3,7 +3,7 @@
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="Apache Forrest" name="Generator">
-<meta name="Forrest-version" content="0.8-dev">
+<meta name="Forrest-version" content="0.9-dev">
<meta name="Forrest-skin-name" content="pelt">
<title>Multi-page how-to: Step 2 (v0.7)</title>
<link type="text/css" href="../../../skin/basic.css" rel="stylesheet">
@@ -87,7 +87,7 @@
|start Subtabs
+-->
<div id="level2tabs">
-<a class="selected" href="../../../docs_0_70/index.html">0.70 (current)</a><a class="unselected" href="../../../docs_0_80/index.html">0.80-dev (under development)</a><a class="unselected" href="../../../docs_0_60/index.html">0.60 (past)</a>
+<a class="unselected" href="../../../docs_0_80/index.html">0.80 (current)</a><a class="unselected" href="../../../docs_0_90/index.html">0.90-dev (under development)</a><a class="selected" href="../../../docs_0_70/index.html">0.70 (past)</a>
</div>
<!--+
|end Endtabs
@@ -100,7 +100,7 @@
|breadtrail
+-->
<div class="breadtrail">
-
+
</div>
<!--+
@@ -283,7 +283,7 @@
</div>
<div id="credit">
<hr>
- This is documentation for current version v0.7
+ This is documentation for past version v0.7
(<a href="http://forrest.apache.org/versions/">More</a>)</div>
<div id="roundbottom">
<img style="display: none" class="corner" height="15" width="15" alt="" src="../../../skin/images/rc-b-l-15-1body-2menu-3menu.png"></div>
@@ -312,7 +312,7 @@
</div>
<h1>Multi-page how-to: Step 2</h1>
<div id="motd-area">
- This is documentation for current version v0.7
+ This is documentation for past version v0.7
(<a href="http://forrest.apache.org/versions/">More</a>)</div>
<div id="minitoc-area">
<ul class="minitoc">
@@ -334,11 +334,17 @@
<div class="section">
<a name="N10012"></a><a name="First+section+of+this+step"></a>
<h3 class="underlined_5">First section of this step</h3>
-<p>Description here.</p>
+<p>
+ Description here.
+ </p>
<a name="N1001C"></a><a name="Second+section+of+this+step"></a>
<h3 class="underlined_5">Second section of this step</h3>
-<p>Description here.</p>
-<p>Now we move on to <a href="step3.html">Step 3: Finish up</a>
+<p>
+ Description here.
+ </p>
+<p>
+ Now we move on to <a href="step3.html">Step 3: Finish up</a>
+
</p>
</div>
</div>
Modified: forrest/site/docs_0_70/howto/multi/step3.html
URL: http://svn.apache.org/viewvc/forrest/site/docs_0_70/howto/multi/step3.html?view=diff&rev=529915&r1=529914&r2=529915
==============================================================================
--- forrest/site/docs_0_70/howto/multi/step3.html (original)
+++ forrest/site/docs_0_70/howto/multi/step3.html Wed Apr 18 01:36:14 2007
@@ -3,7 +3,7 @@
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="Apache Forrest" name="Generator">
-<meta name="Forrest-version" content="0.8-dev">
+<meta name="Forrest-version" content="0.9-dev">
<meta name="Forrest-skin-name" content="pelt">
<title>Multi-page how-to: Step 3 (v0.7)</title>
<link type="text/css" href="../../../skin/basic.css" rel="stylesheet">
@@ -87,7 +87,7 @@
|start Subtabs
+-->
<div id="level2tabs">
-<a class="selected" href="../../../docs_0_70/index.html">0.70 (current)</a><a class="unselected" href="../../../docs_0_80/index.html">0.80-dev (under development)</a><a class="unselected" href="../../../docs_0_60/index.html">0.60 (past)</a>
+<a class="unselected" href="../../../docs_0_80/index.html">0.80 (current)</a><a class="unselected" href="../../../docs_0_90/index.html">0.90-dev (under development)</a><a class="selected" href="../../../docs_0_70/index.html">0.70 (past)</a>
</div>
<!--+
|end Endtabs
@@ -100,7 +100,7 @@
|breadtrail
+-->
<div class="breadtrail">
-
+
</div>
<!--+
@@ -283,7 +283,7 @@
</div>
<div id="credit">
<hr>
- This is documentation for current version v0.7
+ This is documentation for past version v0.7
(<a href="http://forrest.apache.org/versions/">More</a>)</div>
<div id="roundbottom">
<img style="display: none" class="corner" height="15" width="15" alt="" src="../../../skin/images/rc-b-l-15-1body-2menu-3menu.png"></div>
@@ -312,7 +312,7 @@
</div>
<h1>Multi-page how-to: Step 3</h1>
<div id="motd-area">
- This is documentation for current version v0.7
+ This is documentation for past version v0.7
(<a href="http://forrest.apache.org/versions/">More</a>)</div>
<div id="minitoc-area">
<ul class="minitoc">
@@ -334,12 +334,18 @@
<div class="section">
<a name="N10012"></a><a name="First+section+of+this+step"></a>
<h3 class="underlined_5">First section of this step</h3>
-<p>Description here.</p>
+<p>
+ Description here.
+ </p>
<a name="N1001C"></a><a name="Second+section+of+this+step"></a>
<h3 class="underlined_5">Second section of this step</h3>
-<p>Description here.</p>
-<p>Congratulations, you have finished. Now return to the
- <a href="howto-multi.html">start</a>.</p>
+<p>
+ Description here.
+ </p>
+<p>
+ Congratulations, you have finished. Now return to the
+ <a href="howto-multi.html">start</a>.
+ </p>
</div>
</div>
<!--+