[Yanel-commits] rev 38026 - in
public/yanel/trunk/src/realms/yanel-website/content: .
e41b0c5c-4ebc-4ced-8b6c-5946a67fee91.yarep
simon at wyona.com
simon at wyona.com
Thu Aug 14 22:02:25 CEST 2008
Author: simon
Date: 2008-08-14 22:02:24 +0200 (Thu, 14 Aug 2008)
New Revision: 38026
Added:
public/yanel/trunk/src/realms/yanel-website/content/e41b0c5c-4ebc-4ced-8b6c-5946a67fee91.yarep/meta
Removed:
public/yanel/trunk/src/realms/yanel-website/content/e41b0c5c-4ebc-4ced-8b6c-5946a67fee91.yarep/revisions/
Modified:
public/yanel/trunk/src/realms/yanel-website/content/e41b0c5c-4ebc-4ced-8b6c-5946a67fee91
Log:
updating documentation and reseting the revisions. and missed meta added. sorry for any inconvenience.
Modified: public/yanel/trunk/src/realms/yanel-website/content/e41b0c5c-4ebc-4ced-8b6c-5946a67fee91
===================================================================
--- public/yanel/trunk/src/realms/yanel-website/content/e41b0c5c-4ebc-4ced-8b6c-5946a67fee91 2008-08-14 17:03:33 UTC (rev 38025)
+++ public/yanel/trunk/src/realms/yanel-website/content/e41b0c5c-4ebc-4ced-8b6c-5946a67fee91 2008-08-14 20:02:24 UTC (rev 38026)
@@ -7,9 +7,9 @@
<body>
<h1>BasicXMLResource</h1>BasicXMLResource is a base class for resources that generate XML. you
can extend this class if you want to develop a resource-type which will proceed xml.<br/>It
- already has implemented a bunch of nice thing which you could like. e.g. XSLT, <a
- href="i18n.html" shape="rect">i18n</a>, XInclude, ConfigurableViewDescriptor. <br/>At the
- moment folowing resource-types extending BasicXMLResource: xml, user-mgmt (via ExecutableUsecaseResource).<br/>
+ already has implemented a bunch of nice thing which you could like. e.g. XSLT, <a shape="rect"
+ href="i18n.html">i18n</a>, XInclude, ConfigurableViewDescriptor. <br/>At the moment folowing
+ resource-types extending BasicXMLResource: xml, user-mgmt (via <a href="ExecutableUsecaseResource.html">ExecutableUsecaseResource</a>).<br/>
<br/>
<h2>Resource Configuration Properties:</h2>
<tt><yanel:property name="i18n-catalogue"
@@ -17,11 +17,15 @@
<br/>
<tt><yanel:property name="xslt" value="VALUE"/></tt>
<br/>
+ <tt><yanel:property name="mime-type" value="VALUE"/></tt>
<br/>
+ <tt><yanel:property name="source-view-mime-type" value="VALUE"/></tt>
+ <br/>
+ <br/>
<h3/>
<h4/>
<h5/>
- <h2> Custom Resource Configuration (ConfigurableViewDescriptor)</h2>
+ <h2>ConfigurableViewDescriptor (Custom Resource Configuration)</h2>
<br/>
<table>
<tbody>
@@ -40,12 +44,15 @@
</tr>
<tr>
<td valign="top">view</td>
- <td valign="top">mime-type, xslt, serializer </td>
- <td valign="top">id<b/>
+ <td valign="top">mime-type, xslt, serializer<br/>
</td>
- <td valign="top">A single view. Can be 'default' or 'source' for built in views. Or any
- other id for a custom view. A view is accessed through a request parameter <b>yanel.resource.viewid</b>
+ <td valign="top">id, type<b/>
</td>
+ <td valign="top">A single view. <br/>id can be 'default' or 'source' for built in views.
+ Or any other id for a custom view. A view is accessed via id through a request parameter
+ <b>yanel.resource.viewid <br/>
+ </b>type can bye xml, jelly, redirect (implementation not finished yet), custom. Default
+ is xml. </td>
</tr>
<tr>
<td valign="top">mime-type</td>
@@ -57,16 +64,45 @@
<td valign="top">xslt</td>
<td valign="top">-</td>
<td valign="top"/>
- <td valign="top">Path to xslt. absolute data-repo path.</td>
+ <td valign="top">Path to xslt. absolute data-repo path, rthdocs path, file path. see: <a
+ href="#xsltprotocol">Protocol-Schemas used configure xslt via ConfigurableViewDescriptor</a>
+ <br/>
+ </td>
</tr>
<tr>
<td valign="top">serializer</td>
- <td valign="top">-</td>
- <td valign="top"/>
+ <td valign="top">omit-xml-declaration, indent, doctype-public, doctype-system</td>
+ <td valign="top"> key</td>
<td valign="top">If no serializer is specified for a view, the serializer will be chosen
depending on the mime-type, whereas the default serializer is XHTML_STRICT<br/>Possible
- Serializers:<br/><b>HTML_TRANSITIONAL, XHTML_STRICT, XML, TEXT</b></td>
+ Serializers (key):<br/>
+ <b>HTML_TRANSITIONAL, XHTML_STRICT, XML, TEXT</b>
+ </td>
</tr>
+ <tr>
+ <td valign="top">omit-xml-declaration</td>
+ <td valign="top">-</td>
+ <td valign="top"/>
+ <td valign="top">Can be 'yes' or 'no'</td>
+ </tr>
+ <tr>
+ <td valign="top">doctype-public</td>
+ <td valign="top">-</td>
+ <td valign="top"/>
+ <td valign="top">Public Doctype e.g -//W3C//DTD XHTML 1.0 Transitional//EN</td>
+ </tr>
+ <tr>
+ <td valign="top">doctype-system</td>
+ <td valign="top">-</td>
+ <td valign="top"/>
+ <td valign="top">System Doctype e.g. http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd</td>
+ </tr>
+ <tr>
+ <td valign="top">indent</td>
+ <td valign="top">-</td>
+ <td valign="top"/>
+ <td valign="top">Can be 'yes' or 'no'</td>
+ </tr>
</tbody>
</table>
<br/>
@@ -166,8 +202,8 @@
</tr>
</tbody>
</table>
- <h3>Built-in Protocol-Schemas:</h3>
-<!-- <table>
+ <h3>Built-in Protocol-Schemas used by Xinclude:</h3>
+ <table>
<tbody>
<tr>
<th>Protocol</th>
@@ -225,9 +261,12 @@
<td valign="top">resource-type/yanel-htdocs/foo/bar.xml</td>
</tr>
</tbody>
- </table> -->
- <p>At the moment only file, rthtdocs and data-repo are supported.</p>
- <table>
+ </table>
+ <h3>Protocol-Schemas used configure xslt via ConfigurableViewDescriptor:
+ <!-- TODO: use also yanel uri resolver. then both tables will be the same -->
+ </h3>
+ <a name="xsltprotocol"/>
+ <table>
<tbody>
<tr>
<th>Protocol</th>
@@ -236,7 +275,7 @@
<th valign="top">Source</th>
</tr>
<tr>
- <td valign="top"></td>
+ <td valign="top"/>
<td valign="top">Accessing content in data-repo of curent realm.<br/>
</td>
<td valign="top">/index.html</td>
Added: public/yanel/trunk/src/realms/yanel-website/content/e41b0c5c-4ebc-4ced-8b6c-5946a67fee91.yarep/meta
===================================================================
--- public/yanel/trunk/src/realms/yanel-website/content/e41b0c5c-4ebc-4ced-8b6c-5946a67fee91.yarep/meta (rev 0)
+++ public/yanel/trunk/src/realms/yanel-website/content/e41b0c5c-4ebc-4ced-8b6c-5946a67fee91.yarep/meta 2008-08-14 20:02:24 UTC (rev 38026)
@@ -0,0 +1,7 @@
+yarep_type<string>:resource
+yarep_isCheckedOut<boolean>:false
+yarep_checkoutDate<date>:2008-08-13T23:56:13+0100
+yarep_size<long>:11929
+yarep_checkoutUserID<string>:lenya
+yarep_lastModifed<long>:1218668854000
+yarep_checkinDate<date>:2008-08-14T00:07:34+0100
More information about the Yanel-commits
mailing list