Return-Path: Delivered-To: apmail-cocoon-users-fr-archive@www.apache.org Received: (qmail 769 invoked from network); 22 Jun 2006 09:06:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 22 Jun 2006 09:06:13 -0000 Received: (qmail 60109 invoked by uid 500); 22 Jun 2006 09:06:12 -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 60098 invoked by uid 99); 22 Jun 2006 09:06:12 -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 02:06:12 -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 02:06:11 -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 04:09:52 -0500 Received: from kansmxsint01.pharma.aventis.com ([157.206.110.35]) by kanssmtp04 with trend_isnt_name_B; Thu, 22 Jun 2006 04:09:52 -0500 Received: from brwsmxscon02.pharma.aventis.com ([155.65.235.58]) by kansmxsint01.pharma.aventis.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 22 Jun 2006 04:05:48 -0500 Received: from crbsmxscon01.pharma.aventis.com ([168.124.3.205]) by brwsmxscon02.pharma.aventis.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 22 Jun 2006 05:05:48 -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 11:05:18 +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 11:05:17 +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: AcaV2V0f6jpN05s2S8epSP+r5nMbeQAACp5A From: To: X-OriginalArrivalTime: 22 Jun 2006 09:05:18.0026 (UTC) FILETIME=[FB6CD2A0:01C695DA] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N En fait, c'est en comparant MultiValueJXPathBinding.java de la version = 2.1.8 et 2.1.9 que j'ai vue que diff=E9rentes petites choses avaient = chang=E9. Ci-dessous les diff=E9rences: lignes 17a18,19: version 2.1.8: import java.util.ArrayList; version 2.1.8: import java.util.Collections; lignes 19a22: version 2.1.8: import java.util.List; lignes 23d25: version 2.1.9: import = org.apache.cocoon.forms.datatype.convertor.ConversionResult; lignes 24a27: version 2.1.8: import = org.apache.cocoon.forms.datatype.convertor.ConversionResult; lignes 33c36: version 2.1.9: * @version $Id: MultiValueJXPathBinding.java 360122 = 2005-12-30 17:47:33Z cziegeler $ --- version 2.1.8: * @version $Id: MultiValueJXPathBinding.java 289538 = 2005-09-16 13:46:22Z sylvain $ lignes 116c119: version 2.1.9: // list because of a bug in JXPath I wasn't able = to locate). --- version 2.1.8: // list because of a bug in JXPath) so I had to = work out another immediate solution lignes 119d121: version 2.1.9: // TODO: This is a workaround until the bug in = commons-jxpath is found, fixed and released lignes 121c123: version 2.1.9: int cnt =3D 0; --- version 2.1.8: List l =3D new ArrayList(); lignes 124,125c126,127: version 2.1.9: cnt++; version 2.1.9: rowPointers.next(); --- version 2.1.8: Pointer p =3D (Pointer)rowPointers.next(); version 2.1.8: l.add(p.asPath()); lignes 127c129,130: version 2.1.9: while( cnt >=3D 1 ) --- version 2.1.8: Collections.sort(l); version 2.1.8: for( int i =3D l.size()-1; i >=3D 0; i-- ) lignes 129,131c132: version 2.1.9: String thePath =3D this.rowPath + "[" + cnt = + "]"; version 2.1.9: multiValueContext.removePath(thePath); version 2.1.9: cnt--; --- version 2.1.8: = multiValueContext.removePath((String)l.get(i)); Voili, je ne sais pas trop comment m'y prendre. Merci. B=E9reng=E8re -----Message d'origine----- De : Jean-Baptiste Quenot [mailto:jbq@apache.org] Envoy=E9 : Thursday, June 22, 2006 10:53 =C0 : users-fr@cocoon.apache.org Objet : Re: fb:value et valeurs selectionn=E9es dans une double-listbox * Berengere.Genin@sanofi-aventis.com: > je viens de remarquer que MultiValueJXPathBinding.java a chang=E9 > entre la version 2.1.8 er la 2.1.9, y aurait-il un rapport avec > mon probl=E8me? Bonjour B=E9rang=E8re, Non le code n'a pas chang=E9, qu'est-ce qui te fait dire =E7a? --=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