hi, the scenario is as follow:1 1. class EditMyBeanAction implements Model... 2. url mapping calls edit method on the EditMyBeanAction 3. the result should be that once edit method returns (it loads MyBean object from the database) MyBean should be displayed on the jsp
the problem is that it seems like with hibernate it doesn't work at least when used as below (reassigned object addresses) classs EditMyBeanAction implements Model ..<MyBean> private MyBean bean = new MyBean(); public MyBean getModel() { return bean; } public String edit() { MyBean mb = hibernateFacade.loadMyBeanObjectById(123); // bean.setName("test") ----- 2 bean = mb; // 3 return "success"; } i suspect that the problem is somewhere around proxy classes either in hibernate or ognl (i would rather start to look here though) because if i uncomment line 2 and comment out 3 i'm getting the test value on the name property. surely the workaround is to copy properties from one object to another but again this is simply a waste of memory :) -- Greg Stasica