apache > lenya
 

Frequently Asked Questions

1. Getting Started and Building Lenya

1.1. The build fails with a message like Fatal error during transformation.

You might want to take a look at the comments for bug 40113.

1.2. When I request the web application, I get the error message "Failure occured during job recovery".

Please verify that the user which runs the application server has write permissions in the directory $WEBAPP_HOME/WEB-INF/db/.

2. Building Websites

2.1. How do I add a custom type of documents?

See section resource types.

2.2. How can I add user interaction to web pages?

The usecasedocument module allows to add usecases as CMS documents.

3. Internationalisation (i18n)

3.1. How to extend the i18n catalog for Lenya 2.0?

In the default publication you can find pubs/default/lenya/resources/i18n. That are the files you need to edit if you wish to override it on a publication base.

However you can as well extend the catalog with modules, that you can reuse in different publications. You need to add at least modules/{yourModule}/lenya/resources/i18n/cmsui.xml. Don't forget to declare the module in publication.xml so that the i18n catalog is detected.

4. Editors

4.1. Is it possible to override in BXE *only* a css style definition?

Yes, this is possible.
Just add and edit it like you need it (have a look in the default pub): {pubid}/resources/misc/bxe/{ressourcetype}-bxe.css

5. Deployment

5.1. Can I serve my public site with Cocoon only?

In general, the answer is "no", because various Lenya components are necessary to access the repository and generate the pages. You'd have to invest a lot of effort to extract these components from Lenya, and this will hardly be worth it.