[Yanel-commits] rev 31661 -
public/yanel/trunk/src/contributions/resources/resource-creator/yanel-htdocs/doc
michi at wyona.com
michi at wyona.com
Mon Feb 11 22:23:32 CET 2008
Author: michi
Date: 2008-02-11 22:23:31 +0100 (Mon, 11 Feb 2008)
New Revision: 31661
Modified:
public/yanel/trunk/src/contributions/resources/resource-creator/yanel-htdocs/doc/index.html
Log:
docu about suppressing resource config creation
Modified: public/yanel/trunk/src/contributions/resources/resource-creator/yanel-htdocs/doc/index.html
===================================================================
--- public/yanel/trunk/src/contributions/resources/resource-creator/yanel-htdocs/doc/index.html 2008-02-11 21:05:57 UTC (rev 31660)
+++ public/yanel/trunk/src/contributions/resources/resource-creator/yanel-htdocs/doc/index.html 2008-02-11 21:23:31 UTC (rev 31661)
@@ -77,5 +77,24 @@
</yanel:custom-config>
</yanel:resource-config>
</pre>
+
+ <p><b>Suppress resource config creation when a new resource instance is being created. This can make sense if a pattern has been defined within map.rc-map (e.g. <matcher pattern="/**.html" rcpath="/generic-xhtml-page.yanel-rc"/>)</b></p>
+
+<pre>
+ <yanel:resource-config xmlns:yanel="http://www.wyona.org/yanel/rti/1.0">
+ <yanel:rti name="resource-creator" namespace="http://www.wyona.org/yanel/resource/1.0"/>
+
+ <yanel:custom-config>
+ <rc:resource-types xmlns:rc="http://www.wyona.org/yanel/resource/resource-creator/1.0">
+ <rc:resource-type name="xml" namespace="http://www.wyona.org/yanel/resource/1.0">
+ <rc:display-name>Standard (HTML) Page</rc:display-name>
+ <rc:create-resource-config>false</rc:create-resource-config>
+ <rc:property name="mime-type" value="text/html"/>
+ <rc:property name="source-mime-type" value="application/xhtml+xml"/>
+ </rc:resource-type>
+ </rc:resource-types>
+ </yanel:custom-config>
+ </yanel:resource-config>
+</pre>
</body>
</html>
More information about the Yanel-commits
mailing list