Return-Path: Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: (qmail 62562 invoked from network); 24 Apr 2009 12:12:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 24 Apr 2009 12:12:11 -0000 Received: (qmail 4940 invoked by uid 500); 24 Apr 2009 12:12:10 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 4901 invoked by uid 500); 24 Apr 2009 12:12:10 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 4890 invoked by uid 99); 24 Apr 2009 12:12:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Apr 2009 12:12:10 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of stefan.guggisberg@gmail.com designates 209.85.220.162 as permitted sender) Received: from [209.85.220.162] (HELO mail-fx0-f162.google.com) (209.85.220.162) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Apr 2009 12:12:02 +0000 Received: by fxm6 with SMTP id 6so703602fxm.43 for ; Fri, 24 Apr 2009 05:11:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=xBh8KSkxywUrLaqzOaG4m5bQXU0GRIzb62P0uxjFH4w=; b=d1MyX7JjYjp3T2RKT2UeoLfOlrYIgVF/ZexQ6LZGIGf6CZh+tMomxXWqxgTkhsvPgy sBAuvqmsrrVUtZGI9nsoJdVAA6T4YPiOBc715qT3+ZaDE9HXCfdFvIkabB8NEl1AwwUw yfuFhQNp+YuQSlBA36Nh6t7ZUHVrirefzqhhE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=xEp3qyp1R4wg8z6JJWZzDOAnzSLFFZaRWFJxSaQhxsDayUN5Su2Ogikqu9GYFrlnmD cXW0hHVVX0o957udvzYHjV6MaUQEA29Wz/RnaLQ9sq29dbwp7xxmiBblb3WHzEXgU1Pt 8aXC7DJAj6ahiIVkaIHTP0zZowWu6/cAIdUoo= MIME-Version: 1.0 Received: by 10.223.108.75 with SMTP id e11mr673320fap.51.1240575100545; Fri, 24 Apr 2009 05:11:40 -0700 (PDT) In-Reply-To: <23214921.post@talk.nabble.com> References: <23214921.post@talk.nabble.com> Date: Fri, 24 Apr 2009 14:11:40 +0200 Message-ID: <90a8d1c00904240511y5ddf5371gb2f8933ca0768835@mail.gmail.com> Subject: Re: Reset to empty value property that has constraints From: Stefan Guggisberg To: users@jackrabbit.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On Fri, Apr 24, 2009 at 1:53 PM, Kooper wrote: > > Hi, I have task to give ability to reset property that has constraints to > empty value, > e.g. > mandatory="false" onParentVersion="COPY" protected="false" multiple="false" >> > > Rain > Snow > Windy > Muddy > Cold > Hot > > > and of course when I try to set empty value I recieve constraint exception. > Currently I added empty constraint to property and it works > e.g. > mandatory="false" onParentVersion="COPY" protected="false" multiple="false" >> > > > Rain > Snow > Windy > Muddy > Cold > Hot > > > > , but may be there is more elegant way to do that? no. if a property has a constraint defined, its value must satisfy the constraint. cheers stefan > Thanks for your time. > -- > View this message in context: http://www.nabble.com/Reset-to-empty-value-property-that-has-constraints-tp23214921p23214921.html > Sent from the Jackrabbit - Users mailing list archive at Nabble.com. > >