Title: Select tag confusion...

My action class has an ArrayList of POJOs for dropdown population. If I use the following ww:select tag, the dropdown label populates correctly but the value is empty. However, the following JSTL code works perfectly. Are ww:select fields working fine for everyone else or is it just me? For the record, I'm using WW2Beta2. Thanks!

<tr><ww:select label="'Asset Category'" name="'model.category.id'" list="categories" listKey="['id']" listValue="['label']"/></tr>


<tr>
        <td align="right">Asset Category:</td>
        <td>
        <select name="model.category.id">
                <c:forEach var="cat" items="${categories}"
                <option value='<c:out value="${cat.id}"/>'><c:out value="${cat.label}"/>
                </c:forEach>
        </select>
        </td>
</tr>

Reply via email to