File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Spring and the fly likes Using checkbox on Spring 2.5 MVC ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Using checkbox on Spring 2.5 MVC ?" Watch "Using checkbox on Spring 2.5 MVC ?" New topic

Using checkbox on Spring 2.5 MVC ?

Sonx Nkuks
Ranch Hand

Joined: Aug 20, 2010
Posts: 47
Hi, i have a ManyToMany relationship [Basket has many Products] and trying to use checkbox to track changes from the Views ...

Product Entity

Jsp form

Does form:checkbox path="notInBasket" requires me to have yet another field on basket Entity? how do i change Product.notInBasket when the box is checked? Or how should i do this better
Rob Spoor

Joined: Oct 27, 2005
Posts: 19849

Moving to our Spring forum.

How To Ask Questions How To Answer Questions
It is sorta covered in the JavaRanch Style Guide.
subject: Using checkbox on Spring 2.5 MVC ?