andy.way schrieb:

[…]

 If I
 just want to using lenya for its WYSIWYG editor, how can I merge it
 into my website?

If your existing website is strictly read-only, the probably easiest way would be to run both servlets in the same engine and migrate only the content (XML documents) to Lenya. You won't get full-featured WYSIWYG in Lenya, though, without migrating the presentation layer.

You request the XML documents from your application, e.g.

  <map:generate src="lenya-connector:…"/>

The lenya-connector source factory would use some inter-servlet communication facility to get the source from Lenya. You'd probably have to extend Lenya to provide an appropriate API.


Or if the implementation of such connectors tends to
 expensive, and I need to convert the website to lenya, how can I do
 that?

If you want to migrate the website to Lenya, there are two ways:

1. Put your application in a publication and tweak it until it is editable.

2. Start with a blank publication and re-build your website, using the components you already have.

I think I'd prefer option 2, but this depends on the complexity of your application.

Do I need to import all the xsp, xsl, xml files into the
 lenya's repository?

That depends on whether you want to edit them via the CMS. Usually only the XML files are stored in the content repository, but this is up to you.

-- 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