This question is repeated and there is no help till now !
I'm trying to build a dashlet on the alfresco explorer 3.4.d contains button with an action to start a workflow; once workflow has been started the alfresco explorer must transfer the user interface to the first step in the workflow.
How can i achieve this task and if you don't how can any one give me a hint !!
Thanks
Mohammed Amr Senior System Developer Digital Series.
Notes: This is an old post in alfresco explorer development forum and i post it here cause i think that i post the problem in the wrong location.
- create a jsp page as dashelt (you can refer to how to write simple jsp as dashlet). - use alfresco faces components such as (a:actionLink) which is exist in the alfresco.tld - create a managed bean and register this bean in the faces-config-custom.xml and you can optionally point to another benefits managed bean such as NavigationBean using #{NavigationBean} tag.
// setup the dispatch context with the task we're opening a dialog for TransientMapNode node = new TransientMapNode(QName .createQName(transientMapNode.getType().toString()), workflowTask.getId(), null); System.out.println(node); System.out.println(this.navigator); this.navigator.setupDispatchContext(node);
// pass on parameters for the dialog Map<String, String> _params = new HashMap<String, String>(2, 1.0f); _params.put("id", workflowTask.getId()); _params.put("type", transientMapNode.getType().toString()); // Look At this Application.getDialogManager().setupParameters(_params); // setupTaskDialog(transientMapNode.getId(),transientMapNode.getType().toString());
}
}
And Thanks for Alfresco Team. Any question !!
Mohammed Amr Senior System Developer Digital Series.