You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@cocoon.apache.org by do...@cocoon.apache.org on 2004/07/29 22:52:13 UTC

[Cocoon Wiki] Updated: Logicsheet

   Date: 2004-07-29T13:52:12
   Editor: JeffJones <da...@fastmail.fm>
   Wiki: Cocoon Wiki
   Page: Logicsheet
   URL: http://wiki.apache.org/cocoon/Logicsheet

   Cleaned up some spelling, clarified use of context: protocol

Change Log:

------------------------------------------------------------------------------
@@ -26,21 +26,20 @@
 
 There are a number of BuiltInLogicsheets
 
-=== Development hint (pseudo protokol) ===
+=== Development hint (pseudo-protocol) ===
 
-In most tutorials the registration of a custom logicsheet (in cocoon.xconf) uses the '''resource:''' pseudo protokol.
-This requiere to restart the servelt container (e.g. Tomcat) after changing something.
+In most tutorials the registration of a custom logicsheet (in cocoon.xconf) uses the '''resource:''' pseudo-protocol. Logicsheets accessed via the '''resource:''' protocol are not reloaded when changed, so if you make a change, you must restart your servlet container to see the change take effect.
 
-Like described on this german page [http://www.oio.de/public/xml/logicsheet-tutorial.htm#N10063 Cocoon Logicsheet Tutorial]
-it is also possiible to use the '''context:''' pseudo protokoll, so when you just creating a straight forward xslt-logicsheet, it will be evaluated on each http request. Much better for developement (don't no if any drawbacks in deployment)
+As described on this German page [http://www.oio.de/public/xml/logicsheet-tutorial.htm#N10063 Cocoon Logicsheet Tutorial]
+it is also possible to use the '''context:''' pseudo-protocol, so when you are just creating a straight forward XSLT logicsheet, it will be evaluated on each http request. This is much more convenient for development, although it would probably decrease performance in a production environment.
 
-{{{
-<builtin-logicsheet>
-    <parameter name="prefix" value="mylogic"/>
-    <parameter name="uri" value="http://hostname/mylogic/1.0"/>
-    <!-- <parameter name="href" value="resource://mylogic/mylogic.xsl"/> -->
-    <parameter name="href" value="context://taglib/mylogic.xsl"/>
-</builtin-logicsheet>
+{{{
+<builtin-logicsheet>
+    <parameter name="prefix" value="mylogic"/>
+    <parameter name="uri" value="http://hostname/mylogic/1.0"/>
+    <!-- <parameter name="href" value="resource://mylogic/mylogic.xsl"/> -->
+    <parameter name="href" value="context://taglib/mylogic.xsl"/>
+</builtin-logicsheet>
 }}}
 
 so you can store your logicsheet at a place like COCOON_WEBAPP_HOME/taglib/mylogic.xsl