ok thanks

----- Original Message ----- 
From: "ashokd" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Tuesday, February 05, 2002 8:57 PM
Subject: Re: <html:select> and ArrayList question


> Hi,
> 
> Put "foos" in session.
> Remove from ActionForm.
> 
> Thanks & Regards,
> Ashok.D
> ----- Original Message ----- 
> From: "alexj" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> Sent: Friday, February 21, 2003 11:26 AM
> Subject: <html:select> and ArrayList question
> 
> 
> > 
> > Hi,
> > 
> > I can't find how to do my job :
> > 
> > If in my FormActionBean I got an attributs
> > who represent an ArrayList of elements
> > how to retrieve it correctly into my view ?
> > 
> > For exemple I got in my action form bean :
> > 
> > private ArrayList foos;
> > 
> > private String foo;
> > 
> > public ArrayList getFoos ()  {
> >    return foos;
> > }
> > 
> > public void setFoos (ArrayList foos) {
> >   this.foos = foos;
> > }
> > 
> > public String getFoo () {
> >    return foo;
> > }
> > 
> > public void setFoo (String foo) {
> > 
> > }  
> > 
> > and then in my view : 
> > 
> > <html:select property="foo" size="20">
> > 
> > <html:options name="foos "/>
> > 
> > </html:select>
> > 
> > When I run it I got an error message
> > who say Cannot find bean under name foos. 
> > Any idea ??
> > 
> > Thanks for your help.
> > <--
> > Alexandre Jaquet
> > ->
> > 
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to