Why this param is being sent as Null in my Bean?

I am Using JSF 2 and EJB 3.1 to create a form. I am using this part of the page to get me some data, so I can pass it to my bean using the confirmDialog just below And this is the Bean that should get it @Named(value = "userController") @Stateful @RequestScoped @TransactionManagement(TransactionManagementType.CONTAINER) public class UserController implements Serializable { private User current; @Inject private br.com.cflex.itm.dataaccess.UserFacade userFacade; public UserController() { } public void deleteAction(User user) { userFacade.remove(user); } But My bean is only receiving null as User, and **in the Dialog I am printing the data so I can see there is a User Object selected there.** **What is wrong in passing params like that ?** **Why am I getting null in my Bean?** Because they are getting lost in the communication between client and server-side...

以上就是Why this param is being sent as Null in my Bean?的详细内容,更多请关注web前端其它相关文章!

赞(0) 打赏
未经允许不得转载:web前端首页 » JavaScript 答疑

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

前端开发相关广告投放 更专业 更精准