Hello,
The template.xml file is used to describe all templates included into a jar file and the embedded jar which could include java classes or the resources bundles. This embedded jar is deployed into WEB-INF/classes/jahiatemplates
This file is read each time you wand to deploy a template set.
The evenlistner.jsp is used to listen any jahia event, like addContainerEngineAfterInit, addContainerEngineBeforeSave, afterServicesLoad, beforeContainerActivation, beforeFieldActivation, beforeServicesLoad, containerAdded, containerDeleted, containerListPropertiesSet, containerUpdated, fieldAdded, fieldDeleted, fieldUpdated, pageAdded, pageLoaded, pagePropertiesSet, rightsSet, userLoggedIn, userLoggedOut.
So you can get any of these events and do what you want (for example update a field, etc.)
Philippe
At 10.11.2004 11:42, you wrote:
Hi,
I was studing corporate portal templates and I saw two files which are not like the others.
eventlistner.jsp and templates.xml
What is the goal of this files. It seems to me eventlistner is a controler (into MVC paradigm), and what is templates.xml for web.xml ?
Thanks.
-------=[ pvollenweider at jahia dot com ]=--------- Jahia : A collaborative source CMS and Portal Server www.jahia.org Community and product web site www.jahia.com Commercial services company
