Hi, I am stuck here again but this time for the select tag. 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 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>
Thanks & Regards,
Rajesh Pradhan
winmail.dat
Description: application/ms-tnef
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

