URGENT: html:options

2003-10-14 Thread ajay brar
hi! i'm getting a problem with my html:options what i have is a MyUtils class with a method to retrieve a list of agency id's from the database class MyUtils { //gets agencyIds creates LabelValueBeans and chucks them into a Vector public static Vector getAgencyIds() } in my jsp page i had

RE: URGENT: html:options

2003-10-14 Thread Daniel Haynes
I think your collection needs to implement the List interface (use an ArrayList instead of a vector) -Original Message- From: ajay brar [mailto:[EMAIL PROTECTED] Sent: 14 October 2003 12:45 To: [EMAIL PROTECTED] Subject: URGENT: html:options hi! i'm getting a problem with my html:options

RE: URGENT: html:options

2003-10-14 Thread ajay brar
PROTECTED] Subject: URGENT: html:options hi! i'm getting a problem with my html:options what i have is a MyUtils class with a method to retrieve a list of agency id's from the database class MyUtils { //gets agencyIds creates LabelValueBeans and chucks them into a Vector public static Vector

Re: URGENT: html:options

2003-10-14 Thread Nicolas De Loof
=agencyId html:options collection=agencyIds label=label value=value / /html:select Nico. - Original Message - From: ajay brar [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 2:53 PM Subject: RE: URGENT: html:options hi! I think your

Re: URGENT: html:options

2003-10-14 Thread ajay brar
List [EMAIL PROTECTED] Subject: Re: URGENT: html:options Date: Tue, 14 Oct 2003 15:11:57 +0200 collection attribute of html:options tag is used to set the name of a bean (in some scope) that is a collection of the items off the select-box. You need to put your Vector into page or request scope to use

Re: URGENT: html:options

2003-10-14 Thread Nicolas De Loof
PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: URGENT: html:options Date: Tue, 14 Oct 2003 15:11:57 +0200 collection attribute of html:options tag is used to set the name of a bean (in some scope) that is a collection of the items off the select-box. You need to put