Author: thorsten
Date: Thu Aug 23 02:51:17 2007
New Revision: 568911
URL: http://svn.apache.org/viewvc?rev=568911&view=rev
Log:
Adding documentation about the properties module
Modified:
lenya/docu/src/documentation/content/xdocs/docs/modules/properties/index.xml
Modified: lenya/docu/src/documentation/content/xdocs/docs/modules/properties/index.xml
URL: http://svn.apache.org/viewvc/lenya/docu/src/documentation/content/xdocs/docs/modules/properties/index.xml?rev=568911&r1=568910&r2=568911&view=diff
==============================================================================
--- lenya/docu/src/documentation/content/xdocs/docs/modules/properties/index.xml (original)
+++ lenya/docu/src/documentation/content/xdocs/docs/modules/properties/index.xml Thu Aug 23 02:51:17 2007
@@ -27,11 +27,17 @@
<section>
<title>Introduction</title>
<p>
- The <code>properties</code> module provides a service to configure
+ The <code>properties</code> module provides a service (InputModule) to configure
publications using properties. The idea is to have a fallback of properties.
</p>
</section>
<section>
+ <title>Sample</title>
+ <source><![CDATA[<properties>
+ <property name="pubs.default.author" value="Miguel de Cervantes Saavedra"/>
+</properties>]]></source>
+ </section>
+ <section>
<title>Order of precedence</title>
<note>The first values set get precedence, as in AntProperties</note>
<ol>
@@ -52,6 +58,13 @@
</section>
<section>
<title>Usage</title>
+ <p>To activate your properties you need to save the above sample file in one of the above locations.</p>
+ <ol>
+ <li>Publication - on a publication level you are able to implement all properties and override all possible default ones.</li>
+ <li>Lenya local - use this for global properties for all your lenya based pubs</li>
+ <li>Modules - modules can use properties to allow user to override module specific properties.</li>
+ <li>Lenya - global default properties</li>
+ </ol>
<section>
<title>sitemap.xmap</title>
<p>Since the properties module is a cocoon input module, you can use it as any other
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.