Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 63123 invoked from network); 25 May 2005 17:16:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 25 May 2005 17:16:58 -0000 Received: (qmail 21643 invoked by uid 500); 25 May 2005 17:16:54 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 21548 invoked by uid 500); 25 May 2005 17:16: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 21535 invoked by uid 99); 25 May 2005 17:16:52 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from postfix3-1.free.fr (HELO postfix3-1.free.fr) (213.228.0.44) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 25 May 2005 10:16:51 -0700 Received: from [192.168.0.100] (lns-vlq-39f-81-56-134-235.adsl.proxad.net [81.56.134.235]) by postfix3-1.free.fr (Postfix) with ESMTP id 24B3B1734E0 for ; Wed, 25 May 2005 19:16:41 +0200 (CEST) Message-ID: <4294B2F8.8010607@apache.org> Date: Wed, 25 May 2005 19:16:40 +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: Small AJAX bugs inside repeaters References: <48959.10.0.0.1.1117019126.squirrel@ags01.agsoftware.dnsalias.com> In-Reply-To: <48959.10.0.0.1.1117019126.squirrel@ags01.agsoftware.dnsalias.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Antonio Gallardo wrote: >Hi: > >I tried to use AJAX inside a repeater. I have there 3 combos, but this >does not matter. Everything works good, but now the Add row button does >not work. I saw cocoon works, but the new line does not show. The same >apply while trying to remove a row. > >Am I missing something? > > Two important points: - update the stylesheets. For AJAX to work, every widget must translate to an element having the widget's full id. I added a few and
in the XSLs to achieve this. - you cannot use with AJAX, but two new and instructions (see e.g. dynamicrepeater_template.xml). Having an enclosing tag around the row iterator was needed to be able to produce the id mentioned below. Sylvain -- Sylvain Wallez Anyware Technologies http://apache.org/~sylvain http://anyware-tech.com Apache Software Foundation Member Research & Technology Director