You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by bl...@locus.apache.org on 2000/11/13 19:14:59 UTC
cvs commit: xml-cocoon/webapp/docs/samples/xsp simple.xsp
bloritsch 00/11/13 10:14:56
Modified: webapp Tag: xml-cocoon2 cocoon.xconf
webapp/docs/samples/xsp Tag: xml-cocoon2 simple.xsp
Log:
Added support and demonstration for the log:* logic sheet.
Revision Changes Path
No revision
No revision
1.1.2.9 +6 -0 xml-cocoon/webapp/Attic/cocoon.xconf
Index: cocoon.xconf
===================================================================
RCS file: /home/cvs/xml-cocoon/webapp/Attic/cocoon.xconf,v
retrieving revision 1.1.2.8
retrieving revision 1.1.2.9
diff -u -r1.1.2.8 -r1.1.2.9
--- cocoon.xconf 2000/10/26 21:02:27 1.1.2.8
+++ cocoon.xconf 2000/11/13 18:14:53 1.1.2.9
@@ -41,6 +41,12 @@
<parameter name="uri" value="http://apache.org/cocoon/SQL/v2"/>
<parameter name="href" value="resource://org/apache/cocoon/components/language/markup/xsp/java/esql.xsl"/>
</builtin-logicsheet>
+
+ <builtin-logicsheet>
+ <parameter name="prefix" value="log"/>
+ <parameter name="uri" value="http://apache.org/xsp/log"/>
+ <parameter name="href" value="resource://org/apache/cocoon/components/language/markup/xsp/java/log.xsl"/>
+ </builtin-logicsheet>
</target-language>
</component-instance>
No revision
No revision
1.1.2.4 +4 -0 xml-cocoon/webapp/docs/samples/xsp/Attic/simple.xsp
Index: simple.xsp
===================================================================
RCS file: /home/cvs/xml-cocoon/webapp/docs/samples/xsp/Attic/simple.xsp,v
retrieving revision 1.1.2.3
retrieving revision 1.1.2.4
diff -u -r1.1.2.3 -r1.1.2.4
--- simple.xsp 2000/08/31 15:39:57 1.1.2.3
+++ simple.xsp 2000/11/13 18:14:54 1.1.2.4
@@ -5,9 +5,12 @@
xmlns:xsp="http://apache.org/xsp"
xmlns:xsp-request="http://apache.org/xsp/request"
xmlns:xsp-response="http://apache.org/xsp/response"
+ xmlns:log="http://apache.org/xsp/log"
>
<page>
+ <log:logger name="xsp-sample" url="file:../../logs/xsp-sample.log"/>
+ <log:debug>Processing the beginning of the page</log:debug>
<title>A Simple XSP Page</title>
@@ -65,5 +68,6 @@
<para>Brought to you by Cocoon2 at <xsp:expr>new Date()</xsp:expr>.</para>
</content>
+ <log:debug>Processing the end of the page</log:debug>
</page>
</xsp:page>