|
|
InitBinder method not being called
Hi All,
I am trying to use InitBinder method in my Controller class for a property editor. I have also writer the property editor. The problem now is that the initBinder method is never being called at all. Code:
@Controller
public class MastersController {
..........
The following is the controller method when I want the binder to be available.
@RequestMapping(quot;/masters/showStateMaster.htmquot;) public String showStateMaster(ModelMap model,fromServletRequest request,
fromServletResponse response) {
............. return quot;/masters/showStateMasterquot;; }
My InitBinder method is given below. This is never called. For now I have just put a SOP in the method to check if it is getting called.
@InitBinder public void initBinder(WebDataBinder dataBinder) { System.out.println(quot;in initBinderquot;); }
Can anyone guide me as to what I am doing wrong here. Any help would be greatly appreciated.
Thanks
Isn't that spring mvc issues not webflow? If you want to do spring mvc stuff in webflow views check this javadoc sprin...ormAction.html |
|