tdraier 2005/04/04 12:16:58 CEST
Modified files:
core/src/webapp/WEB-INF/etc/spring
applicationcontext-metadata.xml
Log:
fixed last modification date & contributor metadata
Revision Changes Path
1.6 +35 -33
jahia/core/src/webapp/WEB-INF/etc/spring/applicationcontext-metadata.xml
http://jahia.mine.nu:8080/cgi-bin/cvsweb.cgi/jahia/core/src/webapp/WEB-INF/etc/spring/applicationcontext-metadata.xml.diff?r1=1.5&r2=1.6&f=h
Index: applicationcontext-metadata.xml
===================================================================
RCS file:
/home/cvs/repository/jahia/core/src/webapp/WEB-INF/etc/spring/applicationcontext-metadata.xml,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- applicationcontext-metadata.xml 25 Feb 2005 14:35:10 -0000 1.5
+++ applicationcontext-metadata.xml 4 Apr 2005 10:16:58 -0000 1.6
@@ -327,44 +327,46 @@
<bean id="metadataAdvice"
class="org.jahia.services.metadata.MetadataAdvice">
<property name="listenersMap">
<map>
-<!-- <entry key="metadataEngineAfterInit">-->
-<!-- <list>-->
-<!-- <ref
bean="contentCreationDateListener"/>-->
-<!-- <ref
bean="contentCreatorListener"/>-->
-<!-- <ref
bean="contentLastContributorListener"/>-->
-<!-- <ref
bean="contentLastModificationDateListener"/>-->
-<!-- </list>-->
-<!-- </entry>-->
-<!-- <entry key="metadataEngineBeforeSave">-->
-<!-- <list>-->
-<!-- <ref
bean="contentLastContributorListener"/>-->
-<!-- <ref
bean="contentLastModificationDateListener"/>-->
-<!-- </list>-->
-<!-- </entry>-->
-<!-- <entry key="contentActivation">-->
-<!-- <list>-->
-<!-- <ref
bean="contentLastPublisherListener"/>-->
-<!-- <ref
bean="contentLastPublishingDateListener"/>-->
-<!-- </list>-->
-<!-- </entry>-->
-<!-- <entry key="contentObjectCreated">-->
-<!-- <list>-->
-<!-- <ref
bean="contentCreatorListener"/>-->
-<!-- <ref
bean="contentCreationDateListener"/>-->
-<!-- <ref
bean="contentLastContributorListener"/>-->
-<!-- <ref
bean="contentLastModificationDateListener"/>-->
-<!-- </list>-->
-<!-- </entry>-->
+ <entry key="metadataEngineAfterInit">
+ <list>
+ <ref
bean="contentCreationDateListener"/>
+ <ref
bean="contentCreatorListener"/>
+ <ref
bean="contentLastContributorListener"/>
+ <ref
bean="contentLastModificationDateListener"/>
+ </list>
+ </entry>
+ <entry key="metadataEngineBeforeSave">
+ <list>
+ <ref
bean="contentLastContributorListener"/>
+ <ref
bean="contentLastModificationDateListener"/>
+ </list>
+ </entry>
+ <entry key="contentActivation">
+ <list>
+ <ref
bean="contentLastPublisherListener"/>
+ <ref
bean="contentLastPublishingDateListener"/>
+ </list>
+ </entry>
+ <entry key="contentObjectCreated">
+ <list>
+ <ref
bean="contentCreatorListener"/>
+ <ref
bean="contentCreationDateListener"/>
+ <ref
bean="contentLastContributorListener"/>
+ <ref
bean="contentLastModificationDateListener"/>
+ </list>
+ </entry>
<!-- <entry key="contentObjectUpdated">-->
<!-- <list>-->
<!-- <ref
bean="contentLastContributorListener"/>-->
<!-- <ref
bean="contentLastModificationDateListener"/>-->
<!-- </list>-->
<!-- </entry>-->
-<!-- <entry key="objectChanged">-->
-<!-- <list>-->
-<!-- </list>-->
-<!-- </entry>-->
+ <entry key="objectChanged">
+ <list>
+ <ref bean="contentLastContributorListener"/>
+ <ref bean="contentLastModificationDateListener"/>
+ </list>
+ </entry>
</map>
</property>
<property name="eventWorkflowMappings">
@@ -413,7 +415,7 @@
</bean>
<bean id="contentLastModificationDateListener"
class="org.jahia.services.metadata.core.listeners.ContentLastModificationDateListener">
<property name="metadataName">
- <value>lastModifDate</value>
+ <value>lastModificationDate</value>
</property>
</bean>
<bean id="contentMetadataListener"
class="org.jahia.services.metadata.core.listeners.ContentMetadataListener">