I think your ui is wrong.
<ww:select label="class" name="newsClassId"
value="newsClassId" list="newsClassList"
listKey="className" listValue="id"/>
--- Peter White <[EMAIL PROTECTED]> wrote:
> 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>
>
=====
Welcome to acai's blog (<a
href="http://acai.ejb.cn/blog">阿菜的家</a>)
__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork