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/09 13:53:39 UTC
[Cocoon Wiki] Updated: XspSessionFw
Date: 2004-07-09T04:53:39
Editor: DerekLastname <dh...@csir.co.za>
Wiki: Cocoon Wiki
Page: XspSessionFw
URL: http://wiki.apache.org/cocoon/XspSessionFw
no comment
Change Log:
------------------------------------------------------------------------------
@@ -1,4 +1,4 @@
-An [:XSP] [:Logicsheet] that's bundled with the Cocoon distribution (see also [:Built-InLogicsheets])
+An [:XSP] [:Logicsheet] that's bundled with the Cocoon distribution (see also BuiltInLogicsheets)
It provides an XML syntax which is essentially a simple wrapper around session context provided by the session framework (session-fw block). See the [http://cocoon.apache.org/2.1/developing/webapps/contexts.html official Session context documentation].
@@ -25,11 +25,11 @@
The idea of the default '''as="string"''' is to let you add easily inside your
XSP some strings. i.e: to show the user name in a welcome page:
-{{{
-<p>Hi <xsp-session-fw:getxml
- context="authentication"
- path="/authentication/data/full_name"/>, welcome back to the System
-</p>
+{{{
+<p>Hi <xsp-session-fw:getxml
+ context="authentication"
+ path="/authentication/data/full_name"/>, welcome back to the System
+</p>
}}}
In this example the '''path''' attribute always exists, so we don't need to