[Yanel-commits] rev 25204 - in public/yanel/trunk/src/realms/yanel-website/content: . 95106ce8-a6db-4abe-bbc3-7b4b6d0fc855.yarep 95106ce8-a6db-4abe-bbc3-7b4b6d0fc855.yarep/revisions 95106ce8-a6db-4abe-bbc3-7b4b6d0fc855.yarep/revisions/1182267449605 95106ce8-a6db-4abe-bbc3-7b4b6d0fc855.yarep/revisions/1182267883755

simon at wyona.com simon at wyona.com
Tue Jun 19 17:54:32 CEST 2007


Author: simon
Date: 2007-06-19 17:54:32 +0200 (Tue, 19 Jun 2007)
New Revision: 25204

Added:
   public/yanel/trunk/src/realms/yanel-website/content/95106ce8-a6db-4abe-bbc3-7b4b6d0fc855
   public/yanel/trunk/src/realms/yanel-website/content/95106ce8-a6db-4abe-bbc3-7b4b6d0fc855.yarep/
   public/yanel/trunk/src/realms/yanel-website/content/95106ce8-a6db-4abe-bbc3-7b4b6d0fc855.yarep/meta
   public/yanel/trunk/src/realms/yanel-website/content/95106ce8-a6db-4abe-bbc3-7b4b6d0fc855.yarep/revisions/
   public/yanel/trunk/src/realms/yanel-website/content/95106ce8-a6db-4abe-bbc3-7b4b6d0fc855.yarep/revisions/1182267449605/
   public/yanel/trunk/src/realms/yanel-website/content/95106ce8-a6db-4abe-bbc3-7b4b6d0fc855.yarep/revisions/1182267449605/content
   public/yanel/trunk/src/realms/yanel-website/content/95106ce8-a6db-4abe-bbc3-7b4b6d0fc855.yarep/revisions/1182267449605/meta
   public/yanel/trunk/src/realms/yanel-website/content/95106ce8-a6db-4abe-bbc3-7b4b6d0fc855.yarep/revisions/1182267883755/
   public/yanel/trunk/src/realms/yanel-website/content/95106ce8-a6db-4abe-bbc3-7b4b6d0fc855.yarep/revisions/1182267883755/content
   public/yanel/trunk/src/realms/yanel-website/content/95106ce8-a6db-4abe-bbc3-7b4b6d0fc855.yarep/revisions/1182267883755/meta
Log:
add documentation access data within resource-types

Added: public/yanel/trunk/src/realms/yanel-website/content/95106ce8-a6db-4abe-bbc3-7b4b6d0fc855
===================================================================
--- public/yanel/trunk/src/realms/yanel-website/content/95106ce8-a6db-4abe-bbc3-7b4b6d0fc855	                        (rev 0)
+++ public/yanel/trunk/src/realms/yanel-website/content/95106ce8-a6db-4abe-bbc3-7b4b6d0fc855	2007-06-19 15:54:32 UTC (rev 25204)
@@ -0,0 +1,2 @@
+<?xml version="1.0"?><html xmlns="http://www.w3.org/1999/xhtml"><head>  <title>Created from template ...</title>  <link rel="neutron-introspection" type="application/neutron+xml" href="?yanel.resource.usecase=introspection"/></head><body>  <h1>Access global and resource type specific data from a resource type</h1><p>If you need to access date (images, javascript, css etc.) within your resource-type you can place it either in webapp/htdocs (global) or in your-resource-type/htdocs (resource type specific).</p><p>To access the data there are two helper methods in <tt>org.wyona.yanel.core.util.PathUtil</tt>.</p><p><tt>getResourcesHtdocs (Resource resource) </tt><br/><br/><tt>getGlobalHtdocs (Resource resource)</tt></p><p>for example:</p><p><tt>sb.append(&quot;&lt;script src=\&quot;&quot; + PathUtil.getGlobalHtdocs(this) + &quot;yanel-js/prototype.js\&quot; type=\&quot;text/javascript\&quot;&gt;&lt;/script&gt;&quot;);</tt></p><p>resp.</p><p><tt>sb.append(&quot;&lt;script src=\&q!
 uot;&quot; + PathUtil.getResourcesHtdocs(this)+ &quot;js/ajaxlookup.js\&quot; type=\&quot;text/javascript\&quot;&gt;&lt;/script&gt;&quot;);</tt><br/></p></body>
+</html>
\ No newline at end of file

Added: public/yanel/trunk/src/realms/yanel-website/content/95106ce8-a6db-4abe-bbc3-7b4b6d0fc855.yarep/meta
===================================================================
--- public/yanel/trunk/src/realms/yanel-website/content/95106ce8-a6db-4abe-bbc3-7b4b6d0fc855.yarep/meta	                        (rev 0)
+++ public/yanel/trunk/src/realms/yanel-website/content/95106ce8-a6db-4abe-bbc3-7b4b6d0fc855.yarep/meta	2007-06-19 15:54:32 UTC (rev 25204)
@@ -0,0 +1,4 @@
+yarep_type<string>:resource
+yarep_isCheckedOut<boolean>:false
+yarep_checkoutDate<date>:2007-06-19T17:37:29+0200
+yarep_checkoutUserID<string>:lenya

Added: public/yanel/trunk/src/realms/yanel-website/content/95106ce8-a6db-4abe-bbc3-7b4b6d0fc855.yarep/revisions/1182267449605/content
===================================================================
--- public/yanel/trunk/src/realms/yanel-website/content/95106ce8-a6db-4abe-bbc3-7b4b6d0fc855.yarep/revisions/1182267449605/content	                        (rev 0)
+++ public/yanel/trunk/src/realms/yanel-website/content/95106ce8-a6db-4abe-bbc3-7b4b6d0fc855.yarep/revisions/1182267449605/content	2007-06-19 15:54:32 UTC (rev 25204)
@@ -0,0 +1 @@
+<?xml version="1.0"?><html xmlns="http://www.w3.org/1999/xhtml"><head>  <title>Created from template ...</title>  <link rel="neutron-introspection" type="application/neutron+xml" href="?yanel.resource.usecase=introspection"/></head><body>  <p>Created from template ...</p></body></html>
\ No newline at end of file

Added: public/yanel/trunk/src/realms/yanel-website/content/95106ce8-a6db-4abe-bbc3-7b4b6d0fc855.yarep/revisions/1182267449605/meta
===================================================================
--- public/yanel/trunk/src/realms/yanel-website/content/95106ce8-a6db-4abe-bbc3-7b4b6d0fc855.yarep/revisions/1182267449605/meta	                        (rev 0)
+++ public/yanel/trunk/src/realms/yanel-website/content/95106ce8-a6db-4abe-bbc3-7b4b6d0fc855.yarep/revisions/1182267449605/meta	2007-06-19 15:54:32 UTC (rev 25204)
@@ -0,0 +1,7 @@
+yarep_revisionComment<string>:initial revision
+yarep_type<string>:resource
+yarep_revisionCreator<string>:lenya
+yarep_isCheckedOut<boolean>:false
+yarep_checkoutDate<date>:2007-06-19T17:37:29+0200
+yarep_checkoutUserID<string>:lenya
+yarep_revisionCreationDate<date>:2007-06-19T17:37:29+0200

Added: public/yanel/trunk/src/realms/yanel-website/content/95106ce8-a6db-4abe-bbc3-7b4b6d0fc855.yarep/revisions/1182267883755/content
===================================================================
--- public/yanel/trunk/src/realms/yanel-website/content/95106ce8-a6db-4abe-bbc3-7b4b6d0fc855.yarep/revisions/1182267883755/content	                        (rev 0)
+++ public/yanel/trunk/src/realms/yanel-website/content/95106ce8-a6db-4abe-bbc3-7b4b6d0fc855.yarep/revisions/1182267883755/content	2007-06-19 15:54:32 UTC (rev 25204)
@@ -0,0 +1,2 @@
+<?xml version="1.0"?><html xmlns="http://www.w3.org/1999/xhtml"><head>  <title>Created from template ...</title>  <link rel="neutron-introspection" type="application/neutron+xml" href="?yanel.resource.usecase=introspection"/></head><body>  <h1>Access global and resource type specific data from a resource type</h1><p>If you need to access date (images, javascript, css etc.) within your resource-type you can place it either in webapp/htdocs (global) or in your-resource-type/htdocs (resource type specific).</p><p>To access the data there are two helper methods in <tt>org.wyona.yanel.core.util.PathUtil</tt>.</p><p><tt>getResourcesHtdocs (Resource resource) </tt><br/><br/><tt>getGlobalHtdocs (Resource resource)</tt></p><p>for example:</p><p><tt>sb.append(&quot;&lt;script src=\&quot;&quot; + PathUtil.getGlobalHtdocs(this) + &quot;yanel-js/prototype.js\&quot; type=\&quot;text/javascript\&quot;&gt;&lt;/script&gt;&quot;);</tt></p><p>resp.</p><p><tt>sb.append(&quot;&lt;script src=\&q!
 uot;&quot; + PathUtil.getResourcesHtdocs(this)+ &quot;js/ajaxlookup.js\&quot; type=\&quot;text/javascript\&quot;&gt;&lt;/script&gt;&quot;);</tt><br/></p></body>
+</html>
\ No newline at end of file

Added: public/yanel/trunk/src/realms/yanel-website/content/95106ce8-a6db-4abe-bbc3-7b4b6d0fc855.yarep/revisions/1182267883755/meta
===================================================================
--- public/yanel/trunk/src/realms/yanel-website/content/95106ce8-a6db-4abe-bbc3-7b4b6d0fc855.yarep/revisions/1182267883755/meta	                        (rev 0)
+++ public/yanel/trunk/src/realms/yanel-website/content/95106ce8-a6db-4abe-bbc3-7b4b6d0fc855.yarep/revisions/1182267883755/meta	2007-06-19 15:54:32 UTC (rev 25204)
@@ -0,0 +1,9 @@
+yarep_revisionComment<string>:updated
+yarep_type<string>:resource
+yarep_isCheckedOut<boolean>:false
+yarep_revisionCreator<string>:lenya
+workflow-date<date>:2007-06-19T17:44:43+0200
+yarep_checkoutDate<date>:2007-06-19T17:37:29+0200
+yarep_checkoutUserID<string>:lenya
+workflow-state<string>:draft
+yarep_revisionCreationDate<date>:2007-06-19T17:44:43+0200




More information about the Yanel-commits mailing list