请教JdonFrameworkApp的问题
请教JdonFrameworkApp的问题,刚刚开始学EJB,所以下载了JdonFramework应用开发教程这各影片档来学习,database我改成MSSQL,
可是在Add时一直出现错误,讯息为No FormBeanConfig found under 'null'
且在TestEJBEean ,执行public void createUser(EventModel em) 时,
传入的id是空白的
public void createUser(EventModel em){
Usertest user= (Usertest) em.getModel();
try{
//假如传入值非null就可以执行
//Username userLocal= userHome.create("3");
Username userLocal= userHome.create(user.getUserId());
userLocal.setFirstname(user.getName());
userLocal.setLastname(user.getName());
}
catch(Exception ex){
logger.error(ex);
em.setErrors(Constants.USER_SAVE_ERROR);
}
}
id经由UserActionForm是找的到id值的,可是不会转到Usertest里面的值,
影片档上面是写UserActionForm的值会自动转到Usertest.
我已经看了三四天了 都找不到哪里有问题 请问能帮一下我吗?