struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Pratt" <thechrispr...@gmail.com>
Subject Re: Formbean information lost
Date Tue, 26 Dec 2006 00:16:45 GMT
Try using the <html:option> tag instead of the <option> tag, that way Struts
has some control.
  (*Chris*)

On 12/16/06, Thomas Thomas <debussy007@gmail.com> wrote:
>
> Thank u very much Miss Harper.
>
> I think it's due to this code, and I don't really know a good way to
> rectify
> this :
>
> Jour
> <html:select size="1" property="birthDay">
>     <c:forEach var="aDay" begin="1" end="31">
>         <option value="${aDay}"/>
>         <c:out value="${aDay}"/>
>     </c:forEach>
> </html:select>
>
> Mois
> <html:select size="1" property="birthMonth">
>     <c:forEach var="aMonth" begin="1" end="12">
>         <option value="${aMonth}"/>
>         <c:out value="${aMonth}"/>
>     </c:forEach>
> </html:select>
>
>
> Thank u very much for your support.
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message