Model
HTML workspace is composed of reusable components which are organized in a specific folder structure in CRX™. Each component has model, view, and template file at location specified in the folder structure, JavaScript™ dependencies on other component files, events listened by the component and JavaScript objects which trigger these events in HTML Workspace. The complete list of reusable components with constituent filenames and dependencies is given here.
TaskList
|
tasklist.js |
View |
tasklist.js |
Template |
tasklist.html |
Requires components |
|
JS dependencies |
|
Events listened (Event name – Trigger) |
|
This component can be used independently of HTML workspace, provided you trigger filterSelected event for this component from your custom application.
Task
Model |
task.js |
View |
task.js |
Template |
task.html |
Requires components |
NA |
JS dependencies |
|
Events listened (Event name – Trigger) |
|
Workspace calls fetchTasks function of TaskList model to create Task models for this component.
FilterList
Model |
tasklist.js |
View |
filterlist.js |
Template |
filterlist.html |
Requires components |
NA |
JS dependencies |
NA |
Events listened (Event name – Trigger) |
|
Filter
View |
filter.js |
Template |
filter.html |
Requires components |
NA |
JS dependencies |
|
Events listened |
NA |
TeamQueues
Model |
tasklist.js |
View |
teamqueues.js |
Template |
teamqueues.html |
Requires components |
NA |
JS dependencies |
NA |
Events listened (Event name – Trigger) |
|
TeamFilter
Model |
NA |
View |
teamfilter.js |
Template |
teamfilter.html |
Requires components |
NA |
JS dependencies |
|
Events listened |
NA |
TeamFilter gets the event indicating which task has been selected from TaskList component. Although these components share the model class, there is no other dependency.
TaskDetails
Model |
tasklist.js |
View |
taskdetails.js |
Template |
taskdetails.html |
Requires components |
Most of the Utility classes |
JS dependencies |
|
Events listened (Event name – Trigger) |
|
CategoryList
Model |
categorylist.js |
View |
categorylist.js |
Template |
startprocess.html (in the route folder) |
Requires components |
Category |
JS dependencies |
|
Events listened (Event name – Trigger) |
|
This component uses model classes of some other components like StartPointList, StartPoint, and Task. Besides this dependency, CategoryList can be used independently.
Category
Model |
category.js |
View |
category.js |
Template |
category.html |
Requires components |
NA |
JS dependencies |
|
Events listened (Event name – Trigger) |
|
StartPointList
Model |
categorylist.js |
View |
startpointlist.js |
Template |
startprocess.html (in the route folder) |
Requires components |
NA |
JS dependencies |
|
Events listened (Event name – Trigger) |
|
StartPointList and CategoryList components share the model class, hence the former depends on the latter. CategoryList accesses the information about which category's start points are shown. To use StartPointList independently, simulate the event trigger from CategoryList.
StartPoint
Model |
startpoint.js |
View |
startpoint.js |
Template |
startpoint.html |
Requires components |
NA |
JS dependencies |
task model |
Events listened (Event name – Trigger) |
change - startpoint model |
StartProcess
Model |
categorylist.js |
View |
startprocess.js |
Template |
startprocess.html |
Requires components |
|
JS dependencies |
|
Events listened (Event name – Trigger) |
|
StartProcess and StartPointList components share the model class. This component becomes relevant you select a startpoint from StartPointList.
ProcessNameList
Model |
processnamelist.js |
View |
processnamelist.js |
Template |
tracking.html (in the route folder) |
Requires components |
NA |
JS dependencies |
processname model |
Events listened (Event name – Trigger) |
|
ProcessNameList does not depend on other components. However, internally it depends on ProcessInstanceList model class that in turn depends on other components. Hence, ProcessNameList uses many model classes like ProcessInstanceList, ProcessInstance, TaskList, Teamtask, and Task. Besides these dependencies, ProcessNameList can be used independently.
ProcessName
Model |
processname.js |
View |
processname (in processnamelist.js) |
Template |
processname.html |
Requires components |
NA |
JS dependencies |
processinstancelist model |
Events listened (Event name – Trigger) |
change - processname model |
ProcessInstanceList
Model |
processnamelist.js |
View |
processinstancelist.js |
Template |
tracking.html (in the route folder) |
Requires components |
NA |
JS dependencies |
processname model |
Events listened (Event name – Trigger) |
|
ProcessInstanceList expects an event from ProcessNameList indicating the process name for fetching and displaying instances. To use ProcessInstanceList independently, simulate the event trigger separately.
ProcessInstance
Model |
processinstance.js |
View |
processname inside processnamelist.js |
Template |
processinstance.html |
Requires components |
NA |
JS dependencies |
tasklist model |
Events listened (Event name – Trigger) |
change - processinstance model |
ProcessInstanceHistory
Model |
processnamelist.js |
View |
processinstancehistory.js |
Template |
processinstancehistory.html |
Requires components |
NA |
JS dependencies |
|
Events listened (Event name – Trigger) |
|
ProcessInstanceHistory expects an event from ProcessInstanceList indicating which process instance's history is to be shown. Besides this dependency the component can be used independently.
OutofOffice
Model |
outofoffice.js |
View |
outofoffice.js |
Template |
outofoffice.html |
Requires components |
UserSearch |
JS dependencies |
usersearch view |
Events listened (Event name – Trigger) |
|
OutofOffice can be used independently.
ShareQueue
Model |
sharequeue.js |
View |
sharequeue.js |
Template |
sharequeue.html |
Requires components |
UserSearch |
JS dependencies |
usersearch view |
Events listened (Event name – Trigger) |
|
ShareQueue can be used independently.
UISettings
Model |
uisettings.js |
View |
uisettings.js |
Template |
uisettings.html |
Requires components |
NA |
JS dependencies |
NA |
Events listened (Event name – Trigger) |
|
UISettings can be used independently.
AppNavigation
Model |
appnavigation.js |
View |
appnavigation.js |
Template |
appnavigation.html |
Requires components |
NA |
JS dependencies |
NA |
Events listened |
NA |
AppNavigation can be used independently.
UserInfo
Model |
userinfo.js |
View |
userinfo.js |
Template |
userinfo.html |
Requires components |
NA |
JS dependencies |
NA |
Events listened (Event name – Trigger) |
|
UserInfo can be used independently.
WSError
Model |
wserror.js |
View |
wserror.js |
Template |
wserror.html |
Requires components |
NA |
JS dependencies |
NA |
Events listened (Event name – Trigger) |
newWsError - wserror model |
UserSearch
Model |
usersearch.js |
View |
usersearch.js |
Template |
usersearch.html |
Requires components |
NA |
JS dependencies |
NA |
Events listened (Event name – Trigger) |
|
SearchTemplate
Model |
searchtemplate.js |
View |
searchtemplate (in searchtemplatelist.js) |
Template |
searchtemplate.html |
Requires components |
NA |
JS dependencies |
NA |
Events listened (Event name – Trigger) |
templateFetched- searchtemplate model |
SearchTemplateList
Model |
searchtemplatelist.js |
View |
searchtemplatelist.js |
Template |
tracking.html (in the route folder) |
Requires components |
NA |
JS dependencies |
searchtemplate model |
Events listened (Event name – Trigger) |
change - searchtemplatelist model |
SearchTemplateDetails
Model |
searchtemplatelist.js |
View |
searchtemplatedetails.js |
Template |
searchtemplatedetails.html |
Requires components |
NA |
JS dependencies |
NA |
Events listened (Event name – Trigger) |
searchTemplate:selected - searchtemplate model |