From 962227d4e6e36e18138f431736b7e3dcc31ea474 Mon Sep 17 00:00:00 2001 From: quasi Date: Thu, 11 Aug 2011 09:51:12 +0000 Subject: [PATCH] CT Image MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Beschreibungsfeld auf 1000 Zeichen verlängert. Siehe Ticket #549 Zur zeit kein Update-Skript vorhanden. git-svn-id: https://svn.libreccm.org/ccm/trunk@1057 8810af33-2d31-482b-a856-94f89814c4df --- ccm-cms-types-image/pdl/com/arsdigita/content-types/Image.pdl | 2 +- .../com/arsdigita/cms/contenttypes/ui/ImagePropertyForm.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ccm-cms-types-image/pdl/com/arsdigita/content-types/Image.pdl b/ccm-cms-types-image/pdl/com/arsdigita/content-types/Image.pdl index 291721528..d9f684427 100755 --- a/ccm-cms-types-image/pdl/com/arsdigita/content-types/Image.pdl +++ b/ccm-cms-types-image/pdl/com/arsdigita/content-types/Image.pdl @@ -12,7 +12,7 @@ object type Image extends ContentPage { BigDecimal[0..1] height = ct_images.height INTEGER; String [0..1] caption = ct_images.caption VARCHAR(400); - String [0..1] description = ct_images.description VARCHAR(500); + String [0..1] description = ct_images.description VARCHAR(1000); String [0..1] artist = ct_images.artist VARCHAR(200); Date [0..1] publishDate = ct_images.publish_date DATE; Boolean[0..1] skipDay = ct_images.skip_day; diff --git a/ccm-cms-types-image/src/com/arsdigita/cms/contenttypes/ui/ImagePropertyForm.java b/ccm-cms-types-image/src/com/arsdigita/cms/contenttypes/ui/ImagePropertyForm.java index c82a8a35b..2b9dccf2b 100755 --- a/ccm-cms-types-image/src/com/arsdigita/cms/contenttypes/ui/ImagePropertyForm.java +++ b/ccm-cms-types-image/src/com/arsdigita/cms/contenttypes/ui/ImagePropertyForm.java @@ -94,7 +94,7 @@ public class ImagePropertyForm add(new Label(ImageGlobalizationUtil.globalize("cms.contenttypes.ui.description"))); ParameterModel descriptionParam = new StringParameter(Image.DESCRIPTION); - descriptionParam.addParameterListener(new StringInRangeValidationListener(0, 500)); + descriptionParam.addParameterListener(new StringInRangeValidationListener(0, 1000)); TextArea description = new TextArea(descriptionParam); description.setRows(10); description.setCols(60);