Thanks for replying back with the solution!
Matt
On 1/24/07, mmaia <[EMAIL PROTECTED]> wrote:
Hi,
problem solved. Just used <html-el:option/> as <html:option/> was not being
converted by container.
regards.
mmaia wrote:
>
> Hi,
> I´m having problems with html:select (Struts) I have the following code on
> my jsp:
>
> <html:select property="idCategoriaLink">
> <html:option value=""/>
> <c:forEach var="categoriaLinkList"
> items="${requestScope.categoriaLinkList}">
> <html:option value="${categoriaLinkList.id}">
> <c:out
value="${categoriaLinkList.nomeCategoria}"/>
> </html:option>
> </c:forEach>
> </html:select>
>
> id is a valid attribute of categoriaLinkList, but I get the following
> rendered at html page:
>
> <select name="idCategoriaLink"><option value=""></option>
>
> <option value="${categoriaLinkList.id}">Hotéis</option>
>
> <option value="${categoriaLinkList.id}">Companhias
> Aéreas</option>
>
>
> <option
> value="${categoriaLinkList.id}">Pousadas</option></select>
>
> in fact categoriaLinkList.id is not evaluated???? Any clues?
> I should print 1, 2 ,3 values for example.
> I´m lost here. Looks like some bug????
>
--
View this message in context:
http://www.nabble.com/Strange-html%3Aselect-behavior-----tf3043338s2369.html#a8573078
Sent from the AppFuse - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
http://raibledesigns.com