Return-Path: Delivered-To: apmail-cocoon-users-fr-archive@www.apache.org Received: (qmail 80742 invoked from network); 22 Jun 2006 12:22:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 22 Jun 2006 12:22:11 -0000 Received: (qmail 47433 invoked by uid 500); 22 Jun 2006 12:22:11 -0000 Mailing-List: contact users-fr-help@cocoon.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users-fr@cocoon.apache.org Delivered-To: mailing list users-fr@cocoon.apache.org Received: (qmail 47422 invoked by uid 99); 22 Jun 2006 12:22:11 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Jun 2006 05:22:11 -0700 X-ASF-Spam-Status: No, hits=2.1 required=10.0 tests=NO_REAL_NAME,SUBJECT_ENCODED_TWICE X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [12.154.53.20] (HELO kanssmtp04.aventis.com) (12.154.53.20) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Jun 2006 05:22:08 -0700 Received: from kanssmtp04.mailrelay2.aventis.com ([204.126.89.30]) by kanssmtp04.aventis.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 22 Jun 2006 07:25:49 -0500 Received: from kansmxsint01.pharma.aventis.com ([157.206.110.35]) by kanssmtp04 with trend_isnt_name_B; Thu, 22 Jun 2006 07:25:49 -0500 Received: from brwsmxscon03.pharma.aventis.com ([155.65.235.59]) by kansmxsint01.pharma.aventis.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 22 Jun 2006 07:21:45 -0500 Received: from crbsmxscon01.pharma.aventis.com ([168.124.3.205]) by brwsmxscon03.pharma.aventis.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 22 Jun 2006 08:21:43 -0400 Received: from crbsmxsusr03.pharma.aventis.com ([168.124.3.208]) by crbsmxscon01.pharma.aventis.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 22 Jun 2006 14:21:35 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: =?iso-8859-1?Q?RE=3A_fb=3Avalue_et_valeurs_selectionn=E9es_dans_une_doubl?= =?iso-8859-1?Q?e-listbox?= Date: Thu, 22 Jun 2006 14:21:34 +0200 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: =?iso-8859-1?Q?fb=3Avalue_et_valeurs_selectionn=E9es_dans_une_double-list?= =?iso-8859-1?Q?box?= Thread-Index: AcaV4IMBkrVzD85lSqa2lfoJtWuMIQAFaj2w From: To: X-OriginalArrivalTime: 22 Jun 2006 12:21:35.0171 (UTC) FILETIME=[67268930:01C695F6] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N J'ai remis multiValueContext.removeAll(this.rowPath); et comment=E9 tout = le code qui suit la ligne // TODO: This is a workaround. Mais apr=E8s je ne sais pas trop comment faire pour que la modif soit = prise en compte.... B=E9reng=E8re -----Message d'origine----- De : Jean-Baptiste Quenot [mailto:jbq@apache.org] Envoy=E9 : Thursday, June 22, 2006 11:44 =C0 : users-fr@cocoon.apache.org Objet : Re: fb:value et valeurs selectionn=E9es dans une double-listbox OK je vois en effet: ------------------------------------------------------------------------ r348415 | giacomo | 2005-11-23 13:06:39 +0100 (Mer, 23 nov 2005) | 1 = line Changed paths: M = /cocoon/blocks/forms/trunk/java/org/apache/cocoon/forms/binding/MultiValu= eJXPathBinding.java workaround for non functional jxpathContext.removeAll method ------------------------------------------------------------------------ En fait l'attribut row-path qui est pass=E9 fournit l'expression XPath dans laquelle sont lues ou =E9crites les valeurs. Pour contourner un bug avec la m=E9thode context.removeAll() qui permet de supprimer tous les noeuds correspondant =E0 l'expression XPath, on =AB=A0bidouille=A0=BB l'expression XPath en rajoutant = la position des noeuds, par exemple product[3], product[2], product[1], et on appelle la m=E9thode context.removePath() successivement sur chacun de ces noeuds. Je te conseille d'essayer de remettre multiValueContext.removeAll(this.rowPath); et de supprimer tout le code qui suit la ligne // TODO: This is a workaround Si ca marche on peut corriger =E7a dans Cocoon. Un testcase serait bienvenu! Quelques fichiers simples qui d=E9montrent le probl=E8me. Bon courage, --=20 Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ --------------------------------------------------------------------- Liste francophone Apache Cocoon -- http://cocoon.apache.org/fr/ Pour vous desinscrire : mailto:users-fr-unsubscribe@cocoon.apache.org Autres commandes : mailto:users-fr-help@cocoon.apache.org --------------------------------------------------------------------- Liste francophone Apache Cocoon -- http://cocoon.apache.org/fr/ Pour vous desinscrire : mailto:users-fr-unsubscribe@cocoon.apache.org Autres commandes : mailto:users-fr-help@cocoon.apache.org