There is an open source polling application built using Struts/Expresso at
www.jcorporate.com which might be something to look at.

--
Sandra

> -----Original Message-----
> From: Daniel Haynes [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, May 02, 2002 8:55 AM
> To: Struts-User
> Subject: Table of Radio Buttons
>
>
> Hi,
>
> I am attempting to create a (fairly) simple web app using struts.
> I need to
> create a table of questions with each question having radio
> buttons (a range
> of numeric values) so the user can input and submit their answers:
>
> question1        o o o o o o o o
> question2        o o o o o o o o
> ...
>
> My problem is that both the questions and the number of radio
> buttons needs
> to be dynamic (based on what is currently in the database). I can iterate
> through the questions and display them in the table but I am unsure how to
> 'marry' up the radio buttons, and then retrieve the data from the
> form when
> the user submits.
>
> Has anyone done anything similar to this ? Any example code or suggestions
> would be gratefully recieved. I have been looking at the 'Using Struts'
> article from the Athens Group 'Creating a Table of Radio Buttons' but am
> getting more confused... (ProcessStatus.DONE.getMnemonic() - what is this
> ??)
>
> Dan
>
> Daniel Haynes
>



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

Reply via email to