[EMAIL PROTECTED] wrote:
 Hi:
I am trying to put in editable checkbox inside HTML table, but it doesn't seem to work.
        any ideas where am going wrong ?
        Thanks in adv.
Digant





   <table class="borderAll" border="1">
    <tr>
          <th><fmt:message key="label.imntDescr"/></th>
        <th><fmt:message key="label.bucketName"/></th>
             <th><fmt:message key="label.sectorName"/></th>
        <th><fmt:message key="label.lockedFlag"/></th>
           </tr>
<c:forEach var="instrument" items="${instruments}" varStatus="status2">
        <tr class="${status2.index%2==0?'even':'odd'}">
<td class="nowrap"><c:out value="${instrument.imntDescr}"/></td> <td class="nowrap"><c:out value="${instrument.bucketName}"/></td>
                <td>
                        <html:select property="{instrument.sectorId}">
                        <c:forEach var="sector" items="${sectors}">
                                <html:option value="${sector.sectorId}">
                                <c:out value="${sector.sectorName}"/>
                                </html:option>
                        </c:forEach>
                        </html:select>
</td> <td class="nowrap"><c:out value="${instrument.sectorName}"/></td> <td> <html:checkbox property="{instrument.lockedFlag}">{instrument.lockedFlag}</html:checkbox> </td>
         </tr>
    </c:forEach>
       </table>

Well for one thing, half you JSTL expression aren't prefixed with a '$' sign. If that's not the problem, try describing how, exactly, things are failing.

L.


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

Reply via email to