Documentation Center

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:

FilenameDescription
CWMain.jsjQuery-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.jsHigh 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.jsManages html metadata of the main view, simple wrapper script that allows quick access to metadata. Metadata are defined in CWMain.jsp
CWPostList.jsManages functionality related to Contenta post lists
CWHistory.jsManages functionality related to Contenta object history – View. Latest, Delete, Restore
CWCreateObjDlg.jsManages functionality related to Create Object functionality
CWEditPropDlg.jsManages functionality related to Edit Property functionality
CWPostList.jsManages functionality related to CW Postlist
CWSearch.jsManages functionality related to CW Search
jquery-ui-1.7.2.custom.min.jsUsed by grid.js
jquery.event.drag.custom.jsUsed by grid.js
jquery.jsjQuery - javascript library - v1.5.2
jquery.jstree.jsCreates and manages tree view control in the Tree View
jquery.rule-1.0.1.1-min.jsUsed by grid.js
columnpicker.jsManages context menu for column headers in the List View – context menu that allows to remove or add columns
editors.jsContains 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.jsCreates and manages grid control in the List View. Part of grid component
model.jsUsed by grid.js. Part of grid component.
pager.jsCreates 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.jsjQuery based component that splits browser window into panes