The problem is that if you *don't* pass the id as a request parameter when you come to
do the update, then the id will be null (@RequestParameter doesn't magically remember
stuff ;).
If you are passing the id in when the EntityHome is created
@RequestParamter Object id;
|
| protected Object createInstance() {
| if (id != null) {
| assignId(id);
| }
| return super.createInstance();
| }
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039527#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...