[Yanel-commits] rev 31660 -
public/yanel/trunk/src/contributions/resources/resource-creator/yanel-htdocs/doc
michi at wyona.com
michi at wyona.com
Mon Feb 11 22:05:57 CET 2008
Author: michi
Date: 2008-02-11 22:05:57 +0100 (Mon, 11 Feb 2008)
New Revision: 31660
Modified:
public/yanel/trunk/src/contributions/resources/resource-creator/yanel-htdocs/doc/index.html
Log:
examples added
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 20:50:03 UTC (rev 31659)
+++ public/yanel/trunk/src/contributions/resources/resource-creator/yanel-htdocs/doc/index.html 2008-02-11 21:05:57 UTC (rev 31660)
@@ -48,6 +48,34 @@
</dl>
<h2>Examples</h2>
- <p><b>...</b></p>
+ <p><b>Make all resources which have the CreatableV* interface implemented available for creation of corresponding instances</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:resource-config>
+</pre>
+
+ <p><b>Make only specific resources (e.g. file and xml) available for creation of corresponding instances</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="file" namespace="http://www.wyona.org/yanel/resource/1.0">
+ <rc:display-name>Asset (Upload File)</rc:display-name>
+ </rc:resource-type>
+
+ <rc:resource-type name="xml" namespace="http://www.wyona.org/yanel/resource/1.0">
+ <rc:display-name>Standard (HTML) Page</rc:display-name>
+ <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