Very fine Gyan. I got it by just putting the value in the value attribute of the select box. Thank u very much.
Thanks & Regards, Rajesh Pradhan -----Original Message----- From: gnanaseelan [mailto:[EMAIL PROTECTED]] Sent: Saturday, March 02, 2002 12:20 PM To: Struts Users Mailing List Subject: Re: multiple select boxes tag - dynamic selection multiple select boxes tag - dynamic selectionHi Raj Just include the Value atttribute in the html mutibox tag and give the to highlighted Gnan ----- Original Message ----- From: Rajesh Pradhan To: Struts Users Mailing List Sent: Thursday, June 27, 2002 11:32 AM Subject: multiple select boxes tag - dynamic selection Hi, Here I have a group of select boxes and depending on the value selected previously I try to highlight only that label. I have set the values of selected option in the Action but when it comes to jsp, it takes only the first value that is set for the first select box and applies it to all the select boxes. it simply ignores the set values of other select box that are set in action. Here is the code. <logic:iterate id="qcTransMaster" property="items" type="com.qccheck.master.QCTransMaster" collection="<%=qcDataEntryForm.getSessArrayList3()%>"> <tr> <td width="5%" align="left"> <html:multibox property="selectedItems"> <bean:write name="qcTransMaster" property="msQCErrorId" /> </html:multibox> </td> <td width="50%" align="left" nowrap> <bean:write name="qcTransMaster" property="msQCErrorName" /> </td> <td width="5%" align="right"> <html:text property="msDefectCnt" size="3"> <bean:write name="qcTransMaster" property="msDefects" /> </html:text> </td> <td width="30%" align="center"> <html:text property="msComments" size="35"> <bean:write name="qcTransMaster" property="msComments" /> </html:text> </td> <td width="10%" align="left"> <html:select property="msRootCause"> <html:options collection="RootCauseData" property="value" labelProperty="label" /> </html:select> </td> </tr> </logic:iterate> Any help would be really great . Thanks & Regards, Rajesh Pradhan -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>