Hi Charlesworth
I think it should be more like this
<logic:iterate id="listElement" name="myList">
<html:radio name="listElement" property="selectedListElement" />
</logic:iterate>
Regards
Michael Mok
-----Original Message-----
From: Charlesworth, Chico [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 6 June 2001 16:09
To: '[EMAIL PROTECTED]'
Subject: a struts tag within another struts tag ...
does anyone know a way of doing something like so, so that it works:
<logic:iterate id="listElement" name="myList">
<html:radio property="selectedListElement" value="<bean:write
name="listElement"/>"/>
</logic:iterate>
i always get a error saying that listElement has no value in that scope ...
i get around this problem using jsp, like so:
<logic:iterate id="listElement" name="myList">
<% String myListElement = (String)
pageContext.findAttribute("listElement");%>
<html:radio property="selectedListElement"
value="<%=myListElement%>"/>
</logic:iterate>
But I really don't want to be mixing jsp with struts ...
any ideas?
chico
--
The content of this e-mail is confidential, may contain privileged material
and is intended solely for the recipient(s) named above. If you receive this
in error, please notify Software AG immediately and delete this e-mail.
Software AG (UK) Limited
Registered in England & Wales 1310740
Registered Office: Hudson House, Hudson Way,
Pride Park, Derby DE24 8HS