Thanks Dieter for your info, and well worked out. This may warrant a spot in our docs somewhere - I'll take a look and see where it might fit.
Gav... > -----Original Message----- > From: Dieter Schicker [mailto:[EMAIL PROTECTED] > Sent: Thursday, 15 November 2007 5:56 PM > To: [email protected] > Subject: Re: xsp & esql in forrest (partly solved) > > Hi, > > I can now answer one of my questions: ;-) > > I got xsp working in forrest 0.9-dev - like always when you found out > how it works, it's easy: > > Steps: > 1) Add a serverpages generator to <map:components> in sitemap.xmap: > > <map:generators> > <map:generator name="serverpages" > src="org.apache.cocoon.generation.ServerPagesGenerator" > label="content"/> > </map:generators> > > 2) Add a matcher to sitemap.xmap: > > <map:match pattern="**.xsp"> > <map:generate type="serverpages" > src="{properties:content.xdocs}{1}.xsp" /> > <map:serialize type="xml"/> > > Now if you create a *.xsp page and let the serializer produce xml, you > can (hopefully) see that it works. > > Cheers > Dieter > > On Wed, 2007-11-14 at 20:47 +0100, Dieter Schicker wrote: > > Hello, > > > > I'm new on this list and a forrest newbie so please forgive me if this > > has been already asked. > > > > Is there some good information out there on howto enable xsp and esql in > > forrest? Could not find reliable infos by googling. > > > > TIA & Cheers > > Dieter > >
