Hello Chico,
Wednesday, June 06, 2001, 12:08:38 PM, you wrote:
CC> does anyone know a way of doing something like so, so that it works:
CC> <logic:iterate id="listElement" name="myList">
CC> <html:radio property="selectedListElement" value="<bean:write
name="listElement"/>>"/>
CC> </logic:iterate>
You can not use one tag in attribute value of another tag for jsp tag
libraries. Another words - if you use one tag then you can place to
the attributes as values only strings or run-time expressions like
<%= %> for attributes marked as <rtexprvalue>true</rtexprvalue>
CC> i always get a error saying that listElement has no value in that scope ...
CC> i get around this problem using jsp, like so:
CC> <logic:iterate id="listElement" name="myList">
CC> <% String myListElement = (String)
CC> pageContext.findAttribute("listElement");%>
CC> <html:radio property="selectedListElement"
CC> value="<%=myListElement%>"/>
CC> </logic:iterate>
CC> But I really don't want to be mixing jsp with struts ...
CC> any ideas?
CC> chico
--
Best regards,
Oleg mailto:[EMAIL PROTECTED]