On 2/21/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> I have users list created in my dispatch action and populated in request.
>
>
> in my form this works.
> ........
> <tr>
> <td class="tdLabel"><fmt:message key="label.endDate"/>:</td>
> <td><html:text property="endDate" size="40"/> <html:errors
> property="endDate"/></td>
> </tr>
> <tr>
> <td class="tdLabel"><fmt:message
> key="label.oddLotOwnerUserName"/>:</td>
> <td>
> <html:select property="oddLotOwnerUserId">
> <c:forEach var="user" items="${users}">
> <html:option value="${user.userId}">
> <c:out value="${user.userNameShort}"/>
> </html:option>
> </c:forEach>
> </html:select>
> </td>
> </tr>
> .......
>
> But This DOESN'T work.
> <tr>
> <td class="tdLabel"><fmt:message key="label.endDate"/>:</td>
> <td><html:text property="endDate" size="40"/> <html:errors
> property="endDate"/></td>
> </tr>
>
> <tr>
> <td class="tdLabel"><fmt:message
> key="label.oddLotOwnerUserName"/>:</td>
> <html:select property="oddLotOwnerUserId" >
> <html:optionsCollection property="users"
> value="${user.userId}"
> label="${user.userNameShort}" />
> </html:select>
> </tr>
> What am I doing wrong ??
What exactly does not work? Do you use JSP 2.x container?
Michael.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]