File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other Application Frameworks and the fly likes Stripes: how to map a select option from a form to an object from an Action? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Stripes: how to map a select option from a form to an object from an Action?" Watch "Stripes: how to map a select option from a form to an object from an Action?" New topic
Author

Stripes: how to map a select option from a form to an object from an Action?

Vadim Vararu
Ranch Hand

Joined: Jan 03, 2009
Posts: 147
How to map a <select> option from a form to an object from an Action?


If you think you've done too much, usually it means you've done too few.
Vadim Vararu
Ranch Hand

Joined: Jan 03, 2009
Posts: 147




How is option mapped to comicsCategory object from my Action? I need to map comicsCategoryId to comicsCategory.setComicsCategoryId() and comicsCategoryName to comicsCategory.setComicsCategoryName(), but, i don't know why, i get comicsCategory.comicsCategoryName = 2 (what is actually 'id').
 
jQuery in Action, 2nd edition
 
subject: Stripes: how to map a select option from a form to an object from an Action?
 
Similar Threads
can anyone tell me how do we update the values in servlet?
calling a function from a form event
Request parameter
unable to understand paramValues implicit Object
How to create an arraylist in action class and then capture in struts option?