I'm trying to save a form that has a foreign key in select tag but it's always null. When I use the inspect element it posts the selected id so I can't say it's problem with form. Can someone please help.
I had these dependencies as 4.1.3. When I updated them it worked.
Joined: Apr 29, 2010
Well this has got rid of the errors but it has a strange behaviour now, it creates a new category even thou I'm in product controller and trying to save a new product with selected category(FK). Then it adds this newly created categoryId which is duplicate of the one you selected( the name, not the id) into product.categoryId.
I really hope I'm not confusing anyone. I would really appreciate some please.
subject: Can not save the foreign key in Spring form Select tag