Return-Path: X-Original-To: apmail-jackrabbit-users-archive@minotaur.apache.org Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 84DE3DB78 for ; Fri, 17 Aug 2012 15:04:54 +0000 (UTC) Received: (qmail 10661 invoked by uid 500); 17 Aug 2012 15:04:54 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 10612 invoked by uid 500); 17 Aug 2012 15:04:54 -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 10604 invoked by uid 99); 17 Aug 2012 15:04:54 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Aug 2012 15:04:54 +0000 Received: from localhost (HELO mail-lb0-f170.google.com) (127.0.0.1) (smtp-auth username bdelacretaz, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Aug 2012 15:04:53 +0000 Received: by lbbgp3 with SMTP id gp3so4358877lbb.1 for ; Fri, 17 Aug 2012 08:04:51 -0700 (PDT) MIME-Version: 1.0 Received: by 10.152.132.133 with SMTP id ou5mr5123052lab.45.1345215891508; Fri, 17 Aug 2012 08:04:51 -0700 (PDT) Received: by 10.112.18.8 with HTTP; Fri, 17 Aug 2012 08:04:51 -0700 (PDT) In-Reply-To: <20120817135923.113030@gmx.com> References: <20120817135923.113030@gmx.com> Date: Fri, 17 Aug 2012 17:04:51 +0200 Message-ID: Subject: Re: How to please From: Bertrand Delacretaz To: users@jackrabbit.apache.org Content-Type: text/plain; charset=UTF-8 On Fri, Aug 17, 2012 at 3:59 PM, Alex Leshinsky wrote: > .... The items actually live in a different tree (credential profiles belonging to individual users). And an item can only belong to one category. > So that I need to model a one-to-many scheme (one category many items). Any suggestions in this regard?... The way we manage tags in CQ5 is similar to that, see http://dev.day.com/content/ddc/blog/2009/04/cq5tags.html (but images are missing ATM for some reason, the archive at [1] has them) -Bertrand [1] http://web.archive.org/web/20100525111329/http://dev.day.com/content/ddc/blog/2009/04/cq5tags.html?