Ergänzungen an den TraversalAdaptern für SciPublications

git-svn-id: https://svn.libreccm.org/ccm/trunk@841 8810af33-2d31-482b-a856-94f89814c4df
master
jensp 2011-04-08 13:55:01 +00:00
parent ea218d99b7
commit 51fa4c275b
6 changed files with 24 additions and 3 deletions

View File

@ -7,7 +7,7 @@
<xrd:context name="com.arsdigita.cms.dispatcher.SimpleXMLGenerator" > <xrd:context name="com.arsdigita.cms.dispatcher.SimpleXMLGenerator" >
<xrd:adapter objectType="com.arsdigita.cms.contenttypes.ArticleInCollectedVolume" <xrd:adapter objectType="com.arsdigita.cms.contenttypes.ArticleInCollectedVolume"
extends="com.arsdigita.cms.contenttypes.PublicationWithPublisher"> extends="com.arsdigita.cms.contenttypes.Publication">
<xrd:associations rule="include"> <xrd:associations rule="include">
<xrd:property name="/object/collectedVolume"/> <xrd:property name="/object/collectedVolume"/>
</xrd:associations> </xrd:associations>

View File

@ -7,7 +7,7 @@
<xrd:context name="com.arsdigita.cms.dispatcher.SimpleXMLGenerator" > <xrd:context name="com.arsdigita.cms.dispatcher.SimpleXMLGenerator" >
<xrd:adapter objectType="com.arsdigita.cms.contenttypes.ArticleInJournal" <xrd:adapter objectType="com.arsdigita.cms.contenttypes.ArticleInJournal"
extends="com.arsdigita.cms.contenttypes.PublicationWithPublisher"> extends="com.arsdigita.cms.contenttypes.Publication">
<xrd:associations rule="include"> <xrd:associations rule="include">
<xrd:property name="/object/journal"/> <xrd:property name="/object/journal"/>
</xrd:associations> </xrd:associations>

View File

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<xrd:adapters
xmlns:xrd="http://xmlns.redhat.com/schemas/waf/xml-renderer-rules"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://rhea.redhat.com/schemas/waf/xml-renderer-rules xml-renderer-rules.xsd">
<xrd:context name="com.arsdigita.cms.dispatcher.SimpleXMLGenerator" >
<xrd:adapter objectType="com.arsdigita.cms.contenttypes.InProceedings"
extends="com.arsdigita.cms.contenttypes.Publication">
<xrd:associations rule="include">
<xrd:property name="/object/proceedings"/>
</xrd:associations>
</xrd:adapter>
</xrd:context>
</xrd:adapters>

View File

@ -11,6 +11,7 @@
<xrd:associations rule="include"> <xrd:associations rule="include">
<xrd:property name="/object/papers"/> <xrd:property name="/object/papers"/>
<xrd:property name="/object/papers/authors"/>
<xrd:property name="/object/organizer"/> <xrd:property name="/object/organizer"/>
</xrd:associations> </xrd:associations>

View File

@ -12,6 +12,8 @@
<xrd:associations rule="include"> <xrd:associations rule="include">
<xrd:property name="/object/editors"/> <xrd:property name="/object/editors"/>
<xrd:property name="/object/publications"/> <xrd:property name="/object/publications"/>
<xrd:property name="/object/publications/authors"/>
<xrd:property name="/object/publications/publisher"/>
</xrd:associations> </xrd:associations>
</xrd:adapter> </xrd:adapter>

View File

@ -42,7 +42,7 @@ public class InProceedingsInitializer extends ContentTypeInitializer {
@Override @Override
public String getTraversalXML() { public String getTraversalXML() {
return "/WEB-INF/traversal-adapters/com/arsdigita/cms/contenttypes/PublicationWithPublisher.xml"; return "/WEB-INF/traversal-adapters/com/arsdigita/cms/contenttypes/InProceedings.xml";
} }
} }