Did you find a solution to this?
I'm having a similar problem but I'm only getting the exception on the methods
annotated @EndTask:
| @Name("depositPermission")
| @Scope(ScopeType.CONVERSATION)
| @Transactional
| public class DepositPermissionAction {
|
| private String note;
|
| @In(required=false)
| private String userName;
|
| @In(required=false)
| private String userID;
|
| @In(required=false)
| private String containerName;
|
| @In(required=false)
| private boolean inherited;
|
| @In(required=false)
| private Long containerId;
|
| @In(create=true)
| private UserBean userBean;
|
| @In(create=true)
| private ContainerBean containerBean;
|
| @In(create=true)
| private ContainerDelegate containerDelegate;
|
| @In(create=true)
| private EmailMessageBean emailMessageBean;
|
|
|
|
| @BeginTask @Begin
| public String view() {
| return "view_deposit_request";
| }
|
| @EndTask @End
| @Transactional
| public String approve() throws ConfigurationException {
| userBean.load(userID);
| containerBean.load(containerId);
|
userBean.getObject().getDepositContainers().add(containerBean.getObject());
| containerDelegate.setContainerBean(containerBean);
|
userBean.getObject().getDepositContainers().addAll(containerDelegate.getAllSubContainers());
|
| userBean.update();
|
|
| return "";
| }
|
| @EndTask @End
| @Transactional
| public String reject() {
|
| userBean.load(userID);
| containerBean.load(containerId);
|
|
|
| return "";
| }
|
| @End
| public String cancel() {
| return "/task_management.xhtml";
| }
|
|
|
| }
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976974#3976974
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976974
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user