Upon closer inspection, we found our problem: the parameter was being passed in
as a String, and we were expecting a long. So we now have:
| @RequestParameter
| private String companyID;
|
| public Company getCompany() {
| if(companyID != null) {
| return (Company) entityManager.find(Company.class,
| Long.decode(companyID));
| }
| return null;
| }
Everything seems to be working happily now - thanks!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957923#3957923
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957923
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user