andy.way schrieb:

[…]

I use lenya2.0 (I can change, if 1.2 or 1.3 is more convenient). If I wanna
remain the xml files in their current location, and just connect to these
files through configuring lenya. Is it possible?

With 1.2, this is possible. You have to

- implement a custom DocumentIdToPathMapper which maps URLs to the paths of your documents

- create an initial sitetree.xml file


With 2.0, I'd strongly recommend to import the documents into the standard Lenya repository. Otherwise you'll have to tweak the classes in the sourcerepository module.


If yes, how can I modify the servlet from cocoon to lenya?

I don't quite understand this question - do you mean how to "merge" your existing application with Lenya?

-- Andreas


--
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to