aspose 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


Win a copy of Spring in Action this week in the Spring forum!
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').
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Stripes: how to map a select option from a form to an object from an Action?