Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 91185 invoked from network); 11 Mar 2004 02:18:01 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 11 Mar 2004 02:18:01 -0000 Received: (qmail 24973 invoked by uid 500); 11 Mar 2004 02:17:42 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 24917 invoked by uid 500); 11 Mar 2004 02:17:41 -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 Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 24901 invoked from network); 11 Mar 2004 02:17:41 -0000 Received: from unknown (HELO mail.gmx.net) (213.165.64.20) by daedalus.apache.org with SMTP; 11 Mar 2004 02:17:41 -0000 Received: (qmail 8296 invoked by uid 65534); 11 Mar 2004 02:17:49 -0000 Received: from a183069.studnetz.uni-leipzig.de (EHLO gmx.de) (139.18.183.69) by mail.gmx.net (mp010) with SMTP; 11 Mar 2004 03:17:49 +0100 X-Authenticated: #3483660 Message-ID: <404FCC5E.6000708@gmx.de> Date: Thu, 11 Mar 2004 03:18:06 +0100 From: Joerg Heinicke User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: de-de, de, en-us, en-gb, en MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Re: [CForms] Support for multipe unique-row-id in Repeater References: <34625.10.0.0.5.1078060620.squirrel@ags01.agsoftware.dnsalias.com> <20040301025558.GF24612@keow.org> <35527.10.0.0.5.1078112127.squirrel@ags01.agsoftware.dnsalias.com> <35234.10.0.0.5.1078253399.squirrel@ags01.agsoftware.dnsalias.com> <40464D24.1030309@gmx.de> <34306.10.0.0.5.1078373059.squirrel@ags01.agsoftware.dnsalias.com> <4047CC65.8010805@gmx.de> <35734.10.0.0.5.1078449020.squirrel@ags01.agsoftware.dnsalias.com> <4047D8A5.8010501@gmx.de> <20040305030744.GN24612@keow.org> <40488CF3.6000705@reverycodes.com> <4048AEBE.6020801@outerthought.org> In-Reply-To: <4048AEBE.6020801@outerthought.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On 05.03.2004 17:45, Marc Portier wrote: >> Yes, I only see that wb:unique-row (grouped by type: unique or not >> unique) is >> outside of wb:on-bind (grouped by event: on-bind, on-insert, >> on-delete) though >> it is executed also at on-bind event. > > yes, but do you find that surprising? > (in fact all of the on-bind is implicit on-insert as well) I see. > see my question about 'suprise' above: > I don't think the cost in verbosity is gained by clarity here? > > I think replacing wb:unique-row with wb:identity does a far better job > at adding clarity. All together we are at: > IMHO the behaviour of what happens on the on-bind event is more related > to the 'strategy' of the repeater as discussed here: > > http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=107062679414114&w=2 > > my proposal would be to mix-in the @strategy and have the docos > introduce the clarity on what happens in 'on-bind' > > wdyt? I read all the threads and use cases. And yes, a unification of the different repeater bindings is desirable goal. @strategy or @type or ... is a good way to specify this explicitely. Also the unification for binding to bean or XML is a one. This ends at the latest with the repeater at the moment as the @parent-path/@row-path is different for beans and XML. Joerg