From 1194b7e6fdc44cefdf6b54b32a2a9faf8f287879 Mon Sep 17 00:00:00 2001 From: jensp Date: Fri, 20 Mar 2009 08:45:58 +0000 Subject: [PATCH] git-svn-id: https://svn.libreccm.org/ccm/trunk@114 8810af33-2d31-482b-a856-94f89814c4df --- ccm-cms-types-person/application.xml | 4 ++-- .../pdl/com/arsdigita/content-types/Person.pdl | 8 ++++---- .../src/com/argsdigita/cms/contenttypes/Person.java | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) 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";