Return-Path: Delivered-To: apmail-lenya-commits-archive@www.apache.org Received: (qmail 99335 invoked from network); 29 Aug 2008 10:34:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Aug 2008 10:34:33 -0000 Received: (qmail 7536 invoked by uid 500); 29 Aug 2008 10:34:32 -0000 Delivered-To: apmail-lenya-commits-archive@lenya.apache.org Received: (qmail 7482 invoked by uid 500); 29 Aug 2008 10:34:31 -0000 Mailing-List: contact commits-help@lenya.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lenya.apache.org Delivered-To: mailing list commits@lenya.apache.org Received: (qmail 7464 invoked by uid 99); 29 Aug 2008 10:34:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Aug 2008 03:34:31 -0700 X-ASF-Spam-Status: No, hits=-1997.6 required=10.0 tests=ALL_TRUSTED,NORMAL_HTTP_TO_IP,URIBL_RHS_DOB,WEIRD_PORT 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, 29 Aug 2008 10:33:29 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 3DF2D2388A07; Fri, 29 Aug 2008 03:34:00 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: svn commit: r690172 [4/5] - in /lenya/site: ./ community/ docu/ docu12x/components/ docu12x/components/a-management/ docu12x/components/accesscontrol/ docu12x/components/asset-management/ docu12x/components/authoring/ docu12x/components/deployment/ doc... Date: Fri, 29 Aug 2008 10:33:51 -0000 To: commits@lenya.apache.org From: andreas@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080829103400.3DF2D2388A07@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Modified: lenya/site/docu20/reference/resource-types.html URL: http://svn.apache.org/viewvc/lenya/site/docu20/reference/resource-types.html?rev=690172&r1=690171&r2=690172&view=diff ============================================================================== --- lenya/site/docu20/reference/resource-types.html (original) +++ lenya/site/docu20/reference/resource-types.html Fri Aug 29 03:33:46 2008 @@ -17,7 +17,7 @@

Built with Apache Lenya -

Resource Types

Introduction

@@ -42,7 +42,7 @@ It implements ThreadSafe, which ensures that only a single instance of every resource type is created. It is not possible to declare multiple resource types with the same name.

-
+

Choose a Unique Resource Type Name

You should choose a reasonable name for your resource type. @@ -50,7 +50,7 @@

note

In the examples, we use the name profile (page with information about a person).

-
+

Adding the Resource Type to a Publication

@@ -85,7 +85,7 @@

  • resource types of the publication itself.
  • -
    +

    Providing One or More Sample XML Documents

    If you want to enable users to create new resources belonging to @@ -133,7 +133,7 @@ <sample-name name="Example Profile" mime-type="application/xml"> fallback://lenya/modules/profile/samples/example.xml</sample-name> </samples> - +

    Providing an XML Structure Definition

    This step is only needed if you want to edit resources with Lenya @@ -150,7 +150,7 @@ of the file is arbitrary, but it is recommended to use the resource type name (e.g., profile.rng).

    -
    +

    Creating a Workflow Schema

    If your resources should have a workflow, you have to add a workflow @@ -177,7 +177,7 @@ <map:parameter name="Expires" value="{date-iso8601-rfc822:{doc-info:{pubId}:{area}:{uuid}:{language}:expires}}"/> </map:act> - +

    The Resource Type Definition

    To declare a custom resource type and assign the creator, schema etc. to it, @@ -216,7 +216,7 @@ <lenya-webapp>/WEB-INF/cocoon.xconf.

    -
    +

    I18n for the Resource Type Label

    There is a convention that the message key resourceType-{name} is used for a @@ -226,7 +226,7 @@ <catalogue xml:lang="en" xmlns:xhtml="http://www.w3.org/1999/xhtml"> <message key="resourceType-profile">Profile</message> </catalogue> - +

    Define a Custom Menubar

    If you want to use a custom menubar for your resource type, @@ -245,7 +245,7 @@ <i18n:param><i18n:text>resourceType-profile</i18n:text></i18n:param> </i18n:translate> </item> - +

    Formats

    @@ -367,7 +367,7 @@ - +

    Presentation

    Modified: lenya/site/docu20/reference/urls-and-links/link-management.html URL: http://svn.apache.org/viewvc/lenya/site/docu20/reference/urls-and-links/link-management.html?rev=690172&r1=690171&r2=690172&view=diff ============================================================================== --- lenya/site/docu20/reference/urls-and-links/link-management.html (original) +++ lenya/site/docu20/reference/urls-and-links/link-management.html Fri Aug 29 03:33:46 2008 @@ -17,7 +17,7 @@

    Built with Apache Lenya -

    Link Management

    Introduction

    Link Managements deals with internal links, i.e. documents @@ -32,7 +32,7 @@ links don't have to be rewritten when a document is moved in the site structure.

    -
    +

    Syntax for Internal Links

    @@ -75,7 +75,7 @@

  • lenya-document:031b21e0-d898-11db-b5f3-e5afac0e35a0?lenya.usecase=bxe.edit - HTML link with request parameter
  • -
    +

    Specifying the Resource Type Format

    Sometimes you want to specify the format of the link target. This can be done using the @@ -102,7 +102,7 @@

    <map:transform type="cinclude"/>

    the teaser version of each document will be included.

    -
    +

    Converting UUID-based URLs to Web Application URLs

    The UuidToUrlTransformer is responsible for translating lenya-document: @@ -123,7 +123,7 @@

    <a href="/default/authoring/news.html">News</a>
    -
    +

    Specifying an Extension

    The UuidToUrlTransformer recognizes the query string parameter @@ -136,10 +136,10 @@

    <a type="application/rss+xhtml" href="/default/authoring/news.rss">RSS Feed</a>
    -
    +

    Converting Web Application Links to Servlet Container or Proxy Links

    -
    +

    The Proxy Transformer

    The ProxyTransformer converts all web application links to final links @@ -184,7 +184,7 @@ <transform namespace="http://relaxng.org/ns/structure/1.0" element="include" attribute="href"/> </map:transformer> - +

    The Proxy Input Module

    The ProxyModule provides the same functionality in sitemaps. @@ -193,7 +193,7 @@

    <map:parameter name="url" value="{proxy:/default/authoring/news.html}"/>
    -
    +

    Generating Relative URLs

    In some cases it is convenient to use relative URLs in HTML links. This is especially @@ -223,7 +223,7 @@ an option to pass a parameter yet.

    -
    +

    URLs in CSS Files

    URLs in CSS files are converted Modified: lenya/site/docu20/reference/urls-and-links/urlMapping.html URL: http://svn.apache.org/viewvc/lenya/site/docu20/reference/urls-and-links/urlMapping.html?rev=690172&r1=690171&r2=690172&view=diff ============================================================================== --- lenya/site/docu20/reference/urls-and-links/urlMapping.html (original) +++ lenya/site/docu20/reference/urls-and-links/urlMapping.html Fri Aug 29 03:33:46 2008 @@ -17,7 +17,7 @@

    Built with Apache Lenya -

    Mapping URLs to Documents

    Table of Contents
    +

    The blog Module

    Table of Contents
    +

    The bxe Module

    Table of Contents
    +

    The cforms Module

    Table of Contents
    +

    The Collection Module

    Introduction

    The collection module provides a resource type and a document wrapper class to use a document as a list of references to other documents. Typical examples are category pages, dossiers, etc.

    -
    +

    Collection Types

    Collections can either be static, which means that the reference list is stored @@ -38,7 +38,7 @@

  • children
  • link
  • -
    +

    Static Collections (Type "manual")

    This is the default type which is used when no type attribute @@ -54,7 +54,7 @@ ... </collection> - +

    Dynamic Collections (Type "children")

    Collections of the type children assemble the document list @@ -71,7 +71,7 @@ when the collection format is requested.

    -
    +

    Syndicated Collections (Type "link")

    You can use an external resource to provide the contents of the collection. @@ -91,7 +91,7 @@ a valid collection document, wrapping the feed items in <col:document> elements.

    -
    +

    Resource Type Formats

    At the moment, only the collection format is supported. @@ -99,7 +99,7 @@ For dynamic collections, the list of documents is inserted. Check out the example below for a usage scenario.

    -
    +

    Example: CInclude

    The collection module provides an XSLT stylesheet (collection2cinclude.xsl) @@ -122,7 +122,7 @@ <map:transform type="cinclude"/> ... </map:match> - +

    The CollectionWrapper Class

    The CollectionWrapper class allows to manipulate collections Modified: lenya/site/docu20/standardmodules/contactformmodulesection/contactformmoduleoverview.html URL: http://svn.apache.org/viewvc/lenya/site/docu20/standardmodules/contactformmodulesection/contactformmoduleoverview.html?rev=690172&r1=690171&r2=690172&view=diff ============================================================================== --- lenya/site/docu20/standardmodules/contactformmodulesection/contactformmoduleoverview.html (original) +++ lenya/site/docu20/standardmodules/contactformmodulesection/contactformmoduleoverview.html Fri Aug 29 03:33:46 2008 @@ -17,7 +17,7 @@

    Built with Apache Lenya -

    The contactform Module

    Table of Contents
    +

    The development Module

    Table of Contents
    +

    The editors Module

    Table of Contents
    +

    The export Module

    Table of Contents
    +

    The FCKeditor Module

    Table of Contents
    +

    The kupu Module

    Table of Contents
    +

    The languageselector Module

    Table of Contents
    +

    The lenyadoc Module

    Table of Contents
    +

    The linkcheck Module

    Table of Contents
    +

    The links Module

    Table of Contents
    +

    The migration Module

    Table of Contents
    +

    The neutron Module

    Table of Contents
    +

    The News Feed Module

    Table of Contents
    +

    The opendocument Module

    Table of Contents
    +

    The prettyprinting Module

    Table of Contents
    +

    The profiling Module

    Table of Contents
    +

    The resource Module

    Table of Contents
    +

    The simplesite Module

    Table of Contents
    +

    The sourcerepository Module

    Table of Contents
    +

    SVG Module: Rounded Corners

    Table of Contents

    In this document we show an example how to use the SVG module to create rounded corners in a +

    SVG Module: Resizing Images

    Table of Contents
    +

    The UsecaseDocument Module

    Table of Contents
    +

    Monitoring and PROPFIND

    Table of Contents
    +

    WebDAV quick start

    Table of Contents
    +

    WebDAV quick start

    Introduction

    The WebDAV module is right now in rapid development to overcome some limitations. More documentation in progress can be found at the Lenya wiki webDAV page

    - +

    Linux

    To get started with WebDAV editing under linux you need to install a WebDAV client such as cadaver.

    - +

    Cadaver - command line

    Most distributions offer a packaged version of cadaver.

    After having cadaver installed open a shell of your choice and type Modified: lenya/site/docu20/standardmodules/webdavmodulesection/webdavserver.html URL: http://svn.apache.org/viewvc/lenya/site/docu20/standardmodules/webdavmodulesection/webdavserver.html?rev=690172&r1=690171&r2=690172&view=diff ============================================================================== --- lenya/site/docu20/standardmodules/webdavmodulesection/webdavserver.html (original) +++ lenya/site/docu20/standardmodules/webdavmodulesection/webdavserver.html Fri Aug 29 03:33:46 2008 @@ -17,7 +17,7 @@

    Built with Apache Lenya -

    WebDAV Servers

    Table of Contents
    +

    WebDAV Servers

    Apache 1

    Download the Apache Web Server and WebDAV module source code from the Apache website, e.g. apache_1.3.24.tar.gz and @@ -57,7 +57,7 @@ Apache and DAV with LDAP and SSL - +

    Apache 2

    Download the Apache Web Server source code from the Apache website, e.g. httpd-2.0.46.tar.gz. The mod_dav module is inlcuded @@ -91,7 +91,7 @@ Apache and DAV - +

    Tomcat

    Point your WebDAV client to http://127.0.0.1:8080/webdav/. The webdav context is DAV @@ -105,16 +105,6 @@ <param-value>false</param-value> </init-param> - -

    Apache Jakarta Slide

    -

    Point your WebDAV client to - http://127.0.0.1:8080/slide/. One needs to configure - Domain.xml

    -
     
    -<contentstore classname="slidestore.reference.FileContentStore">
    -  <parameter name="rootpath">/usr/local/jakarta-tomcat-4.1.21-LE-jdk14/webapps/lenya/lenya/pubs/notimes/content/authoring/articles</parameter>
    -  ...
    - 

    The xhtml Module

    Table of Contents
    +

    The xopus Module

    Table of Contents
    +

    Best Practises when Developing with Lenya 2.0

    Table of Contents
    +

    Creating a New Publication

    Introduction

    In this tutorial, we guide you through the first steps on the @@ -25,7 +25,7 @@ based on Lenya's default publication, at least until your standing firmly on your own feet.

    -
    +

    Prerequisites

    We'll use the following directory layout: @@ -62,7 +62,7 @@ to Eclipse as well so you can easily use it's API.

    -
    +

    Telling Lenya about Your Publication

    First, we have to tell Lenya that you want to deploy your publication. @@ -74,7 +74,7 @@ If you add multiple publications to this directory, Lenya will detect them automatically.

    -
    +

    Basic Configuration

    Now it's time to add the main configuration file of your publication, @@ -114,7 +114,7 @@ <proxies/> </publication> - +

    Access Control Configuration

    The access control options are configured in @@ -206,7 +206,7 @@ <role id="admin" method="grant"/> </group> </policy> - +

    Configuring the Search Index

    It is necessary to configure the search indexes for each publication. @@ -258,7 +258,7 @@ </structure> </index> </indexes> - +

    Deploying Your Publication

    To deploy your publication, open a shell, go to the directory $LENYA_HOME @@ -298,7 +298,7 @@ data/content directory. Lenya should have created an authoring directory with some content in it.

    -
    +

    Next Steps

    Now you can go on with customizing your publication: Modified: lenya/site/docu20/tutorials/newResourceType/newResourceTypePart1.html URL: http://svn.apache.org/viewvc/lenya/site/docu20/tutorials/newResourceType/newResourceTypePart1.html?rev=690172&r1=690171&r2=690172&view=diff ============================================================================== --- lenya/site/docu20/tutorials/newResourceType/newResourceTypePart1.html (original) +++ lenya/site/docu20/tutorials/newResourceType/newResourceTypePart1.html Fri Aug 29 03:33:46 2008 @@ -17,7 +17,7 @@

    Built with Apache Lenya -

    Creating a Resource Type, Part 1: Prerequisites and Declaration

    Table of Contents

    +

    Creating a Resource Type, Part 1: Prerequisites and Declaration

    Table of Contents

    This section explains how to create a new resource type. For more information on resource types, refer to the resource types reference. For the sake of simplicity, we'll test the resource type with the default publication. @@ -32,7 +32,7 @@

    You can checkout the source code of this example from the Subversion repository at the URL http://svn.apache.org/repos/asf/lenya/sandbox/modules/person. -

    +

    Prerequisites

    We'll use the following directory layout: @@ -45,7 +45,7 @@ modules/ Our modules. person/ Our "person" resource type module ($MODULE_HOME). - +

    Adding a Module

    We'll add a module which will contain the resource type. This makes it @@ -103,7 +103,7 @@ publication.xml:

    <resource-type name="person" workflow="fallback://config/workflow/workflow.xml"/>
    -
    +

    Declaring the Resource Type

    To let Lenya know that a new resource type exists, we'll add the @@ -147,7 +147,7 @@

    In the next section we'll setup the creation of person documents.

    - +

    Adding I18n Messages for the Resource Type Name

    Now we'll provide i18n messages for each Modified: lenya/site/docu20/tutorials/newResourceType/newResourceTypePart2.html URL: http://svn.apache.org/viewvc/lenya/site/docu20/tutorials/newResourceType/newResourceTypePart2.html?rev=690172&r1=690171&r2=690172&view=diff ============================================================================== --- lenya/site/docu20/tutorials/newResourceType/newResourceTypePart2.html (original) +++ lenya/site/docu20/tutorials/newResourceType/newResourceTypePart2.html Fri Aug 29 03:33:46 2008 @@ -16,8 +16,8 @@ ApacheCon US 2008

    - Built with Apache Lenya -

    Creating a Resource Type, Part 2: Creating Documents

    Table of Contents
    + Built with Apache Lenya +

    Creating a Resource Type, Part 3: Presentation

    Table of Contents
    +

    Creating a Resource Type, Part 4: Editing

    Table of Contents

    +

    Production Checklist

    Table of Contents

    Here's a list of points you should take care of when running Lenya in a production environment. It covers only the most obvious aspects, but it might prevent you from falling in the biggest traps in first real-world project. -

    +

    General Deployment Recommendations

    • @@ -50,7 +50,7 @@ deploy an un-tagged development version.
    -
    +

    During Development

    • @@ -70,7 +70,7 @@ parameters).
    -
    +

    Preparation (Internal Pilot Phase)

    Set the log level to ERROR in @@ -97,7 +97,7 @@ <property name="debug" value="off"/> - +

    Caching in Cocoon

    There's a great @@ -141,7 +141,7 @@ if it is idle for more than 30 minutes and lives for more than 60 minutes. If there are more than 10000 elements it will overflow to the disk cache.

    - +

    Performance Tuning

    The following hints can be considered to improve the performance of your application: @@ -180,7 +180,7 @@ You might want to disable the transformation for maximum speed:

    <map:transform src="fallback://lenya/modules/prettyprinting/xslt/xml2nicexml.xsl"/>
    -
    +

    General Measures for Production

    • @@ -219,7 +219,7 @@ exported version of the site ready.
    -
    +

    Cosmetics

    In order to hide the default publication from the welcome page Modified: lenya/site/docu20/tutorials/proxy/modproxy14.html URL: http://svn.apache.org/viewvc/lenya/site/docu20/tutorials/proxy/modproxy14.html?rev=690172&r1=690171&r2=690172&view=diff ============================================================================== --- lenya/site/docu20/tutorials/proxy/modproxy14.html (original) +++ lenya/site/docu20/tutorials/proxy/modproxy14.html Fri Aug 29 03:33:46 2008 @@ -17,7 +17,7 @@

    Built with Apache Lenya -

    Running Lenya Behind Apache with mod_proxy

    Table of Contents
    +