I'm not quite clear what your code looks like, but based on what you say
it sounds like you may be putting the wrong value in your 'answer' property.
This iterates through the beans in the game.question.answers collection
(C), and creates a radio button for each. The radio button value wi
OTECTED]
Sent: Tuesday, May 22, 2007 2:00 PM
To: 'Struts Users Mailing List'
Subject: [S2] Problem setting radio to default value
from a Collection
Hi All,
I have a jsp with a radio tag setup like so:
< /s:radio>
What I display in the radio buttons are answer
Hi All,
I have a jsp with a radio tag setup like so:
< /s:radio>
What I display in the radio buttons are answers, once the userclicks on an
answer the form is submitted, my action retrieves the correctanswer and puts it
in both an id and an answer property defined in the sameaction
3 matches
Mail list logo