bean:write and form:radio
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Gary_Fidler
Posted On:   Wednesday, December 5, 2001 11:25 AM

I have an ArrayList of Strings called "answers".

Using the following JSP, I can render the correct radio buttons, but when I submit the form, the value of "choice" is " " instead of its string value.

How can I do this?

			

">



Re: bean:write and form:radio

Posted By:   Ted_Husted  
Posted On:   Thursday, December 6, 2001 10:22 AM

There is an option tag that is the companion to the
select tag. Another tag, options, can make use of
a collection


See also
this entry
.


-Ted

Re: bean:write and form:radio

Posted By:   Ted_Husted  
Posted On:   Thursday, December 6, 2001 09:09 AM

Most likely, you need to import the Struts bean taglib at the top of the page.


HTH - Ted

About | Sitemap | Contact