RE: how to pass more than one value when a multibox ischecked?

2003-06-13 Thread Mike Jasnowski
Can you use indexed elements? -Original Message- From: Sashi Ravipati [mailto:[EMAIL PROTECTED] Sent: Friday, June 13, 2003 2:36 PM To: [EMAIL PROTECTED] Subject: RE: how to pass more than one value when a multibox ischecked? This is an interesting paper which talks abt iteration, look

RE: how to pass more than one value when a multibox ischecked?

2003-06-13 Thread Sashi Ravipati
edItems; } In my action: String selectedItems[]=((MyForm)form).getSelectedItems(); String nameArray[]=((MyForm)form).getName(); Long actId=null; for(int i=0;imailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 2:10 PM To: [EMAIL PROTECTED] Subject: Re: how to pass more than one val

RE: how to pass more than one value when a multibox ischecked?

2003-06-13 Thread Huan Gao
] Subject: Re: how to pass more than one value when a multibox ischecked? I used the following code for two text boxes, u can change it to your need I am also learning so bear with my suggestions. 1. Action form code: private ArrayList personList; public void reset(ActionMapping mapping

Re: how to pass more than one value when a multibox ischecked?

2003-06-12 Thread Sashi Ravipati
I used the following code for two text boxes, u can change it to your need I am also learning so bear with my suggestions. 1. Action form code: private ArrayList personList; public void reset(ActionMapping mapping, HttpServletRequest request){ this.personList = new ArrayList(); //