CWMain.jsp

CWMain.jsp is responsible for generating the main Contenta Web interface. It uses Ajax to do this. A sample code snippet is below.

cwMain.loadAjaxContent (headerURL, "#cwHeader"); 
cwMain.loadAjaxContent (treeRootUrl, "#cwTreeView"); 
cwMain.loadAjaxContent (menuURL, "#cwMenu"); 
cwMain.setFocus("TV", "<%=idpath%>");