Re: Using optionsCollection - LabelValueBean

2004-03-15 Thread Dean A. Hoover
I'm also a newbie, but here is an example of what I found by getting some help from the people on the list plus experimentation. Here is a helper class I wrote: package fi.els.form; import java.util.*; import org.apache.struts.util.LabelValueBean; public class CreditCardOptions { public static Col

Re: Re: Using optionsCollection - LabelValueBean

2004-03-15 Thread ddd ddd
Hi Timo I am new bie and learning to populate the drop box by all different ways . no body has replied for alomst a 4-5 days pl. help me... population of data by different ways which are as below 1.By Collections of strings 2.By collections beans 3.Hard coding I am unable to ac

Re: Using optionsCollection - LabelValueBean

2004-03-14 Thread ddd ddd
Hi All I am new bie and learning to populate the drop box by all different ways . 1. By Collections of strings 2. By collections beans 3. Hard coding I am unable to achieve even first way tried a lot but failed can any body suggest me where I am wrong. Also pl. suggest me

Re: Using optionsCollection - LabelValueBean

2004-03-14 Thread Timo Tjäder
Hi, Thanks Hubert, the problem was on the html page. 1. I forgot to add second form tag to handle page linking system on footer. 2. Also as you mentioned all the parameters must be match with the form beans I am posting. After making those changes the combox box was redered nicely on same lone

Re: Using optionsCollection - LabelValueBean

2004-03-14 Thread Hubert Rabago
The needs to be provided with the property it's associated to, the one on your form bean that will hold the actual value selected. "mySelectValue" should be a property on your form bean. hth, Hubert --- Timo_Tjäder <[EMAIL PROTECTED]> wrote: > Hi, > > I have problems with optionsCo