Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 66221 invoked from network); 14 Mar 2005 20:21:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 14 Mar 2005 20:21:15 -0000 Received: (qmail 94153 invoked by uid 500); 14 Mar 2005 20:21:10 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 94104 invoked by uid 500); 14 Mar 2005 20:21:09 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: users@cocoon.apache.org Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 94091 invoked by uid 99); 14 Mar 2005 20:21:09 -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 smtp-vbr15.xs4all.nl (HELO smtp-vbr15.xs4all.nl) (194.109.24.35) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 14 Mar 2005 12:21:08 -0800 Received: from [192.168.1.15] (a80-126-53-97.adsl.xs4all.nl [80.126.53.97]) by smtp-vbr15.xs4all.nl (8.12.11/8.12.11) with ESMTP id j2EKKNlY019063 for ; Mon, 14 Mar 2005 21:21:05 +0100 (CET) (envelope-from rob@robinwyles.com) Mime-Version: 1.0 (Apple Message framework v619.2) In-Reply-To: References: <1110826219.882.7.camel@realtor.nicaraguarealestate.com> <1110826657.882.10.camel@realtor.nicaraguarealestate.com> <1110828936.882.18.camel@realtor.nicaraguarealestate.com> Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Message-Id: <3695c38c89b932912e28fbb4dbca044b@robinwyles.com> Content-Transfer-Encoding: quoted-printable From: Robin Wyles Subject: Re: flow-jxpath implementation of selectionList widget Date: Mon, 14 Mar 2005 21:21:12 +0100 To: users@cocoon.apache.org X-Mailer: Apple Mail (2.619.2) X-Virus-Scanned: by XS4ALL Virus Scanner X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N See here for more info: http://cocoon.apache.org/2.1/userdocs/forms/=20 datatypes.html#Selection+lists%3A+flow-jxpath+implementation On 14 Mar 2005, at 21:20, Robin Wyles wrote: > Jorge, > > My mistake... you pass the object to the showForm method... > > var form =3D new Form("your-form-definition-file"); > form.showForm("your-form-template-file", {"col1": collection_1, =20 > "col2": collection_2"}); > > Robin > > On 14 Mar 2005, at 20:35, Jorge Davila wrote: > >> Well ... I put the code: >> >> >> var form =3D new Form("your-form-definition-file", {"col1": =20 >> collection_1, >> "col2": collection_2"}); >> >> after the calls to fill the collections (in the flow script) and the >> multivalue fields are showed but they are empty :-( >> >> >> El lun, 14-03-2005 a las 20:11 +0100, Robin Wyles escribi=F3: >>> Jorge, >>> >>> When you create your form definition you can pass objects like this: >>> >>> var form =3D new Form("your-form-definition-file", {"col1": =20 >>> collection_1, >>> "col2": collection_2"}); >>> form.showForm("your-form-template-file"); >>> >>> The "col1" and "col2" are the names use to refer to the collections =20= >>> in >>> your form definition. >>> >>> Hope this helps... >>> >>> Robin >>> >>> On 14 Mar 2005, at 19:57, Jorge Davila wrote: >>> >>>> Sorry for my bad english ... the idea is call the form constructor =20= >>>> and >>>> pass to him two collections to fill two multivalue fields =20 >>>> implemented >>>> via flow-jxpath >>>> >>>> El lun, 14-03-2005 a las 12:50 -0600, Jorge Davila escribi=F3: >>>>> Well... >>>>> >>>>> I try two put two multivalue field in a form implemented using =20 >>>>> flow- >>>>> jxpath ... >>>>> >>>>> In the docs... the call to pass the collection to the form is: >>>>> >>>>> form.showForm("new-sector", muns); >>>>> >>>>> where "sector" is the name of the form (or his call in the = sitemap) >>>>> and >>>>> muns is the collection that will fill a field (a multivalue field) = =20 >>>>> as >>>>> has been described in the correspondent files. >>>>> >>>>> My question: >>>>> >>>>> How I can pass to the form two collection to fill to multivalue >>>>> fields? >>>>> >>>>> Best regards and thanks for your help. >>>>> >>>>> Jorge D=E1vila. >>>>> >>>>> >>>>> = -------------------------------------------------------------------=20 >>>>> -- >>>>> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org >>>>> For additional commands, e-mail: users-help@cocoon.apache.org >>>> >>>> >>>> = --------------------------------------------------------------------=20 >>>> - >>>> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org >>>> For additional commands, e-mail: users-help@cocoon.apache.org >>>> >>> >>> >>> = --------------------------------------------------------------------- >>> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org >>> For additional commands, e-mail: users-help@cocoon.apache.org >>> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org >> For additional commands, e-mail: users-help@cocoon.apache.org >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org > For additional commands, e-mail: users-help@cocoon.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org