问题1:AcountServiceImp.java中:
/**
* init the account
*/
public Account initAccount(EventModel em) {
return new Account();
}
函数中参数没用到,不知道这里引进这个参数有什么用?
感觉应该用下面的:
Account account = (Account) em.getModelIF();
若account为空再返回new Account();?
问题2:这个可能是没时间检查的原因吧:
public AccountProfileForm(){
account = new Account();
propertys = new ArrayList();
propertys = new ArrayList();
for(int i=0; i
}
}
propertys new了两次.
刚学习jivejdon,还请各位多多指教.