Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 81967 invoked from network); 22 May 2007 08:35:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 May 2007 08:35:17 -0000 Received: (qmail 59774 invoked by uid 500); 22 May 2007 08:35:22 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 59762 invoked by uid 500); 22 May 2007 08:35:21 -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 59753 invoked by uid 99); 22 May 2007 08:35:21 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 May 2007 01:35:21 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [62.192.10.254] (HELO picanmix.dev.day.com) (62.192.10.254) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 May 2007 01:35:13 -0700 Received: from deliverix.day.com (deliverix.day.com [10.0.0.7]) by picanmix.dev.day.com (DAY) with ESMTP id l4M8UBX08107 for ; Tue, 22 May 2007 10:30:11 +0200 (MEST) Received: from [10.0.0.91] ([10.0.0.91]) by deliverix.day.com (Lotus Domino Release 6.5.1) with ESMTP id 2007052210345507-52759 ; Tue, 22 May 2007 10:34:55 +0200 Message-ID: <4652AB4E.4000401@day.com> Date: Tue, 22 May 2007 10:35:26 +0200 From: Angela Schreiber User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: users@jackrabbit.apache.org Subject: Re: Using nt:linkedFile's in WebDav References: <464BC8CE.4080800@caret.cam.ac.uk> In-Reply-To: <464BC8CE.4080800@caret.cam.ac.uk> X-MIMETrack: Itemize by SMTP Server on dmail/Day(Release 6.5.1|January 21, 2004) at 05/22/2007 10:34:55, Serialize by Router on dmail/Day(Release 6.5.1|January 21, 2004) at 05/22/2007 10:34:57, Serialize complete at 05/22/2007 10:34:57 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=ISO-8859-1; format=flowed X-Virus-Checked: Checked by ClamAV on apache.org hi > I currently have the Jackrabbit WebDAV pointing to a repository we are > using. In my repository I've programmatically created some nodes of > type nt:linkedFile that Reference other nt:folders in the repository. but nt:folder is not referenceable, right? i assume, you added the mixin manually... > When I click on one of the nt:linkedFile's in a WebDAV it just shows the > empty folder (since it has no child nodes). your nt:linkedFile is recognized as 'collection', because in the default configuration it is not listed in the section. if it was listed there, the nt:linkedFile would be displayed as non-collection resource, which is probably not what you want, if your nt:linkedFile points to nt:folder nodes. > Is there a way to get the JackRabbit WebDAV to follow the Reference in a > nt:linkedFile to the linked directory? you can add a custom 'IOHandler' implementation (see config.xml again) that resolves the reference stored in the jcr:content property of your nt:linkedFile. hope that helps angela