cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Gritsenko" <>
Subject RE: C2 Newbie: XSP Logicsheet in sitemap ?
Date Sat, 02 Feb 2002 21:59:05 GMT
Try attached example. Put under docs/samples/xsp directory in the Cocoon
sample webapp. Let me know if it was helpful for you.

PS: Note that logicsheet was declared right after <xsp:page> element, no
spaces or tags:

<xsp:page language="java"
><xsp:logicsheet location="docs/samples/xsp/logicsheet.xsl"/>


> -----Original Message-----
> From: Derek Hohls []
> Sent: Saturday, February 02, 2002 3:43 PM
> To:
> Cc: Derek Hohls
> Subject: C2 Newbie: XSP Logicsheet in sitemap ?
> As an ex-Cocoon1 user, I am trying to move all my applications across
> C2.  I can see that there are a lot of conceptual chnages that I need
> understand to make full use of C2's functionality.
> Right now I am trying to see how to use XSP/logic sheets.  I have
> to implement the examples shown in the XSP Logicsheet Guide, in the C2
> documentation, but have got stuck.
> The first point I noticed was that the namespace for XSP was
> its shown as and should actually be
> (maybe someone can update this?)
> The second point that I cannot get correct is how to implement the
> logicsheet in the sitemap.  While this is straightforward for a
> case (as in greeting2.xml), it is not clear for the for the two-step
> case (greeting3.xml).
> What I have tried is this (and various combinations):
> <map:match pattern="test/greeting3.xml">
>   <map:generate type="serverpages" src="test/greeting3.xml" />
>   <map:transform type="xslt" src="test/logicsheet.greeting.xsl" />
>   <map:transform type="xslt" src="test/greeting.xsl" />
>   <map:serialize />
> </map:match>
> Does anyone know what it should look like ??  (in order to produce the
> 'Hello World' output one gets from the other two examples)
> As a final note, maybe there is someone who can also update the
> on "Using Logicsheets (Taglibs)" as the discussion revolves around the
> approach used in Cocoon 1 and is now no longer appropriate.
> Thanks
> Derek
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <>
> To unsubscribe, e-mail: <>
> For additional commands, e-mail: <>

View raw message