Implement my own ManageTaskDialog: impossible b/c hardcoded?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2010 08:17 AM
Hello all,
I want Alfresco to use my own MyManagedTaskDialog Java class instead of the usual ManageTaskDialog (allowing the user to choose a new assignee for the workflow).
So in faces-config-beans.xml, I changed the managed-bean-class to point to my implementation:
But despite this, Alfresco unfortunately still uses org.alfresco.web.bean.workflow.ManageTaskDialog 😞
I don't understand why.
When I grep the whole directory of Alfresco for "anageTaskDialog", I can see that org.alfresco.web.bean.workflow.ManageTaskDialog is referenced nowhere. I am getting worried that it might be hard-coded. I have found this frightening line in UIActionCommandProcessor.java:
CommandFactory.getInstance().registerCommand("managetask", ManageTaskDialogCommand.class);
Does this mean I can not implement my own ManageTaskDialog and wired it via configuration?
Thanks,
Nicolas Raoul
I want Alfresco to use my own MyManagedTaskDialog Java class instead of the usual ManageTaskDialog (allowing the user to choose a new assignee for the workflow).
So in faces-config-beans.xml, I changed the managed-bean-class to point to my implementation:
<managed-bean-name>ManageTaskDialog</managed-bean-name><managed-bean-class>mypackage.MyManageTaskDialog</managed-bean-class>
But despite this, Alfresco unfortunately still uses org.alfresco.web.bean.workflow.ManageTaskDialog 😞
I don't understand why.
When I grep the whole directory of Alfresco for "anageTaskDialog", I can see that org.alfresco.web.bean.workflow.ManageTaskDialog is referenced nowhere. I am getting worried that it might be hard-coded. I have found this frightening line in UIActionCommandProcessor.java:
CommandFactory.getInstance().registerCommand("managetask", ManageTaskDialogCommand.class);
Does this mean I can not implement my own ManageTaskDialog and wired it via configuration?
Thanks,
Nicolas Raoul
Labels:
- Labels:
-
Archive
2 REPLIES 2

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2010 09:19 AM
put config in :faces-config-custom.xml
but watch on jsp that renders manageTaskDialog maybe this is cousing you problems.
But despite this, Alfresco unfortunately still uses org.alfresco.web.bean.workflow.ManageTaskDialogHOW TO YOU KNOW THIS?
I don't understand why.
but watch on jsp that renders manageTaskDialog maybe this is cousing you problems.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2010 04:10 AM
I just realized it works now!
Maybe because I recently switched to 3.2r, I don't know exactly why, but it works 🙂
Maybe because I recently switched to 3.2r, I don't know exactly why, but it works 🙂
