11-12-2007 08:37 AM
final NodeRef docNodeRef = new NodeRef(Repository.getStoreRef(), id);
NodeRef newParent = (NodeRef)nodeService.getProperty(docNodeRef, ApplicationModel.PROP_APPROVE_FOLDER);
nodeService.moveNode(docNodeRef,
newParent,
ContentModel.ASSOC_CONTAINS,
nodeService.getPrimaryParent(docNodeRef).getQName());javax.faces.el.EvaluationException: Exception while invoking expression #{MyBean.approve}
caused by: java.lang.NoClassDefFoundError: org/alfresco/model/ApplicationModel11-12-2007 10:38 AM
NodeRef newParent = (NodeRef)nodeService.getProperty(docNodeRef, ContentModel.PROP_APPROVE_FOLDER);Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.