Return-Path: Delivered-To: apmail-jakarta-struts-user-archive@jakarta.apache.org Received: (qmail 52079 invoked by uid 500); 2 Oct 2001 10:51:51 -0000 Mailing-List: contact struts-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk Reply-To: struts-user@jakarta.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list struts-user@jakarta.apache.org Received: (qmail 52072 invoked from network); 2 Oct 2001 10:51:51 -0000 Received: from unknown (HELO smtp.ddbn.fr) (62.210.74.37) by daedalus.apache.org with SMTP; 2 Oct 2001 10:51:51 -0000 Received: from DCXQV50J.mail.improve.fr ([192.168.1.233]) by smtp.ddbn.fr (Lotus Domino Release 5.0.5) with ESMTP id 2001100212521802:10742 ; Tue, 2 Oct 2001 12:52:18 +0200 Message-Id: <5.1.0.14.0.20011002124002.00b03fe0@mail.improve.fr> X-Sender: jnribette@mail.improve.fr X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Tue, 02 Oct 2001 12:47:22 +0200 To: struts-user@jakarta.apache.org From: Jean-Noel Ribette Subject: Re: Using options tag with name and property attributes In-Reply-To: Mime-Version: 1.0 X-MIMETrack: Itemize by SMTP Server on DDB33NOTES2/DDB(Release 5.0.5 |September 22, 2000) at 02/10/2001 12:52:18, Serialize by Router on DDB33NOTES2/DDB(Release 5.0.5 |September 22, 2000) at 02/10/2001 12:52:56, Serialize complete at 02/10/2001 12:52:56 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1"; format=flowed X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N > >Actually, I don't know in this case what this collection should look like.= =20 >Is it the same as the one that we use in collection attribute (ie a >collection of LabelValueBean for example) ? >Can anyone show me an example of using options tag with name and property= =20 >attributes ? For the first select box: For the second: collectionBean should have the following methods: getCollection1Values() : List or Vector or whatever getCollection2Values() : List or Vector or whatever getCollection1Labels() : List or Vector or whatever getCollection2Labels() : List or Vector or whatever Hope this helps, Jean-No=EBl