I'm need to access some model info in a custom editor. I've tried to use ModelMap as an initBinder params but I obtain a deny error on runtime. Any idea?
public void initBinder(WebDataBinder binder, WebRequest request) {
binder.registerCustomEditor(MyData.class, new MyCustomEditor(model));
}
TIA Ice72
Aucun commentaire:
Enregistrer un commentaire