Re: formbean with List field

2005-02-15 Thread Wendy Smoak
From: "Hamster" <[EMAIL PROTECTED]> > I'm wondering if I can have a formbean containing a List of Strings. Is > that recognized by Struts correctly? I have had more luck with String[] than ArrayList. > I need that for a shopping cart implementation, where the user can > modify the amount of the

Re: AW: formbean with List field

2005-02-15 Thread Eric Lemle
In the jsp you can iterate your list and give unique identifier to each one maybe via the index. In the form bean you would have each of the unique names available. May want to use the LazyDynaBean. -Eric Eric D. Lemle Senior Programmer / Analyst Intermountain Health Care 36 South State Street,

AW: formbean with List field

2005-02-15 Thread Hamster
Hello struts users! I still have this issue... can anyone help me with this? -- I'm wondering if I can have a formbean containing a List of Strings. Is that recognized by Struts correctly? I need that for a shopping cart implementation, where the user can modify the amount of the articles in

formbean with List field

2005-02-13 Thread Hamster
I'm wondering if I can have a formbean containing a List of Strings. Is that recognized by Struts correctly? I need that for a shopping cart implementation, where the user can modify the amount of the articles in the shopping cart. For each article should be a text field for entering a number.