aspose file tools*
The moose likes Spring and the fly likes Spring 3: form:radiobuttons Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Spring 3: form:radiobuttons" Watch "Spring 3: form:radiobuttons" New topic
Author

Spring 3: form:radiobuttons

Vipul Mehta
Greenhorn

Joined: Aug 21, 2012
Posts: 6
How to use spring3 form:radiobuttons tage ??
here is my current code, which is working

bean class


jsp file


Controller class to load JSP File


Now here i have returned only one commandObject name 'schedulerCommand'.
Considering that jsp page is a registration page and has a list of radio button, one for sex, 2nd for course, 3rd for Class Studying etc... and if i go by this method of having all list object stored in the bean..which is like hard-cording way..

i rather want to have in the foll. way,


These list object will have list of Lookup class and in turn will have a single entry.
and i want to have access for all the these list object in jsp..how can i achieve in the above code ??
Bill Gorder
Bartender

Joined: Mar 07, 2010
Posts: 1649
    
    7

I am not sure what you are asking but it sounds like you want to add multiple lists to the model so its available in the JSP



or alternatively just return the String view and declare a model object in the parameter list. Objects added to the model will be available in the view.'


[How To Ask Questions][Read before you PM me]
Vipul Mehta
Greenhorn

Joined: Aug 21, 2012
Posts: 6
Bill Gorder wrote:I am not sure what you are asking but it sounds like you want to add multiple lists to the model so its available in the JSP




Thanks...this worked for me...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Spring 3: form:radiobuttons