From users-return-5535-apmail-jackrabbit-users-archive=jackrabbit.apache.org@jackrabbit.apache.org Wed Nov 21 18:32:01 2007 Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 96145 invoked from network); 21 Nov 2007 18:32:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Nov 2007 18:32:01 -0000 Received: (qmail 57938 invoked by uid 500); 21 Nov 2007 18:31:48 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 57910 invoked by uid 500); 21 Nov 2007 18:31:47 -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 57901 invoked by uid 99); 21 Nov 2007 18:31:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Nov 2007 10:31:47 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of anchela@day.com designates 62.192.10.254 as permitted sender) Received: from [62.192.10.254] (HELO goobak01.day.com) (62.192.10.254) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Nov 2007 18:31:48 +0000 Received: by goobak01.day.com (Postfix, from userid 1212) id A783750862; Wed, 21 Nov 2007 19:23:42 +0100 (CET) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.188]) by goobak01.day.com (Postfix) with ESMTP id 4FE2E50858 for ; Wed, 21 Nov 2007 19:23:42 +0100 (CET) Received: by nf-out-0910.google.com with SMTP id g13so2206087nfb for ; Wed, 21 Nov 2007 10:31:26 -0800 (PST) Received: by 10.82.190.2 with SMTP id n2mr2477963buf.1195669885175; Wed, 21 Nov 2007 10:31:25 -0800 (PST) Received: from ?10.0.0.88? ( [62.192.10.254]) by mx.google.com with ESMTPS id e11sm4240fga.2007.11.21.10.31.23 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 21 Nov 2007 10:31:24 -0800 (PST) Message-ID: <474479C1.7090506@day.com> Date: Wed, 21 Nov 2007 19:32:33 +0100 From: Angela Schreiber User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: users@jackrabbit.apache.org Subject: Re: WebDAV Question (default nodetype of the content) References: <9773d7dd0711210955l104e460fv96707d521bd990b1@mail.gmail.com> In-Reply-To: <9773d7dd0711210955l104e460fv96707d521bd990b1@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org hi alexandre Alexandre Martins wrote: > Why this change? maybe you missed the most recent discussion regarding this change :) see: http://www.mail-archive.com/dev@jackrabbit.apache.org/msg08343.html and the related jira issue: http://issues.apache.org/jira/browse/JCR-416 > I need to use the contentNodeType as nt:resource, Is it possible? yes. there a different ways to achieve this: - you create your own IOManager that initializes the DefaultHandler with a different node type for the jcr:content node. look at DefaultIOManager for an example. - you create an custom extension to the DefaultHandler and replace the corresponding line in the config.xml specifying your custom handler instead of the DefaultHandler. which way to choose depends on your requirements. hope that helps. angela