Key JavaScript Files
Note, JavaScript is used within many of the jsp files. In addition, the key JavaScript files are described in the table below:
| Filename | Description |
|---|---|
| CWMain.js | jQuery-based script, manages jquery requests from CW components – loads data to Tree View, List View, Details, Search, Assignments and Project Management Views, coordinates updates and refreshes between components, processes jquery error messages, handles Cut-Copy-Reuse-Paste jquery requests, hides/shows details view |
| CWListView.js | High level script that initializes CW grid control used by the List View - creates and initializes values that should be initialized once for CW session. It also creates and manages context menu for a row in the List View. |
| CWMeta.js | Manages html metadata of the main view, simple wrapper script that allows quick access to metadata. Metadata are defined in CWMain.jsp |
| CWPostList.js | Manages functionality related to Contenta post lists |
| CWHistory.js | Manages functionality related to Contenta object history – View. Latest, Delete, Restore |
| CWCreateObjDlg.js | Manages functionality related to Create Object functionality |
| CWEditPropDlg.js | Manages functionality related to Edit Property functionality |
| CWPostList.js | Manages functionality related to CW Postlist |
| CWSearch.js | Manages functionality related to CW Search |
| jquery-ui-1.7.2.custom.min.js | Used by grid.js |
| jquery.event.drag.custom.js | Used by grid.js |
| jquery.js | jQuery - javascript library - v1.5.2 |
| jquery.jstree.js | Creates and manages tree view control in the Tree View |
| jquery.rule-1.0.1.1-min.js | Used by grid.js |
| columnpicker.js | Manages context menu for column headers in the List View – context menu that allows to remove or add columns |
| editors.js | Contains custom formatters for columns in the List View, e.g. Name column displays an image and a link, Actions column contains links to a default tool and to all available tools, most columns contain information as a plain text. Part of grid component |
| grid.js | Creates and manages grid control in the List View. Part of grid component |
| model.js | Used by grid.js. Part of grid component. |
| pager.js | Creates and manages toolbar for the List View – creates a title, links to refresh, hide/show details, sorting, status and pager links. Part of grid component. |
| splitter.js | jQuery based component that splits browser window into panes |