You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using method POST, org.skyscreamer.yoga.springmvc.view.YogaSpringView renders org.springframework.validation.BindingResult instead of object returned from controller.
It looks like the order of the objects in the Model are different for POST.
// I’m doing something like this
@RequestMapping(value = "/test", method = RequestMethod.POST)
public List test() {
return domainObjectDao.findAll();
}
From Eric Meltzer:
When using method POST, org.skyscreamer.yoga.springmvc.view.YogaSpringView renders org.springframework.validation.BindingResult instead of object returned from controller.
It looks like the order of the objects in the Model are different for POST.
// I’m doing something like this
@RequestMapping(value = "/test", method = RequestMethod.POST)
public List test() {
return domainObjectDao.findAll();
}
original render method
updated render method
The text was updated successfully, but these errors were encountered: