Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/resource/0006/en/1190179913953.xml
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/resource/0006/en/1190179913953.xml?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/resource/0006/en/1190179913953.xml (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/resource/0006/en/1190179913953.xml Wed Sep 19 00:09:42 2007
@@ -0,0 +1,149 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<html xmlns="http://www.w3.org/1999/xhtml" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:lenya="http://apache.org/cocoon/lenya/page-envelope/1.0" xmlns:xhtml="http://www.w3.org/1999/xhtml" dc:dummy="FIXME:keepNamespace" dcterms:dummy="FIXME:keepNamespace" lenya:dummy="FIXME:keepNamespace" title="Tutorial" xhtml:dummy="FIXME:keepNamespace">
+
+<!--
+ Copyright 1999-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<!-- $Id: index_en.xml 149362 2005-02-01 03:33:00Z gregor $ -->
+ <lenya:meta>
+<dc:title>A Short Lenya Tutorial</dc:title>
+<dc:creator>Lenya Development Team</dc:creator>
+<dc:subject>Lenya Tutorial</dc:subject>
+<dc:description>A short tutorial on Lenya usage</dc:description>
+<dc:publisher>alice|Alice|[email protected]</dc:publisher>
+<dc:contributor/>
+<dc:date>2005-01-31</dc:date>
+<dc:type/>
+<dc:format/>
+<dc:identifier/>
+<dc:source/>
+<dc:language>en</dc:language>
+<dc:relation/>
+<dc:coverage/>
+<dc:rights>All rights reserved</dc:rights>
+<dcterms:issued>2007-09-19 01:31:53</dcterms:issued>
+<dcterms:modified>2007-09-19 01:31:53</dcterms:modified>
+</lenya:meta>
+ <head>
+ <title>Lenya Tutorial</title>
+ </head>
+ <body>
+ <h1>Tutorial</h1>
+
+ <p>This tutorial gives you a short introduction into the Apache
+ Lenya content management system. We'll look at a typical use case
+ where we create a new document, edit and publish it.</p>
+
+ <h2>Creating a new document</h2>
+
+ <p>To create a new document goto the <code>File->New
+ Document</code> menu entry. You'll get a new screen that asks you
+ for an id and a name for this new document. The id will be used
+ internally as an identifier for the document and the name will be
+ used in the navigation. Let's use "foo" as id and "Foo" as the
+ name of the new document. Now press <code>Create</code>. You will
+ be redirected back to the page where you originally invoked the
+ creation and you'll notice that the new document "Foo" now shows
+ up as a sub-document of the Tutorial document in the
+ navigation.</p>
+
+ <p>This illustrates the fact that a new document is always created
+ as a sub-document of the document you're currently looking at. You
+ also notice how the navigation is built automatically.</p>
+
+ <h2>Editing a document</h2>
+
+ <p>To look at the newly created document click on the "Foo" entry
+ in the navigation. You'll notice that the "Foo" document already
+ contains some content. It was created from a sample XML
+ document. To change this sample content you will have to edit the
+ document. You can pick on of the following web-based WYSIWYG
+ editors:</p>
+
+ <ul>
+ <li>HTML Forms: This is a good choice for users of Mosaic ;-)</li>
+ <li>Bitflux: This is a good choice for users of Mozilla.</li>
+ <li>One Form: For the power user who needs all the control</li>
+ </ul>
+
+ <p>Pick your choice of editor (based on your platform) and start
+ editing the newly created document by selecting the
+ <code>Edit->Edit with BXE</code> menu button. The Lenya menu will
+ disappear and the Bitflux toolbar will appear instead. You can use
+ the left mouse button to get a context sensitive menu from where
+ you can copy, cut and paste. You're also able to insert new
+ elements into the document from the context sensitive menu. Once
+ you're done with all your changes, press
+ <code>Save&Exit</code> to get back. You'll see your changes in
+ the document.</p>
+
+ <h2>Publishing a document</h2>
+
+ <p>Once you are satisfied with the content of the document you
+ want to publish it to make it visible in the live area.</p>
+
+ <h3>Workflow</h3>
+
+ <p>The default publication has a simple workflow configured which
+ involves an author and a reviewer. The author creates and edits a
+ new document and submits it for approval. The reviewer (obviously
+ :-)) reviews the document and publishes it so that it will appear
+ on the live site.
+
+ The user lenya (which you are probably currently logged in as) has
+ the role edit, i.e. he can create new documents and submit them
+ for approval (with <code>Workflow->Submit for review</code>). The
+ user alice has the role review which allows her to approve,
+ i.e. publish documents.</p>
+
+ <p>In order to publish your newly created document simply press
+ <code>Workflow->Sumbit</code> (as user lenya) to submit the
+ current document for approval. Now log out
+ (<code>File->Logout</code>), log back in as alice (use the same
+ password as for user lenya) and publish the current document by
+ selecting <code>Workflow->Publish</code>. You will get a
+ confirmation screen where you confirm your intention to publish
+ the document "Foo" by pressing <code>Publish Now</code>. You might
+ have to publish the parent document ("Tutorial") first, as the
+ "Foo" document will not be published if the parent document is not
+ in the live area yet.</p> <p>To check how the "Foo" document looks
+ like in the live site click on the <code>live</code> tab in the
+ Lenya menu. This will open a new browser window showing you the
+ live site.</p>
+
+ <h2>Scheduling</h2>
+
+ <p>Apache Lenya allows you to publish a document at a specific
+ date. To do this select the <code>Workflow->Publish</code> menu
+ entry. Now instead of pressing <code>Publish</code>, specify the
+ date and the time at which you wish to publish the document and
+ press <code>Schedule</code>. Your document will be published at
+ the specified date. Use the <code>Scheduler</code> tab in the site
+ area to see the pending tasks and their status.</p>
+
+ <h2>Revision Control</h2>
+
+ <p>Every time you edit a document and exit the editor a new
+ revision of the document is stored. Old versions of the document
+ are kept and you can go back to an older version if you want to
+ undo some of the changes you applied to it. To see all available
+ versions of the current document press
+ <code>Tools->Rollback</code>. This will give you a list of all
+ previous versions. You can view a specific old version or rollback
+ to a specific old version by clicking on the appropriate links.</p>
+
+ </body>
+</html>
Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/resource/0006/en/translation.xml
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/resource/0006/en/translation.xml?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/resource/0006/en/translation.xml (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/resource/0006/en/translation.xml Wed Sep 19 00:09:42 2007
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<translation edit="1190179913953" language="en" live="1190179913953" xmlns=""/>
Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/resource/0006/resource.xml
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/resource/0006/resource.xml?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/resource/0006/resource.xml (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/resource/0006/resource.xml Wed Sep 19 00:09:42 2007
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<resource defaultlanguage="en" doctype="xhtml" id="tutorial" type="xml" unid="0006" xmlns=""/>
Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/resource/0007/en/1189740862984.xml
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/resource/0007/en/1189740862984.xml?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/resource/0007/en/1189740862984.xml (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/resource/0007/en/1189740862984.xml Wed Sep 19 00:09:42 2007
@@ -0,0 +1,83 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<html xmlns="http://www.w3.org/1999/xhtml" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:lenya="http://apache.org/cocoon/lenya/page-envelope/1.0" xmlns:xhtml="http://www.w3.org/1999/xhtml" dc:dummy="FIXME:keepNamespace" dcterms:dummy="FIXME:keepNamespace" lenya:dummy="FIXME:keepNamespace" title="Create new doctype" xhtml:dummy="FIXME:keepNamespace">
+
+<!--
+ Copyright 1999-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<!-- $Id: index_en.xml 149362 2005-02-01 03:33:00Z gregor $ -->
+ <lenya:meta>
+ <dc:title>How to create a new doctype</dc:title>
+ <dc:creator>Lenya Development Team</dc:creator>
+ <dc:subject>Doctype creation</dc:subject>
+ <dc:description>Explains how to create a new doctype</dc:description>
+ <dc:publisher>Apache Software Foundation</dc:publisher>
+ <dc:contributor/>
+ <dc:date>2005-01-31</dc:date>
+ <dc:type/>
+ <dc:format/>
+ <dc:identifier/>
+ <dc:source/>
+ <dc:language>en</dc:language>
+ <dc:relation/>
+ <dc:coverage/>
+ <dc:rights>All rights reserved</dc:rights>
+ </lenya:meta>
+ <head>
+ <title>Lenya Tutorial - How to create a new doctype</title>
+ </head>
+ <body>
+ <h1>Lenya Tutorial - How to create a new doctype</h1>
+
+ <p>NOTE: Also see the <a href="http://wiki.cocoondev.org/Wiki.jsp?page=LenyaAddingCustomDocType">Wiki</a>
+</p>
+
+ <h2>The standard way</h2>
+
+ <p>
+ Add a link where people can click on: <em>config/menus/menu.xsp</em>
+ </p>
+
+ <p>
+ Create a usecase sitemap where the "flow" is defined: <em>usecase-create-my_doctype.xmap</em>
+ </p>
+
+ <p>
+ Define what class shall be used for the actual creation: <em>config/doctypes/doctypes.xconf</em>
+ </p>
+
+ <p>
+ In many cases a new document is created based on a sample: <em>config/doctypes/samples/my_doctype.xml</em>
+ The name of the sample needs to be configured within <em>config/doctypes/doctypes.xconf</em>
+ </p>
+
+ <p>
+ Add doctype such that XSLT can be found: <em>parameter-doctype.xmap</em>
+ </p>
+
+ <p>
+ Create XSLT: <em>xslt/my_doctype2xhtml.xsl</em>
+ </p>
+
+ <p>
+ OPTIONAL: Create new menu: <em>menus.xmap</em>, <em>config/menus/my_doctype.xsp</em>
+ </p>
+
+ <p>
+ Create workflow: <em>config/workflow/my_doctype.xml</em>, <em>config/doctypes/doctypes.xconf</em>
+ </p>
+
+ </body>
+</html>
Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/resource/0007/en/1190179920515.xml
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/resource/0007/en/1190179920515.xml?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/resource/0007/en/1190179920515.xml (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/resource/0007/en/1190179920515.xml Wed Sep 19 00:09:42 2007
@@ -0,0 +1,85 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<html xmlns="http://www.w3.org/1999/xhtml" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:lenya="http://apache.org/cocoon/lenya/page-envelope/1.0" xmlns:xhtml="http://www.w3.org/1999/xhtml" dc:dummy="FIXME:keepNamespace" dcterms:dummy="FIXME:keepNamespace" lenya:dummy="FIXME:keepNamespace" title="Create new doctype" xhtml:dummy="FIXME:keepNamespace">
+
+<!--
+ Copyright 1999-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<!-- $Id: index_en.xml 149362 2005-02-01 03:33:00Z gregor $ -->
+ <lenya:meta>
+<dc:title>How to create a new doctype</dc:title>
+<dc:creator>Lenya Development Team</dc:creator>
+<dc:subject>Doctype creation</dc:subject>
+<dc:description>Explains how to create a new doctype</dc:description>
+<dc:publisher>alice|Alice|[email protected]</dc:publisher>
+<dc:contributor/>
+<dc:date>2005-01-31</dc:date>
+<dc:type/>
+<dc:format/>
+<dc:identifier/>
+<dc:source/>
+<dc:language>en</dc:language>
+<dc:relation/>
+<dc:coverage/>
+<dc:rights>All rights reserved</dc:rights>
+<dcterms:issued>2007-09-19 01:32:00</dcterms:issued>
+<dcterms:modified>2007-09-19 01:32:00</dcterms:modified>
+</lenya:meta>
+ <head>
+ <title>Lenya Tutorial - How to create a new doctype</title>
+ </head>
+ <body>
+ <h1>Lenya Tutorial - How to create a new doctype</h1>
+
+ <p>NOTE: Also see the <a href="http://wiki.cocoondev.org/Wiki.jsp?page=LenyaAddingCustomDocType">Wiki</a>
+</p>
+
+ <h2>The standard way</h2>
+
+ <p>
+ Add a link where people can click on: <em>config/menus/menu.xsp</em>
+ </p>
+
+ <p>
+ Create a usecase sitemap where the "flow" is defined: <em>usecase-create-my_doctype.xmap</em>
+ </p>
+
+ <p>
+ Define what class shall be used for the actual creation: <em>config/doctypes/doctypes.xconf</em>
+ </p>
+
+ <p>
+ In many cases a new document is created based on a sample: <em>config/doctypes/samples/my_doctype.xml</em>
+ The name of the sample needs to be configured within <em>config/doctypes/doctypes.xconf</em>
+ </p>
+
+ <p>
+ Add doctype such that XSLT can be found: <em>parameter-doctype.xmap</em>
+ </p>
+
+ <p>
+ Create XSLT: <em>xslt/my_doctype2xhtml.xsl</em>
+ </p>
+
+ <p>
+ OPTIONAL: Create new menu: <em>menus.xmap</em>, <em>config/menus/my_doctype.xsp</em>
+ </p>
+
+ <p>
+ Create workflow: <em>config/workflow/my_doctype.xml</em>, <em>config/doctypes/doctypes.xconf</em>
+ </p>
+
+ </body>
+</html>
Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/resource/0007/en/translation.xml
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/resource/0007/en/translation.xml?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/resource/0007/en/translation.xml (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/resource/0007/en/translation.xml Wed Sep 19 00:09:42 2007
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<translation edit="1190179920515" language="en" live="1190179920515" xmlns=""/>
Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/resource/0007/resource.xml
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/resource/0007/resource.xml?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/resource/0007/resource.xml (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/resource/0007/resource.xml Wed Sep 19 00:09:42 2007
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<resource defaultlanguage="en" doctype="xhtml" id="new_doctype" type="xml" unid="0007" xmlns=""/>
Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/trash/sitetree.xml
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/trash/sitetree.xml?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/trash/sitetree.xml (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/trash/sitetree.xml Wed Sep 19 00:09:42 2007
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 1999-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<!-- $Id: sitetree.xml 413285 2006-06-10 11:10:23Z thorsten $ -->
+
+<site i18n:attr="label" label="Trash"
+ xmlns="http://apache.org/cocoon/lenya/sitetree/1.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:i18n="http://apache.org/cocoon/i18n/2.1"
+>
+</site>
Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/workflow/history/authoring/concepts/index_de.xml
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/workflow/history/authoring/concepts/index_de.xml?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/workflow/history/authoring/concepts/index_de.xml (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/workflow/history/authoring/concepts/index_de.xml Wed Sep 19 00:09:42 2007
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 1999-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<!-- $Id: index_de.xml 156384 2005-03-07 03:27:55Z gregor $ -->
+
+<wf:history xmlns:wf="http://apache.org/cocoon/lenya/workflow/1.0" workflow="workflow.xml">
+<wf:version date="2003-10-23 15:03:10" state="authoring">
+<wf:identity>
+<wf:user id="lenya"/>
+<wf:machine ip-address="127.0.0.1"/>
+</wf:identity>
+</wf:version>
+</wf:history>
Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/workflow/history/authoring/concepts/index_en.xml
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/workflow/history/authoring/concepts/index_en.xml?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/workflow/history/authoring/concepts/index_en.xml (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/workflow/history/authoring/concepts/index_en.xml Wed Sep 19 00:09:42 2007
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 1999-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<!-- $Id: index_en.xml 156384 2005-03-07 03:27:55Z gregor $ -->
+<wf:history xmlns:wf="http://apache.org/cocoon/lenya/workflow/1.0" workflow="workflow.xml">
+<wf:version date="2003-10-23 15:04:49" state="authoring">
+<wf:identity>
+<wf:user id="lenya"/>
+<wf:machine ip-address="127.0.0.1"/>
+</wf:identity>
+</wf:version>
+<wf:version date="2007-09-19 01:30:48" event="submit" state="review">
+<wf:identity>
+<wf:user id="lenya"/>
+<wf:machine ip-address="127.0.0.1"/>
+</wf:identity>
+</wf:version>
+<wf:variable name="is_live" value="true"/>
+<wf:version date="2007-09-19 01:32:06" event="publish" state="live">
+<wf:identity>
+<wf:user id="alice"/>
+<wf:machine ip-address="127.0.0.1"/>
+</wf:identity>
+</wf:version>
+</wf:history>
Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/workflow/history/authoring/doctypes/index_de.xml
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/workflow/history/authoring/doctypes/index_de.xml?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/workflow/history/authoring/doctypes/index_de.xml (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/workflow/history/authoring/doctypes/index_de.xml Wed Sep 19 00:09:42 2007
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 1999-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<!-- $Id: index_de.xml 156384 2005-03-07 03:27:55Z gregor $ -->
+
+<wf:history xmlns:wf="http://apache.org/cocoon/lenya/workflow/1.0" workflow="workflow.xml">
+<wf:version date="2003-10-23 15:03:10" state="authoring">
+<wf:identity>
+<wf:user id="lenya"/>
+<wf:machine ip-address="127.0.0.1"/>
+</wf:identity>
+</wf:version>
+</wf:history>
Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/workflow/history/authoring/doctypes/index_en.xml
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/workflow/history/authoring/doctypes/index_en.xml?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/workflow/history/authoring/doctypes/index_en.xml (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/workflow/history/authoring/doctypes/index_en.xml Wed Sep 19 00:09:42 2007
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 1999-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<!-- $Id: index_en.xml 156384 2005-03-07 03:27:55Z gregor $ -->
+<wf:history xmlns:wf="http://apache.org/cocoon/lenya/workflow/1.0" workflow="workflow.xml">
+<wf:version date="2003-10-23 15:05:21" state="authoring">
+<wf:identity>
+<wf:user id="lenya"/>
+<wf:machine ip-address="127.0.0.1"/>
+</wf:identity>
+</wf:version>
+<wf:version date="2007-09-19 01:30:59" event="submit" state="review">
+<wf:identity>
+<wf:user id="lenya"/>
+<wf:machine ip-address="127.0.0.1"/>
+</wf:identity>
+</wf:version>
+<wf:variable name="is_live" value="true"/>
+<wf:version date="2007-09-19 01:32:19" event="publish" state="live">
+<wf:identity>
+<wf:user id="alice"/>
+<wf:machine ip-address="127.0.0.1"/>
+</wf:identity>
+</wf:version>
+</wf:history>
Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/workflow/history/authoring/doctypes/simple-document/index_de.xml
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/workflow/history/authoring/doctypes/simple-document/index_de.xml?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/workflow/history/authoring/doctypes/simple-document/index_de.xml (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/workflow/history/authoring/doctypes/simple-document/index_de.xml Wed Sep 19 00:09:42 2007
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 1999-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<!-- $Id: index_de.xml 156384 2005-03-07 03:27:55Z gregor $ -->
+
+<wf:history xmlns:wf="http://apache.org/cocoon/lenya/workflow/1.0" workflow="workflow.xml">
+<wf:version date="2003-10-23 15:03:10" state="authoring">
+<wf:identity>
+<wf:user id="lenya"/>
+<wf:machine ip-address="127.0.0.1"/>
+</wf:identity>
+</wf:version>
+</wf:history>
Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/workflow/history/authoring/doctypes/simple-document/index_en.xml
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/workflow/history/authoring/doctypes/simple-document/index_en.xml?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/workflow/history/authoring/doctypes/simple-document/index_en.xml (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/workflow/history/authoring/doctypes/simple-document/index_en.xml Wed Sep 19 00:09:42 2007
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 1999-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<!-- $Id: index_en.xml 156384 2005-03-07 03:27:55Z gregor $ -->
+
+<wf:history xmlns:wf="http://apache.org/cocoon/lenya/workflow/1.0" workflow="workflow.xml">
+<wf:version date="2003-10-23 15:05:31" state="authoring">
+<wf:identity>
+<wf:user id="lenya"/>
+<wf:machine ip-address="127.0.0.1"/>
+</wf:identity>
+</wf:version>
+</wf:history>
Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/workflow/history/authoring/doctypes/xhtml-document/index_de.xml
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/workflow/history/authoring/doctypes/xhtml-document/index_de.xml?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/workflow/history/authoring/doctypes/xhtml-document/index_de.xml (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/workflow/history/authoring/doctypes/xhtml-document/index_de.xml Wed Sep 19 00:09:42 2007
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 1999-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<!-- $Id: index_de.xml 156384 2005-03-07 03:27:55Z gregor $ -->
+
+<wf:history xmlns:wf="http://apache.org/cocoon/lenya/workflow/1.0" workflow="workflow.xml">
+<wf:version date="2003-10-23 15:03:10" state="authoring">
+<wf:identity>
+<wf:user id="lenya"/>
+<wf:machine ip-address="127.0.0.1"/>
+</wf:identity>
+</wf:version>
+</wf:history>
Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/workflow/history/authoring/doctypes/xhtml-document/index_en.xml
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/workflow/history/authoring/doctypes/xhtml-document/index_en.xml?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/workflow/history/authoring/doctypes/xhtml-document/index_en.xml (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/workflow/history/authoring/doctypes/xhtml-document/index_en.xml Wed Sep 19 00:09:42 2007
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 1999-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<!-- $Id: index_en.xml 156384 2005-03-07 03:27:55Z gregor $ -->
+<wf:history xmlns:wf="http://apache.org/cocoon/lenya/workflow/1.0" workflow="workflow.xml">
+<wf:version date="2003-10-23 15:05:48" state="authoring">
+<wf:identity>
+<wf:user id="lenya"/>
+<wf:machine ip-address="127.0.0.1"/>
+</wf:identity>
+</wf:version>
+<wf:version date="2007-09-19 01:31:11" event="submit" state="review">
+<wf:identity>
+<wf:user id="lenya"/>
+<wf:machine ip-address="127.0.0.1"/>
+</wf:identity>
+</wf:version>
+<wf:variable name="is_live" value="true"/>
+<wf:version date="2007-09-19 01:32:26" event="publish" state="live">
+<wf:identity>
+<wf:user id="alice"/>
+<wf:machine ip-address="127.0.0.1"/>
+</wf:identity>
+</wf:version>
+</wf:history>
Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/workflow/history/authoring/features/index_de.xml
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/workflow/history/authoring/features/index_de.xml?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/workflow/history/authoring/features/index_de.xml (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/workflow/history/authoring/features/index_de.xml Wed Sep 19 00:09:42 2007
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 1999-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<!-- $Id: index_de.xml 156384 2005-03-07 03:27:55Z gregor $ -->
+
+<wf:history xmlns:wf="http://apache.org/cocoon/lenya/workflow/1.0" workflow="workflow.xml">
+<wf:version date="2003-10-23 15:03:10" state="authoring">
+<wf:identity>
+<wf:user id="lenya"/>
+<wf:machine ip-address="127.0.0.1"/>
+</wf:identity>
+</wf:version>
+</wf:history>
Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/workflow/history/authoring/features/index_en.xml
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/workflow/history/authoring/features/index_en.xml?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/workflow/history/authoring/features/index_en.xml (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/workflow/history/authoring/features/index_en.xml Wed Sep 19 00:09:42 2007
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 1999-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<!-- $Id: index_en.xml 156384 2005-03-07 03:27:55Z gregor $ -->
+<wf:history xmlns:wf="http://apache.org/cocoon/lenya/workflow/1.0" workflow="workflow.xml">
+<wf:version date="2003-10-23 15:05:01" state="authoring">
+<wf:identity>
+<wf:user id="lenya"/>
+<wf:machine ip-address="127.0.0.1"/>
+</wf:identity>
+</wf:version>
+<wf:version date="2007-09-19 01:30:53" event="submit" state="review">
+<wf:identity>
+<wf:user id="lenya"/>
+<wf:machine ip-address="127.0.0.1"/>
+</wf:identity>
+</wf:version>
+<wf:variable name="is_live" value="true"/>
+<wf:version date="2007-09-19 01:32:14" event="publish" state="live">
+<wf:identity>
+<wf:user id="alice"/>
+<wf:machine ip-address="127.0.0.1"/>
+</wf:identity>
+</wf:version>
+</wf:history>
Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/workflow/history/authoring/index/index_de.xml
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/workflow/history/authoring/index/index_de.xml?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/workflow/history/authoring/index/index_de.xml (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/workflow/history/authoring/index/index_de.xml Wed Sep 19 00:09:42 2007
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 1999-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<!-- $Id: index_de.xml 156384 2005-03-07 03:27:55Z gregor $ -->
+
+<wf:history xmlns:wf="http://apache.org/cocoon/lenya/workflow/1.0" workflow="workflow.xml">
+<wf:version date="2003-10-23 15:03:10" state="authoring">
+<wf:identity>
+<wf:user id="lenya"/>
+<wf:machine ip-address="127.0.0.1"/>
+</wf:identity>
+</wf:version>
+</wf:history>
Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/workflow/history/authoring/index/index_en.xml
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/workflow/history/authoring/index/index_en.xml?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/workflow/history/authoring/index/index_en.xml (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/workflow/history/authoring/index/index_en.xml Wed Sep 19 00:09:42 2007
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 1999-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<!-- $Id: index_en.xml 156384 2005-03-07 03:27:55Z gregor $ -->
+
+<wf:history xmlns:wf="http://apache.org/cocoon/lenya/workflow/1.0" workflow="workflow.xml">
+<wf:version date="2003-10-23 15:03:10" state="authoring">
+<wf:identity>
+<wf:user id="lenya"/>
+<wf:machine ip-address="127.0.0.1"/>
+</wf:identity>
+</wf:version>
+</wf:history>
Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/workflow/history/authoring/tutorial/index_de.xml
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/workflow/history/authoring/tutorial/index_de.xml?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/workflow/history/authoring/tutorial/index_de.xml (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/workflow/history/authoring/tutorial/index_de.xml Wed Sep 19 00:09:42 2007
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 1999-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<!-- $Id: index_de.xml 156384 2005-03-07 03:27:55Z gregor $ -->
+
+<wf:history xmlns:wf="http://apache.org/cocoon/lenya/workflow/1.0" workflow="workflow.xml">
+<wf:version date="2003-10-23 15:03:10" state="authoring">
+<wf:identity>
+<wf:user id="lenya"/>
+<wf:machine ip-address="127.0.0.1"/>
+</wf:identity>
+</wf:version>
+</wf:history>
Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/workflow/history/authoring/tutorial/index_en.xml
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/workflow/history/authoring/tutorial/index_en.xml?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/workflow/history/authoring/tutorial/index_en.xml (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/workflow/history/authoring/tutorial/index_en.xml Wed Sep 19 00:09:42 2007
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 1999-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<!-- $Id: index_en.xml 156384 2005-03-07 03:27:55Z gregor $ -->
+<wf:history xmlns:wf="http://apache.org/cocoon/lenya/workflow/1.0" workflow="workflow.xml">
+<wf:version date="2003-10-23 15:04:33" state="authoring">
+<wf:identity>
+<wf:user id="lenya"/>
+<wf:machine ip-address="127.0.0.1"/>
+</wf:identity>
+</wf:version>
+<wf:version date="2007-09-19 01:30:19" event="submit" state="review">
+<wf:identity>
+<wf:user id="lenya"/>
+<wf:machine ip-address="127.0.0.1"/>
+</wf:identity>
+</wf:version>
+<wf:variable name="is_live" value="true"/>
+<wf:version date="2007-09-19 01:31:54" event="publish" state="live">
+<wf:identity>
+<wf:user id="alice"/>
+<wf:machine ip-address="127.0.0.1"/>
+</wf:identity>
+</wf:version>
+</wf:history>
Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/workflow/history/authoring/tutorial/new_doctype/index_de.xml
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/workflow/history/authoring/tutorial/new_doctype/index_de.xml?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/workflow/history/authoring/tutorial/new_doctype/index_de.xml (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/workflow/history/authoring/tutorial/new_doctype/index_de.xml Wed Sep 19 00:09:42 2007
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 1999-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<!-- $Id: index_de.xml 156384 2005-03-07 03:27:55Z gregor $ -->
+
+<wf:history xmlns:wf="http://apache.org/cocoon/lenya/workflow/1.0" workflow="workflow.xml">
+<wf:version date="2003-10-23 15:03:10" state="authoring">
+<wf:identity>
+<wf:user id="lenya"/>
+<wf:machine ip-address="127.0.0.1"/>
+</wf:identity>
+</wf:version>
+</wf:history>
Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/workflow/history/authoring/tutorial/new_doctype/index_en.xml
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/workflow/history/authoring/tutorial/new_doctype/index_en.xml?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/workflow/history/authoring/tutorial/new_doctype/index_en.xml (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/content/workflow/history/authoring/tutorial/new_doctype/index_en.xml Wed Sep 19 00:09:42 2007
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 1999-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<!-- $Id: index_en.xml 156384 2005-03-07 03:27:55Z gregor $ -->
+<wf:history xmlns:wf="http://apache.org/cocoon/lenya/workflow/1.0" workflow="workflow.xml">
+<wf:version date="2003-10-23 15:05:31" state="authoring">
+<wf:identity>
+<wf:user id="lenya"/>
+<wf:machine ip-address="127.0.0.1"/>
+</wf:identity>
+</wf:version>
+<wf:version date="2007-09-19 01:30:41" event="submit" state="review">
+<wf:identity>
+<wf:user id="lenya"/>
+<wf:machine ip-address="127.0.0.1"/>
+</wf:identity>
+</wf:version>
+<wf:variable name="is_live" value="true"/>
+<wf:version date="2007-09-19 01:32:00" event="publish" state="live">
+<wf:identity>
+<wf:user id="alice"/>
+<wf:machine ip-address="127.0.0.1"/>
+</wf:identity>
+</wf:version>
+</wf:history>
Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/doctypes.xmap
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/doctypes.xmap?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/doctypes.xmap (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/doctypes.xmap Wed Sep 19 00:09:42 2007
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 1999-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<!-- $Id: doctypes.xmap 332085 2005-11-09 17:35:30Z edith $ -->
+
+<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
+
+ <map:components/>
+
+ <map:views>
+ </map:views>
+
+ <map:resources/>
+
+ <map:pipelines>
+
+ <!-- View Revision? -->
+ <map:pipeline>
+ <map:match pattern="*/*/*/**.xml">
+ <map:match type="step" pattern="view-revision">
+ <map:generate type="serverpages" src="../../content/rc/view.xsp">
+ </map:generate>
+ <map:transform src="../../xslt/rc/toDoc.xsl"/>
+ <map:transform src="xslt/{../3}2xhtml.xsl">
+ <map:parameter name="rendertype" value="{1}"/>
+ <map:parameter name="nodeid" value="{page-envelope:document-node-id}"/>
+ <map:parameter name="language" value="{page-envelope:document-language}"/>
+ </map:transform>
+ <map:serialize type="xml"/>
+ </map:match>
+ </map:match>
+
+ <!-- parametrized doctype matcher -->
+ <!-- pattern="{rendertype}/{area}/{doctype}/{document-path}" -->
+ <map:match pattern="*/*/*/**.xml">
+ <map:generate src="{content-dir:{page-envelope:publication-id},{2}}/{4}.xml"/>
+ <map:transform src="xslt/{3}2xhtml.xsl">
+ <map:parameter name="rendertype" value="{1}"/>
+ <map:parameter name="nodeid" value="{page-envelope:document-node-id}"/>
+ <map:parameter name="language" value="{page-envelope:document-language}"/>
+ </map:transform>
+ <map:serialize type="xml"/>
+ </map:match>
+
+ </map:pipeline>
+
+ </map:pipelines>
+</map:sitemap>
Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/java/src/org/apache/lenya/defaultpub/cms/task/Deactivate.java
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/java/src/org/apache/lenya/defaultpub/cms/task/Deactivate.java?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/java/src/org/apache/lenya/defaultpub/cms/task/Deactivate.java (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/java/src/org/apache/lenya/defaultpub/cms/task/Deactivate.java Wed Sep 19 00:09:42 2007
@@ -0,0 +1,169 @@
+/*
+ * Copyright 1999-2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+
+/* $Id: Deactivate.java 160154 2005-04-05 10:04:51Z michi $ */
+
+package org.apache.lenya.defaultpub.cms.task;
+
+import java.io.IOException;
+
+import org.apache.avalon.framework.parameters.ParameterException;
+import org.apache.lenya.cms.publication.Document;
+import org.apache.lenya.cms.publication.DocumentBuildException;
+import org.apache.lenya.cms.publication.DocumentBuilder;
+import org.apache.lenya.cms.publication.DocumentException;
+import org.apache.lenya.cms.publication.Label;
+import org.apache.lenya.cms.publication.Publication;
+import org.apache.lenya.cms.publication.PublicationException;
+import org.apache.lenya.cms.publication.ResourcesManager;
+import org.apache.lenya.cms.publication.SiteTree;
+import org.apache.lenya.cms.publication.SiteTreeException;
+import org.apache.lenya.cms.publication.SiteTreeNode;
+import org.apache.lenya.cms.publication.task.PublicationTask;
+import org.apache.lenya.cms.task.ExecutionException;
+import org.apache.lenya.workflow.WorkflowException;
+import org.apache.log4j.Category;
+
+/**
+ * Deactivate a document.
+ */
+public class Deactivate extends PublicationTask {
+
+ private static final Category log = Category.getInstance(Deactivate.class);
+
+ public static final String PARAMETER_DOCUMENT_ID = "document-id";
+ public static final String PARAMETER_DOCUMENT_LANGUAGE = "document-language";
+
+ /**
+ * @see org.apache.lenya.cms.task.Task#execute(java.lang.String)
+ */
+ public void execute(String servletContextPath) throws ExecutionException {
+ if (log.isDebugEnabled()) {
+ log.debug("Starting deactivation");
+ }
+
+ try {
+ Document liveDocument = getLiveDocument();
+
+ if (!checkPreconditions(liveDocument)) {
+ setResult(FAILURE);
+ } else {
+ if (log.isDebugEnabled()) {
+ log.debug("Can execute task: last label, children are published.");
+ }
+ deactivate(liveDocument);
+ setResult(SUCCESS);
+ }
+
+ } catch (ExecutionException e) {
+ throw e;
+ } catch (Exception e) {
+ throw new ExecutionException(e);
+ }
+
+ }
+
+ /**
+ * Checks if the preconditions are complied.
+ * @param liveDocument The document to publish.
+ * @return A boolean value.
+ * @throws PublicationException when something went wrong.
+ * @throws ExecutionException when something went wrong.
+ * @throws DocumentException when something went wrong.
+ * FIXME: Remove references to sitetree
+ */
+ protected boolean checkPreconditions(Document liveDocument)
+ throws
+ PublicationException,
+ DocumentException,
+ SiteTreeException,
+ ExecutionException {
+ boolean OK = true;
+
+ Document authoringDocument = getPublication().getAreaVersion(liveDocument, Publication.AUTHORING_AREA);
+ OK = OK && canWorkflowFire(authoringDocument);
+
+ SiteTree tree = getPublication().getTree(liveDocument.getArea());
+ SiteTreeNode node = tree.getNode(liveDocument.getId());
+
+ if (node == null) {
+ throw new ExecutionException(
+ "Sitetree node for document [" + liveDocument + "] does not exist!");
+ }
+
+ Label label = node.getLabel(liveDocument.getLanguage());
+
+ if (label == null) {
+ throw new ExecutionException(
+ "Sitetree label for document [" + liveDocument + "] does not exist!");
+ }
+
+ if (node.getLabels().length == 1 && node.getChildren().length > 0) {
+ if (log.isDebugEnabled()) {
+ log.debug(
+ "Cannot delete last language version of document ["
+ + liveDocument
+ + "] because this node has children.");
+ }
+ OK = false;
+ }
+
+ return OK;
+ }
+
+ /**
+ * Deactivates a document.
+ * @param liveDocument The live document.
+ */
+ protected void deactivate(Document liveDocument)
+ throws
+ PublicationException,
+ ExecutionException,
+ IOException,
+ ParameterException,
+ WorkflowException,
+ DocumentException {
+ getPublication().deleteDocument(liveDocument);
+
+ if (!liveDocument.existsInAnyLanguage()) {
+ ResourcesManager resourcesManager = new ResourcesManager(liveDocument);
+ resourcesManager.deleteResources();
+ }
+
+ Document authoringDocument = getPublication().getAreaVersion(liveDocument, Publication.AUTHORING_AREA);
+ triggerWorkflow(authoringDocument);
+ }
+
+ /**
+ * Returns the live document to apply this task on.
+ * @return A document.
+ * @throws ParameterException when something went wrong.
+ * @throws DocumentBuildException when something went wrong.
+ * @throws ExecutionException when something went wrong.
+ */
+ protected Document getLiveDocument()
+ throws ParameterException, DocumentBuildException, ExecutionException {
+ String id = getParameters().getParameter(PARAMETER_DOCUMENT_ID);
+ String language = getParameters().getParameter(PARAMETER_DOCUMENT_LANGUAGE);
+ DocumentBuilder builder = getPublication().getDocumentBuilder();
+ String url =
+ builder.buildCanonicalUrl(getPublication(), Publication.LIVE_AREA, id, language);
+ Document document = builder.buildDocument(getPublication(), url);
+ return document;
+ }
+
+}
Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/java/src/org/apache/lenya/defaultpub/cms/task/Publish.java
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/java/src/org/apache/lenya/defaultpub/cms/task/Publish.java?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/java/src/org/apache/lenya/defaultpub/cms/task/Publish.java (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/java/src/org/apache/lenya/defaultpub/cms/task/Publish.java Wed Sep 19 00:09:42 2007
@@ -0,0 +1,208 @@
+/*
+ * Copyright 1999-2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+
+/* $Id: Publish.java 201987 2005-06-27 13:15:32Z edith $ */
+
+package org.apache.lenya.defaultpub.cms.task;
+
+import java.io.IOException;
+import java.text.SimpleDateFormat;
+import java.util.Date;
+
+import org.apache.avalon.framework.parameters.ParameterException;
+import org.apache.lenya.cms.publication.Document;
+import org.apache.lenya.cms.publication.DocumentBuildException;
+import org.apache.lenya.cms.publication.DocumentBuilder;
+import org.apache.lenya.cms.publication.DocumentHelper;
+import org.apache.lenya.cms.publication.DublinCore;
+import org.apache.lenya.cms.publication.Publication;
+import org.apache.lenya.cms.publication.PublicationException;
+import org.apache.lenya.cms.publication.SiteTree;
+import org.apache.lenya.cms.publication.SiteTreeNode;
+import org.apache.lenya.cms.publication.task.PublicationTask;
+import org.apache.lenya.cms.task.ExecutionException;
+import org.apache.lenya.workflow.WorkflowException;
+import org.apache.log4j.Category;
+
+/**
+ * Publish a document.
+ */
+public class Publish extends PublicationTask {
+
+ private static final Category log = Category.getInstance(Publish.class);
+
+ public static final String PARAMETER_DOCUMENT_ID = "document-id";
+ public static final String PARAMETER_DOCUMENT_LANGUAGE = "document-language";
+ public static final String PARAMETER_USER_NAME = "user-name";
+ public static final String PARAMETER_USER_EMAIL = "user-email";
+
+ private static final String format = "yyyy-MM-dd HH:mm:ss";
+
+ /**
+ * @see org.apache.lenya.cms.task.Task#execute(java.lang.String)
+ */
+ public void execute(String servletContextPath) throws ExecutionException {
+
+ if (log.isDebugEnabled()) {
+ log.debug("Starting publishing");
+ }
+
+ try {
+ Document authoringDocument = getAuthoringDocument();
+
+ if (!checkPreconditions(authoringDocument)) {
+ setResult(FAILURE);
+ } else {
+ if (log.isDebugEnabled()) {
+ log.debug("Can execute task: parent is published.");
+ }
+ String date = new SimpleDateFormat(format).format(new Date());
+ reservedCheckOut(authoringDocument);
+ setPublicationDate(authoringDocument, date);
+ setModificationDate(authoringDocument, date);
+ setPublisher(authoringDocument);
+ authoringDocument.getDublinCore().save();
+ reservedCheckIn(authoringDocument, false);
+
+ publish(authoringDocument);
+
+ setResult(SUCCESS);
+ }
+
+ } catch (ExecutionException e) {
+ throw e;
+ } catch (Exception e) {
+ throw new ExecutionException(e);
+ }
+
+ }
+
+ /**
+ * set the publisher (the user-id, the user-name and the user-email seperate with a |)
+ * @param document The document.
+ * @throws PublicationException When something went wrong.
+ * @throws ParameterException When something went wrong.
+ */
+ public void setPublisher(Document document) throws PublicationException, ParameterException {
+ String userId = getParameters().getParameter(PARAMETER_USER_ID);
+ String userName = getParameters().getParameter(PARAMETER_USER_NAME);
+ String userEmail = getParameters().getParameter(PARAMETER_USER_EMAIL);
+ String publisher = document.getDublinCore().getFirstValue(DublinCore.ELEMENT_PUBLISHER);
+ document.getDublinCore().setValue(DublinCore.ELEMENT_PUBLISHER, userId + "|" + userName + "|" + userEmail);
+ }
+
+ /**set the date of the publication, the date of the last change
+ * @param document The document.
+ * @param date The date in the format yyyy-MM-dd HH:mm:ss.
+ * @throws PublicationException When something went wrong
+ */
+ public void setModificationDate(Document document,String date) throws PublicationException {
+ String lastModDate = document.getDublinCore().getFirstValue(DublinCore.TERM_MODIFIED);
+ document.getDublinCore().setValue(DublinCore.TERM_MODIFIED, date);
+ }
+
+ /** set the date of the first publication
+ * @param document The document.
+ * @param date The date in the format yyyy-MM-dd HH:mm:ss.
+ * @throws PublicationException When something went wrong
+ */
+ public void setPublicationDate(Document document,String date) throws PublicationException {
+ String publicationDate = document.getDublinCore().getFirstValue(DublinCore.TERM_ISSUED);
+ if (publicationDate != null && !publicationDate.equals("")){
+ return;
+ }
+ document.getDublinCore().setValue(DublinCore.TERM_ISSUED, date);
+ }
+
+ /**
+ * Checks if the preconditions are complied.
+ * @param document The document to publish.
+ * @return
+ * @throws ExecutionException
+ * @throws Exception
+ * @throws IOException
+ */
+ protected boolean checkPreconditions(Document document)
+ throws
+ ExecutionException, IOException, Exception {
+ boolean OK = true;
+
+ if (!canWorkflowFire(document)) {
+ OK = false;
+ log.error("Cannot execute task: workflow event not supported.");
+ }
+
+ Document liveDocument = getPublication().getAreaVersion(document, Publication.LIVE_AREA);
+ Document liveParent = DocumentHelper.getParentDocument(liveDocument);
+ if (liveParent != null) {
+ SiteTree liveTree = getPublication().getTree(Publication.LIVE_AREA);
+ SiteTreeNode liveParentNode = liveTree.getNode(liveParent.getId());
+ if (liveParentNode == null) {
+ log.error("Cannot execute task: live parent node does not exist.");
+ OK = false;
+ }
+ }
+
+ if (!canCheckOut(document)){
+ log.error("Cannot execute task: the document is checked out by another user.");
+ OK = false;
+ }
+
+ return OK;
+ }
+
+ /**
+ * Publishes a document.
+ * @param authoringDocument The authoring document.
+ */
+ protected void publish(Document authoringDocument)
+ throws
+ PublicationException,
+ ExecutionException,
+ IOException,
+ ParameterException,
+ WorkflowException {
+
+ getPublication().copyDocumentToArea(authoringDocument, Publication.LIVE_AREA);
+
+ Document liveDocument =
+ getPublication().getAreaVersion(authoringDocument, Publication.LIVE_AREA);
+
+ copyResources(authoringDocument, liveDocument);
+
+ triggerWorkflow(authoringDocument);
+ }
+
+ /**
+ * Returns the authoring document to apply this task on.
+ * @return A document.
+ * @throws ParameterException when something went wrong.
+ * @throws DocumentBuildException when something went wrong.
+ * @throws ExecutionException when something went wrong.
+ */
+ protected Document getAuthoringDocument()
+ throws ParameterException, DocumentBuildException, ExecutionException {
+ String id = getParameters().getParameter(PARAMETER_DOCUMENT_ID);
+ String language = getParameters().getParameter(PARAMETER_DOCUMENT_LANGUAGE);
+ DocumentBuilder builder = getPublication().getDocumentBuilder();
+ String url =
+ builder.buildCanonicalUrl(getPublication(), Publication.AUTHORING_AREA, id, language);
+ Document document = builder.buildDocument(getPublication(), url);
+ return document;
+ }
+
+}
Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/lenya/content/authoring/create-language.xsp
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/lenya/content/authoring/create-language.xsp?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/lenya/content/authoring/create-language.xsp (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/lenya/content/authoring/create-language.xsp Wed Sep 19 00:09:42 2007
@@ -0,0 +1,96 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+ Copyright 1999-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<!-- $Id: create-language.xsp 413285 2006-06-10 11:10:23Z thorsten $ -->
+
+<xsp:page
+ language="java"
+ xmlns:xsp="http://apache.org/xsp"
+ xmlns:xsp-request="http://apache.org/xsp/request/2.0"
+ xmlns:input="http://apache.org/cocoon/xsp/input/1.0"
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ >
+
+ <xsp:structure>
+ <xsp:include>org.apache.lenya.cms.publication.Publication</xsp:include>
+ <xsp:include>org.apache.lenya.cms.publication.Document</xsp:include>
+ <xsp:include>org.apache.lenya.cms.publication.DocumentException</xsp:include>
+ <xsp:include>java.util.HashMap</xsp:include>
+ </xsp:structure>
+
+ <parent-child>
+
+ <xsp:logic>
+ String status = <xsp-request:get-parameter name="status"/>;
+
+ // get the parentId
+ String parentId = <xsp-request:get-parameter name="parent-uri"/>;
+ if (parentId == null) {
+ parentId = <input:get-attribute module="page-envelope" as="string" name="document-id"/>;
+ // for creation purposes the parentid "/index" (the home page) is special.
+ if (parentId.equals("/index")) {
+ parentId = "/";
+ }
+ }
+
+ if ((status != null) && (status.equals("failed"))) {
+ <xsp:content><exception/></xsp:content>
+ }
+
+ HashMap map = new HashMap();
+ Publication pub = (Publication) <input:get-attribute module="page-envelope" as="object" name="publication"/>;
+ String[] languages = pub.getLanguages();
+ for (int i = 0; i < languages.length; i++) {
+ map.put(languages[i], null);
+ }
+ Document doc = (Document) <input:get-attribute module="page-envelope" as="object" name="document"/>;
+ String[] usedLanguages = null;
+ try {
+ usedLanguages = doc.getLanguages();
+ } catch (DocumentException e) {}
+ if (usedLanguages != null) {
+ for (int i = 0; i < usedLanguages.length; i++) {
+ map.remove(usedLanguages[i]);
+ }
+ }
+ String[] validLanguages = (String[])map.keySet().toArray(new String[map.keySet().size()]);
+ </xsp:logic>
+
+ <document-id><input:get-attribute module="page-envelope" as="string" name="document-id"/></document-id>
+ <referer><xsp-request:get-uri/></referer>
+ <doctype><xsp:expr><xsp-request:get-parameter name="doctype"/></xsp:expr></doctype>
+ <user-id><input:get-attribute module="access-control" name="user-id"/></user-id>
+ <ip-address><input:get-attribute module="access-control" name="ip-address"/></ip-address>
+
+ <document-language><input:get-attribute module="page-envelope" name="document-language"/></document-language>
+ <dc:creator><input:get-attribute module="access-control" name="user-id"/> (<input:get-attribute module="access-control" name="user-name"/>)</dc:creator>
+ <dc:subject></dc:subject>
+ <dc:publisher></dc:publisher>
+ <dc:date><input:get-attribute module="date" name="currentDate"/></dc:date>
+ <dc:rights></dc:rights>
+ <dc:languages>
+ <xsp:logic>
+ for (int i = 0; i < validLanguages.length; i++) {
+ <xsp:content>
+ <dc:language><xsp:expr>validLanguages[i]</xsp:expr></dc:language>
+ </xsp:content>
+ }
+ </xsp:logic>
+ </dc:languages>
+
+ </parent-child>
+</xsp:page>
Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/lenya/content/authoring/create.xsp
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/lenya/content/authoring/create.xsp?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/lenya/content/authoring/create.xsp (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/lenya/content/authoring/create.xsp Wed Sep 19 00:09:42 2007
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+ Copyright 1999-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<!-- $Id: create.xsp 413285 2006-06-10 11:10:23Z thorsten $ -->
+
+<xsp:page
+ language="java"
+ xmlns:xsp="http://apache.org/xsp"
+ xmlns:xsp-request="http://apache.org/xsp/request/2.0"
+ xmlns:input="http://apache.org/cocoon/xsp/input/1.0"
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ >
+
+ <xsp:structure>
+ <xsp:include>org.apache.lenya.cms.publication.Publication</xsp:include>
+ </xsp:structure>
+
+ <parent-child>
+
+ <xsp:logic>
+ String status = <xsp-request:get-parameter name="status"/>;
+
+ // get the parentId
+ String parentId = <xsp-request:get-parameter name="parent-uri"/>;
+ if (parentId == null) {
+ parentId = <input:get-attribute module="page-envelope" as="string" name="document-id"/>;
+ // for creation purposes the parentid "/index" (the home page) is special.
+ if (parentId.equals("/index")) {
+ parentId = "/";
+ }
+ }
+
+ if ((status != null) && (status.equals("failed"))) {
+ <xsp:content><exception/></xsp:content>
+ }
+
+ Publication pub = (Publication) <input:get-attribute module="page-envelope" as="object" name="publication"/>;
+
+ </xsp:logic>
+
+ <allowedLanguages>
+ <xsp:logic>
+ String[] languages = pub.getLanguages();
+ for (int i = 0; i < languages.length; i++) {
+ <allowedLanguage><xsp:expr>languages[i]</xsp:expr></allowedLanguage>
+ }
+ </xsp:logic>
+ </allowedLanguages>
+ <parentid><xsp:expr>parentId</xsp:expr></parentid>
+ <referer><xsp-request:get-uri/></referer>
+ <doctype><xsp:expr><xsp-request:get-parameter name="doctype"/></xsp:expr></doctype>
+ <default-language><xsp:expr>pub.getDefaultLanguage()</xsp:expr></default-language>
+
+ <dc:creator><input:get-attribute module="access-control" as="string" name="user-name"/></dc:creator>
+ <dc:subject></dc:subject>
+ <dc:publisher></dc:publisher>
+ <dc:date><input:get-attribute module="date" name="currentDate"/></dc:date>
+ <dc:rights></dc:rights>
+ <dc:language><xsp:expr>pub.getDefaultLanguage()</xsp:expr></dc:language>
+
+ </parent-child>
+</xsp:page>
Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/lenya/content/authoring/upload.xsp
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/lenya/content/authoring/upload.xsp?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/lenya/content/authoring/upload.xsp (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/lenya/content/authoring/upload.xsp Wed Sep 19 00:09:42 2007
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<xsp:page
+ language="java"
+ xmlns:xsp="http://apache.org/xsp"
+ xmlns:xsp-request="http://apache.org/xsp/request/2.0"
+ xmlns:input="http://apache.org/cocoon/xsp/input/1.0"
+ xmlns:uc="http://apache.org/cocoon/lenya/usecase/1.0"
+ xmlns:jpath="http://apache.org/xsp/jpath/1.0"
+ >
+
+ <uc:confirm>
+ <uc:continuation><jpath:continuation/></uc:continuation>
+ <uc:form-title><jpath:value-of select="form-title"/></uc:form-title>
+ <uc:question><jpath:value-of select="question"/></uc:question>
+ <uc:user-id><input:get-attribute module="access-control" name="user-id" as="string"/></uc:user-id>
+
+ <uc:error-messages>
+ <xsp:logic>
+ String[] errorMessages = (String[]) <jpath:value-of select="error-messages"/>;
+ if (errorMessages != null) {
+ for (int i = 0; i < errorMessages.length; i++) {
+ <uc:message><xsp:expr>errorMessages[i]</xsp:expr></uc:message>
+ }
+ }
+ </xsp:logic>
+ </uc:error-messages>
+
+ <uc:info-messages>
+ <xsp:logic>
+ String[] infoMessages = (String[]) <jpath:value-of select="info-messages"/>;
+ if (infoMessages != null) {
+ for (int i = 0; i < infoMessages.length; i++) {
+ <uc:message><xsp:expr>infoMessages[i]</xsp:expr></uc:message>
+ }
+ }
+ </xsp:logic>
+ </uc:info-messages>
+
+ </uc:confirm>
+
+</xsp:page>
Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/lenya/content/publishing/publish-screen.xsp
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/lenya/content/publishing/publish-screen.xsp?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/lenya/content/publishing/publish-screen.xsp (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/lenya/content/publishing/publish-screen.xsp Wed Sep 19 00:09:42 2007
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+ Copyright 1999-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<!-- $Id: publish-screen.xsp 413285 2006-06-10 11:10:23Z thorsten $ -->
+
+<xsp:page
+ language="java"
+ xmlns:xsp="http://apache.org/xsp"
+ xmlns:input="http://apache.org/cocoon/xsp/input/1.0"
+ xmlns:usecase="http://apache.org/cocoon/lenya/usecase/1.0"
+ xmlns:sch="http://apache.org/cocoon/lenya/scheduler/1.0"
+ xmlns:xsp-request="http://apache.org/xsp/request/2.0"
+ >
+
+<usecase:publish>
+
+ <usecase:document-id><input:get-attribute module="page-envelope" name="document-id" as="string"/></usecase:document-id>
+ <usecase:uris><xsp-request:get-uri/></usecase:uris>
+ <usecase:sources><input:get-attribute module="page-envelope" as="string" name="document-path"/></usecase:sources>
+ <usecase:publication-id><input:get-attribute module="page-envelope" name="publication-id" as="string"/></usecase:publication-id>
+ <usecase:context-prefix><input:get-attribute module="page-envelope" name="context-prefix" as="string"/></usecase:context-prefix>
+ <usecase:area><input:get-attribute module="page-envelope" name="area" as="string"/></usecase:area>
+ <usecase:language><input:get-attribute module="page-envelope" name="document-language" as="string"/></usecase:language>
+
+ <!-- FIXME: this should be defined in the workflow schema -->
+ <usecase:task-id>publish</usecase:task-id>
+
+ <!-- add date for scheduler -->
+ <xsp:logic>
+ java.util.GregorianCalendar calendar = new java.util.GregorianCalendar();
+ </xsp:logic>
+
+ <sch:current-date>
+ <sch:year><xsp:expr>calendar.get(java.util.Calendar.YEAR)</xsp:expr></sch:year>
+ <sch:month><xsp:expr>calendar.get(java.util.Calendar.MONTH) + 1</xsp:expr></sch:month>
+ <sch:day><xsp:expr>calendar.get(java.util.Calendar.DAY_OF_MONTH)</xsp:expr></sch:day>
+ <sch:hour><xsp:expr>calendar.get(java.util.Calendar.HOUR_OF_DAY)</xsp:expr></sch:hour>
+ <sch:minute><xsp:expr>calendar.get(java.util.Calendar.MINUTE)</xsp:expr></sch:minute>
+ <sch:second><xsp:expr>calendar.get(java.util.Calendar.SECOND)</xsp:expr></sch:second>
+ </sch:current-date>
+
+</usecase:publish>
+
+</xsp:page>
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.