cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stev...@outerthought.org
Subject [WIKI-UPDATE] Logicsheet Sat Dec 13 22:00:02 2003
Date Sat, 13 Dec 2003 21:00:02 GMT
Page: http://wiki.cocoondev.org/Wiki.jsp?page=Logicsheet , version: 11 on Sat Dec 13 20:48:32
2003 by PhilippJ

+ !Development hint (pseudo protokol)
+ 
+ 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.
+ 
+ Like described on this german page [Cocoon Logicsheet Tutorial|http://www.oio.de/public/xml/logicsheet-tutorial.htm#N10063]
+ 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)
+ 
+ {{{
+ <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
+ 



Mime
View raw message