Return-Path: Delivered-To: apmail-cocoon-users-fr-archive@www.apache.org Received: (qmail 20214 invoked from network); 8 Feb 2006 08:34:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 8 Feb 2006 08:34:29 -0000 Received: (qmail 28520 invoked by uid 500); 8 Feb 2006 08:34:28 -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 28508 invoked by uid 99); 8 Feb 2006 08:34:28 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Feb 2006 00:34:28 -0800 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=NO_REAL_NAME 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; Wed, 08 Feb 2006 00:34:27 -0800 Received: from kanssmtp04.mailrelay2.aventis.com ([204.126.89.30]) by kanssmtp04.aventis.com with Microsoft SMTPSVC(6.0.3790.1830); Wed, 8 Feb 2006 02:35:12 -0600 Received: from kansmxsint01.pharma.aventis.com ([157.206.110.35]) by kanssmtp04 with trend_isnt_name_B; Wed, 08 Feb 2006 02:35:11 -0600 Received: from brwsmxscon01.pharma.aventis.com ([155.65.235.57]) by kansmxsint01.pharma.aventis.com with Microsoft SMTPSVC(6.0.3790.1830); Wed, 8 Feb 2006 02:34:03 -0600 Received: from crbsmxscon01.pharma.aventis.com ([168.124.3.205]) by brwsmxscon01.pharma.aventis.com with Microsoft SMTPSVC(6.0.3790.1830); Wed, 8 Feb 2006 03:34:02 -0500 Received: from crbsmxsusr03.pharma.aventis.com ([168.124.3.208]) by crbsmxscon01.pharma.aventis.com with Microsoft SMTPSVC(6.0.3790.1830); Wed, 8 Feb 2006 09:33:38 +0100 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: RE: compiler code java Date: Wed, 8 Feb 2006 09:33:38 +0100 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: compiler code java Thread-Index: AcYsCkZRT584OADARCKzkwCq/P2PVgAf/b5w From: To: X-OriginalArrivalTime: 08 Feb 2006 08:33:38.0723 (UTC) FILETIME=[5BFFAF30:01C62C8A] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Non, aucun message d'erreur...mais mon tableau r=E9sultant de mon = repeater est toujours vide... -----Message d'origine----- De : Philippe Gassmann [mailto:philippe.gassmann@anyware-tech.com] Envoy=E9 : Tuesday, February 07, 2006 18:16 =C0 : users-fr@cocoon.apache.org Objet : Re: compiler code java Il y a un message d'erreur ? Berengere.Genin@sanofi-aventis.com a =E9crit : >Je r=E9capitule: >Voil=E0 ce que j'ai ecrit: > var repeater =3D form.getChild("page3/all_locus"); > repeater.addRow(); > var row =3D repeater.getRow(0); > var field =3D row.getChild("locus"); > field.setValue("6p"); > form.showForm("multipage-display-pipeline.jx"); > >Mais toujours pas OK... :-( > >-----Message d'origine----- >De : Philippe Gassmann [mailto:philippe.gassmann@anyware-tech.com] >Envoy=E9 : Tuesday, February 07, 2006 18:06 >=C0 : users-fr@cocoon.apache.org >Objet : Re: compiler code java > > >Philippe Gassmann a =E9crit : > > =20 > >>Philippe Gassmann a =E9crit : >> >> =20 >> >>>Berengere.Genin@sanofi-aventis.com a =E9crit : >>> >>> =20 >>> >>>>C'est justement ce que j'=E9tais en train de faire (flowscript) >>>>Mais, =E7a ne marche pas... >>>>En fait, j'ai un formulaire multipage dans lequel se trouve un=20 >>>>repeater (=E0 la 3e page) >>>>Ce que je voudrais faire c'est initialiser la premi=E8re ligne de ce = >>>>repeater. >>>>Voila un extrait de mon fichier xml de d=E9finition et un extrait de = >>>>mon flowscript. >>>> >>>>multipage_model.xml: >>>> >>>>[...] >>>>- >>>xmlns:i18n=3D"http://apache.org/cocoon/i18n/2.1"=20 >>>>xmlns:xi=3D"http://www.w3.org/2001/XInclude"> >>>>- >>>>+ >>>>[...] >>>>+ >>>>[...] >>>>+ >>>>- >>>>- >>>>+ >>>>+ >>>>+ >>>>+ >>>>+ >>>>[...] >>>> >>>> >>>>forms_flow.js: >>>> >>>>[...] >>>>var repeater =3D form.getChild("page3/all_locus"); >>>>repeater.addRow(); >>>>=20 >>>> >>>> =20 >>>> >>>Ce qui suit n'est pas correct : >>> >>> =20 >>> >>>>var field =3D repeater.getWidget(0, "page3/locus"); >>>>=20 >>>> >>>> =20 >>>> >>>je pense que repeater.getChildt("locus") est plus adapt=E9, car tu ne = >>>dois pas repr=E9ciser page3 (tu est dans le context du repeater). >>> >>> =20 >>> >>Oups ! je voulais bien entendu =E9crire : repeater.getChild("locus") >> >> =20 >> >Re oups, ce que je raconte est totalement faux !! > >j'ai oubli=E9 de r=E9cuprer la ligne >var row =3D repeater.getRow(0); >var field =3D row.getChild("locus") > > > > > > =20 > >>>>field.setValue("6p"); >>>>form.showForm("multipage-display-pipeline.jx"); >>>>[...] >>>>=20 >>>> >>>> =20 >>>> >>>Philippe. >>> >>>--------------------------------------------------------------------- >>>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 >>> >>> =20 >>> >> =20 >> > > > =20 > --=20 Philippe GASSMANN Syst=E8mes d'Information ANYWARE TECHNOLOGIES Tel : +33 (0)5 61 00 52 90 Fax : +33 (0)5 61 00 51 46 http://www.anyware-tech.com/ --------------------------------------------------------------------- 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