You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2007/07/23 10:14:33 UTC
svn commit: r558648 - in
/lenya/docu/src/documentation/content/xdocs/docs/2_0_x:
reference/resource-types.xml tutorials/resourcetype/part1.xml
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>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org