From a28d3f7dfb44118cc33a7fe1aae37b099f7d24ad Mon Sep 17 00:00:00 2001 From: quasi Date: Tue, 7 Dec 2010 21:18:59 +0000 Subject: [PATCH] GenericArticleImageAssociation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Die geänderte PDL für GenericArticle git-svn-id: https://svn.libreccm.org/ccm/trunk@645 8810af33-2d31-482b-a856-94f89814c4df --- .../content-types/GenericArticle.pdl | 40 +++++++++---------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/ccm-cms/pdl/com/arsdigita/content-types/GenericArticle.pdl b/ccm-cms/pdl/com/arsdigita/content-types/GenericArticle.pdl index cf41c974c..9ae6831dc 100644 --- a/ccm-cms/pdl/com/arsdigita/content-types/GenericArticle.pdl +++ b/ccm-cms/pdl/com/arsdigita/content-types/GenericArticle.pdl @@ -28,23 +28,23 @@ object type GenericArticle extends TextPage { } -association { - - component GenericArticleImageAssociation[0..n] imageCaptions = join cms_articles.article_id - to cms_article_image_map.article_id; - - GenericArticle[1..1] captionArticle = join cms_article_image_map.article_id to cms_articles.article_id; - -} - -object type GenericArticleImageAssociation extends ContentItem { - String[0..1] caption = cms_article_image_map.caption VARCHAR(4000); - - // Only including these ID attributes for legacy purposes - BigDecimal[0..1] articleId = cms_article_image_map.article_id INTEGER; - BigDecimal[0..1] imageId = cms_article_image_map.image_id INTEGER; - composite ReusableImageAsset[0..1] imageAsset = join cms_article_image_map.image_id - to cms_images.image_id; - - reference key (cms_article_image_map.map_id); -} +//association { +// +// component GenericArticleImageAssociation[0..n] imageCaptions = join cms_articles.article_id +// to cms_article_image_map.article_id; +// +// GenericArticle[1..1] captionArticle = join cms_article_image_map.article_id to cms_articles.article_id; +// +//} +// +//object type GenericArticleImageAssociation extends ContentItem { +// String[0..1] caption = cms_article_image_map.caption VARCHAR(4000); +// +// // Only including these ID attributes for legacy purposes +// BigDecimal[0..1] articleId = cms_article_image_map.article_id INTEGER; +// BigDecimal[0..1] imageId = cms_article_image_map.image_id INTEGER; +// composite ReusableImageAsset[0..1] imageAsset = join cms_article_image_map.image_id +// to cms_images.image_id; +// +// reference key (cms_article_image_map.map_id); +//}