cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Cocoon Wiki] Update of "XSPUtil" by Mfonsen
Date Fri, 03 Aug 2007 10:10:47 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Cocoon Wiki" for change notification.

The following page has been changed by Mfonsen:
http://wiki.apache.org/cocoon/XSPUtil

------------------------------------------------------------------------------
- One of the [:Cocoon] BuiltInLogicsheets.
+ One of the [:Cocoon] BuiltInLogicsheets. More documentation can be found from the logicsheet
itself  in the Cocoon build directory: cocoon-2.1.10\build\cocoon\blocks\xsp\dest\org\apache\cocoon\components\language\markup\xsp\java\util.xsl.
  
- The [:XSP] Util logicsheet provides the following inclusion functionality:
+ The [:XSP] Util [:logicsheet] provides the following inclusion functionality:
  
   *  Content from another URL.
   *  Content directly from a file (requires absolute path?)
@@ -15, +15 @@

   *  A general counter
   *  A session based counter?
  
+ Small usage example example (output result String as XML instead of encoded format:
+ {{{
+ <?xml version="1.0"?>
  
+ <xsp:page language="java"
+           xmlns:xsp="http://apache.org/xsp"
+           xmlns:xsp-request="http://apache.org/xsp/request/2.0"
+           xmlns:util="http://apache.org/xsp/util/2.0">
+ ...
+     <page>
+     <xsp:logic>
+ ...
+     <util:include-expr><util:expr>result</util:expr></util:include-expr>
+ ...
+      </xsp:logic>
+      </page>
+ </xsp:page>
+ }}}
+ 

Mime
View raw message