svn commit: r558648 - in /lenya/docu/src/documentation/content/xdocs/docs/2_0_x: reference/resource-types.xml tutorials/resourcetype/part1.xml

[email protected]
Newsgroups gmane.comp.cms.lenya.cvs
Message-ID <[email protected]>
Author: andreas
Date: Mon Jul 23 01:14:32 2007
New Revision: 558648

URL: http://svn.apache.org/viewvc?view=rev&rev=558648
Log:
Updated resource type docs. Thanks to Steve Nunez for reporting.

Modified:
    lenya/docu/src/documentation/content/xdocs/docs/2_0_x/reference/resource-types.xml
    lenya/docu/src/documentation/content/xdocs/docs/2_0_x/tutorials/resourcetype/part1.xml

Modified: lenya/docu/src/documentation/content/xdocs/docs/2_0_x/reference/resource-types.xml
URL: http://svn.apache.org/viewvc/lenya/docu/src/documentation/content/xdocs/docs/2_0_x/reference/resource-types.xml?view=diff&rev=558648&r1=558647&r2=558648
==============================================================================
--- lenya/docu/src/documentation/content/xdocs/docs/2_0_x/reference/resource-types.xml (original)
+++ lenya/docu/src/documentation/content/xdocs/docs/2_0_x/reference/resource-types.xml Mon Jul 23 01:14:32 2007
@@ -67,10 +67,10 @@
 <source xml:space="preserve"><![CDATA[<publication>
   ...
   <resource-types>
-    <resource-type name="xhtml" workflow="workflow.xml"/>
-    <resource-type name="homepage" workflow="workflow.xml"/>
-    <resource-type name="links" workflow="workflow.xml"/>
-    <resource-type name="profile" workflow="workflow.xml"/>
+    <resource-type name="xhtml" workflow="fallback://config/workflow/workflow.xml"/>
+    <resource-type name="homepage" workflow="fallback://config/workflow/workflow.xml"/>
+    <resource-type name="links" workflow="fallback://config/workflow/workflow.xml"/>
+    <resource-type name="profile" workflow="fallback://config/workflow/workflow.xml"/>
     ...
   </resource-types>
   ...

Modified: lenya/docu/src/documentation/content/xdocs/docs/2_0_x/tutorials/resourcetype/part1.xml
URL: http://svn.apache.org/viewvc/lenya/docu/src/documentation/content/xdocs/docs/2_0_x/tutorials/resourcetype/part1.xml?view=diff&rev=558648&r1=558647&r2=558648
==============================================================================
--- lenya/docu/src/documentation/content/xdocs/docs/2_0_x/tutorials/resourcetype/part1.xml (original)
+++ lenya/docu/src/documentation/content/xdocs/docs/2_0_x/tutorials/resourcetype/part1.xml Mon Jul 23 01:14:32 2007
@@ -103,8 +103,11 @@
       </p>
       <source><![CDATA[<module name="person"/>]]></source>
       <p>
-        to the <code><![CDATA[<modules/>]]></code> section.
+        to the <code><![CDATA[<modules/>]]></code> section. Additionally, you can assign a workflow
+        to the resource type in the <code><![CDATA[<resource-types>]]></code> section of
+        <code>publication.xml</code>:
       </p>
+      <source><![CDATA[<resource-type name="person" workflow="fallback://config/workflow/workflow.xml"/>]]></source>
     </section>
     
     <section>
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.