Spring mvc radiobuttons?

Up vote 0 down vote favorite 1 share g+ share fb share tw.

I have a view that loops over a list of results that are set in the controller. What I am trying to achieve is to display a group of radiobuttons per item in the results list. The field represents a status e.

G Yes | No | Maybe If the status is populated then the relevant radiobutton is selected if not then the user can select the button and the save is performed (via ajax call) As the radiobutton must be tied to a form I am thinking I will need multiple mini forms on my page for each set of radiobuttons? This will render the buttons need to have them populated with the actual value in the model object spring-mvc link|improve this question asked Jan 25 '11 at 15:31db835917 33% accept rate.

– axtavt Jan 25 '11 at 15:36 The model object is an ArrayList of beans e. G ResultBean. The list is put on the model in the controller as model.

Put("results",list) I'd prefer for the update to the model happens all via ajax as the purpose is to save users time. Thanks – db83 Jan 25 '11 at 15:42.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions