But how will I specify the array Length in the ActionForm.
-----Original Message----- From: nirav bumia [mailto:[EMAIL PROTECTED] Sent: Monday, September 11, 2006 12:34 PM To: Struts Users Mailing List Subject: Re: Handling select tags with multiple = true It is an Array of Strings. On 9/11/06, Chetan Pandey <[EMAIL PROTECTED]> wrote: > Hi All: > > > > I have the following: > > > > <td> > > <html:select name="courseForm" > property="prerequisiteVO.prerequisiteCourseId" multiple="true" size="3"> > > <html:option value="0"><bean:message > key="lms.choose.prerequisite.course"/></html:option> > > <html:options collection="courseVector" labelProperty="name" > property="courseId"/> > > </html:select> > > > > My question is what all property= "prerequisiteVO.prerequisiteCourseId" can > be. > > > > An array of Strings, an array of ints or an array of Integers. How about a > Vector. > > > > If it is an array of ints which I prefer, how will I code them in my > Formbean called as I will not know its size in advance. > > > > I think if it is a Vector then it will be easiest for me. But is a Vector > possible ? > > > > Chetan > > > -- Regards Nirav --------------------------------------------------------------------- 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]