Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 28011 invoked from network); 30 May 2005 08:55:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 30 May 2005 08:55:59 -0000 Received: (qmail 97315 invoked by uid 500); 30 May 2005 08:55:54 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 97210 invoked by uid 500); 30 May 2005 08:55:53 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@cocoon.apache.org List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 97197 invoked by uid 99); 30 May 2005 08:55:53 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from 10.21.96-84.rev.gaoland.net (HELO mail.anyware-tech.com) (84.96.21.10) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 30 May 2005 01:55:52 -0700 Received: from localhost (localhost [127.0.0.1]) by mail.anyware-tech.com (Postfix) with ESMTP id 156A934815 for ; Mon, 30 May 2005 10:55:39 +0200 (CEST) Received: from mail.anyware-tech.com ([127.0.0.1]) by localhost (trinity [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 23761-06 for ; Mon, 30 May 2005 10:55:37 +0200 (CEST) Received: from [10.0.0.27] (poukram.anyware [10.0.0.27]) by mail.anyware-tech.com (Postfix) with ESMTP id 34EDB3480A for ; Mon, 30 May 2005 10:55:37 +0200 (CEST) Message-ID: <429AD508.5060009@apache.org> Date: Mon, 30 May 2005 10:55:36 +0200 From: Sylvain Wallez Organization: Anyware Technologies User-Agent: Mozilla Thunderbird 1.0 (Macintosh/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Re: CForms:Selection List generated Repeater ?? References: <429A2761.9050303@apache.org> 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 anyware-tech.com X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N oceatoon wrote: >Hi Sylvain > > >>IIUC what you describe here is a kind of Map, where the key set would be >>the selection list and the values would be the widget rows. Am I right? >> >> >Yes that right > > >>I don't think we need a new widget type for this as the repeater is >>versatile enough. Either a binding or a helper on-create event listener >>should be what is needed to automate this. >> >> >Consistent you are, since you gave me the same answer the first time around ;) > LOL! I didn't remember my first answer :-) >And I followed your advise (I use binding JS) but it would make >the structure a lot simpler, and all definition would be in the model >(Respect to the SOC ;). >It's not a new widget just a new functionality to existing repeaters >enabling them to be mapped on a selection list. A repeater can only be >filled through binding or on-create listener and this would be yet another >initialisation possiblity. > > So what do you suggest: a new "mapped-repeater" widget which extends repeater with a selection-list to create the rows? There is a problem though: how would the repeater be loaded from existing data? What is the role of the selection list in that case? >sorry persistent I am. > > This I have seen :-) Sylvain -- Sylvain Wallez Anyware Technologies http://apache.org/~sylvain http://anyware-tech.com Apache Software Foundation Member Research & Technology Director