Return-Path: Delivered-To: apmail-incubator-jackrabbit-dev-archive@www.apache.org Received: (qmail 95373 invoked from network); 22 Nov 2005 11:26:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 22 Nov 2005 11:26:20 -0000 Received: (qmail 45618 invoked by uid 500); 22 Nov 2005 11:26:19 -0000 Mailing-List: contact jackrabbit-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jackrabbit-dev@incubator.apache.org Delivered-To: mailing list jackrabbit-dev@incubator.apache.org Received: (qmail 45607 invoked by uid 99); 22 Nov 2005 11:26:18 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Nov 2005 03:26:18 -0800 Received-SPF: pass (asf.osuosl.org: local policy) Received: from [213.229.60.39] (HELO smartmx-07.inode.at) (213.229.60.39) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Nov 2005 03:27:51 -0800 Received: from [83.65.74.200] (port=52533 helo=mail.systemone.at) by smartmx-07.inode.at with esmtp (Exim 4.50) id 1EeWHb-0006dN-Oo for jackrabbit-dev@incubator.apache.org; Tue, 22 Nov 2005 12:25:55 +0100 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.systemone.at (Postfix) with ESMTP id A80208011001 for ; Tue, 22 Nov 2005 12:25:53 +0100 (CET) Received: from mail.systemone.at ([127.0.0.1]) by localhost (mars [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 15034-08 for ; Tue, 22 Nov 2005 12:25:35 +0100 (CET) Received: from [192.168.20.13] (unknown [192.168.20.13]) by mail.systemone.at (Postfix) with ESMTP id 345D58011000 for ; Tue, 22 Nov 2005 12:25:35 +0100 (CET) Message-ID: <43830034.3070601@systemone.at> Date: Tue, 22 Nov 2005 12:25:40 +0100 From: Roland Kofler User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en MIME-Version: 1.0 To: jackrabbit-dev@incubator.apache.org Subject: Re: Automatic Addition and Removal of Mixins References: <4382F1BD.6020600@systemone.at> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at systemone.at X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Thank you! David Nuescheler schrieb: >hi roland, > > > >>The JCR Specs says: >>7.4.4 Automatic Addition and Removal of Mixins >>A repository may automatically assign a mixin type to a node upon >>creation. >>do you have this feature? >> >> >this is not really something that i would see as a feature. >this has been put into the spec to allow a repository to add/remove >mixins that are not reflected in the nodetype hierarchy. > >a "proper" repository allows you to model the the mixins into >the nodetype hierarchy. so if you want to your nodetype >"document" to be automatically "mix:referenceable" you may just add >"mix:referenceable" to its supertypes. see for example "nt:resource" >http://jsr170tools.day.com/crx/nodetypes/browser.jsp?nodetype=nt%3aresource > >regards, >david > > >