I am trying to figure out the same thing but using Struts. I have the
following jsp to display my questions.

  <s:form action="Quiz">
      <s:iterator value="questions">
        <s:radio label="${text}" name="${id}" list="answers"/>
      </s:iterator>
      <s:submit key="Save Me" method="save" />
  </s:form>

For example this will display 2 questions and each question has a set of
answers with radio buttons. On submit how do I capture which radio buttons
were selected since the radio name field is dynamic?

-- 
View this message in context: 
http://www.nabble.com/dynamic-checkboxes-and-radio-buttons-in-one-group-tf1971631.html#a10423148
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to