A User interface that allows a user to monitor tasks allocated to the user’s queues and to complete those tasks.
InboxUI(parent_ui, relative_base_path, slot_map, for_bookmark, name, **ui_arguments)¶
A user-facing UserInterface for monitoring an
reahl.systemaccountmodel.Inbox. It allows a user to work on tasks.
- main_slot: All UI elements are put into this Slot for any View in this UserInterface.
AccountUI.get_bookmark()passing one of these relative URLs as the relative_url kwarg in order to get a Bookmark for the View listed below:
- The inbox itself.
The Widget used to display a particular
Programmers need to create a subclass of TaskWidget to display a particular Task, also written by the programmer. Such a Widget should display whatever a user needs to see to complete the Task, including the relevant Buttons for deferring, or releasing the Task.
Register each of your TaskWidget subclasses in your .reahlproject file as a class on the entrypoint ‘reahl.workflowui.task_widgets’. For example:
<export entrypoint="reahl.workflowui.task_widgets" name="TaskWidget" locator="reahl.domainui.workflow:TaskWidget"/>
Override this method, and let it return True only if cls is the correct Widget for displaying the given task instance.