diff --git a/ccm-cms-types-person/application.xml b/ccm-cms-types-person/application.xml index 937fb39c0..34ca9f5cc 100644 --- a/ccm-cms-types-person/application.xml +++ b/ccm-cms-types-person/application.xml @@ -6,8 +6,8 @@ release="1" webapp="ROOT"> - - + + diff --git a/ccm-cms-types-person/pdl/com/arsdigita/content-types/Person.pdl b/ccm-cms-types-person/pdl/com/arsdigita/content-types/Person.pdl index a31df43a6..9075bb613 100644 --- a/ccm-cms-types-person/pdl/com/arsdigita/content-types/Person.pdl +++ b/ccm-cms-types-person/pdl/com/arsdigita/content-types/Person.pdl @@ -4,9 +4,9 @@ import com.arsdigita.cms.ContentItem; object type Person extends ContentItem { String[0..1] surname = ct_persons.surname VARCHAR(512); - String[0..1] givenname = ct.persons.givenname VARCHAR(512); - String[0..1] titlepre = ct.persons.titlepre VARCHAR(256); - String[0..1] titlepost = ct.persons.titlepost VARCHAR(256); + String[0..1] givenname = ct_persons.givenname VARCHAR(512); + String[0..1] titlepre = ct_persons.titlepre VARCHAR(256); + String[0..1] titlepost = ct_persons.titlepost VARCHAR(256); - reference key (ct.persons.person_id); + reference key (ct_persons.person_id); } \ No newline at end of file diff --git a/ccm-cms-types-person/src/com/argsdigita/cms/contenttypes/Person.java b/ccm-cms-types-person/src/com/argsdigita/cms/contenttypes/Person.java index e2722f5b6..2520b92ee 100644 --- a/ccm-cms-types-person/src/com/argsdigita/cms/contenttypes/Person.java +++ b/ccm-cms-types-person/src/com/argsdigita/cms/contenttypes/Person.java @@ -6,7 +6,7 @@ package com.argsdigita.cms.contenttypes; import com.arsdigita.cms.ContentType; -import com.arsdigita.cms.ContentPage; +import com.arsdigita.cms.ContentItem; import com.arsdigita.domain.DataObjectNotFoundException; import com.arsdigita.persistence.DataObject; import com.arsdigita.persistence.OID; @@ -18,7 +18,7 @@ import java.math.BigDecimal; * * @author Jens Pelzetter */ -public class Person extends ContentPage { +public class Person extends ContentItem { public static final String SURNAME = "surname"; public static final String GIVENNAME = "givenname";