You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Russell Healy <Ru...@msd.govt.nz> on 2004/01/20 01:10:26 UTC
html:radio in logic:iterate
Hello
Is there an example somewhere of how to correctly use <html:radio/> inside
<logic:iterate/> in Struts 1.1?
If not, does anyone know how to use it? What are the following attributes used for:
idName
value
property
The tag library docs are very short and hard to understand.
This is my code:
<logic:iterate id="answerOption"
name="sectionCForm"
property="generic_2.question.questionType.answerOptions"
type="nz.govt.msd.inet.HR.HRExit.AnswerOption">
<html:radio idName="answerOption" value="id" property="???"/>
</logic:iterate>
The AnswerOption bean has getId/setId and getSelected/isSelected
Thanks!
Russell
-------------------------------
This email message and any attachment(s) is intended only for the
person(s) or entity(entities) to whom it is addressed. The
information it contains may be classified as IN CONFIDENCE and may be
legally privileged. If you are not the intended recipient any use,
disclosure or copying of the message or attachment(s) is strictly
prohibited. If you have received this message in error please
notify us immediately and destroy it and any attachment(s).
Thank you. The Ministry of Social Development accepts no
responsibility for changes made to this message or to any
attachment(s) after transmission from the Ministry.
-------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org