Actually: <s:radio name="survey.responseGroups[%{#i}].value" list="{1,2,3,4}" />
Otherwise all the radio boxes have exactly the same name, and that leaves me with a single choice in a large matrix of options, instead of 1 choice per group of 4. While I do end up writing the group of Responses to the DB, they all have their default (null) values. On 6/12/07, Dave Newton <[EMAIL PROTECTED]> wrote:
--- Lally Singh <[EMAIL PROTECTED]> wrote: > Well, I was simplifying a bit. > > it's actually survey.responseGroups[#i], where > getResponseGroups() returns a List<Response>, each of > which has a getValue(Long) and setValue(Long). > > Hmm, setResponseGroups() wants a full List back, > would that mess things up? Shouldn't... I think. So is your JSP actually: > <s:radio name="survey.responseGroups[#i].value" > list="{1,2,3,4}"/> d. ____________________________________________________________________________________ Luggage? GPS? Comic books? Check out fitting gifts for grads at Yahoo! Search http://search.yahoo.com/search?fr=oni_on_mail&p=graduation+gifts&cs=bz --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- H. Lally Singh Ph.D. Candidate, Computer Science Virginia Tech --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]