@RequestParameter String companyId;
|
| public Company getCompany()
| {
| return getCompany(companyId);
| }
|
| public Company getCompany(String companyId)
| {
| return entityManager.find(Company.class, companyId);
| }
Note that if there is no value for an @RequestParameter, it will be null, it
will not throw an exception (yes, this is inconsistent with @In and is arguably
a wart).
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957808#3957808
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957808
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user