Documentation Center

List Hierarchy Web

The List Hierarchy Web tool is for SDL Contenta Web. It calls the same List Hierarchy.jsp that the List Hierarchy JSP tool calls. This tool is only available from the SDL Contenta Web application interface.

The tool name is List Hierarch Web.

Tool definition to launch ListHierarchy.jsp:
prog cw_common/custom/wait.jsp?nextpage=ListHierarchy.jsp& webapp=ListHierarchy&newwindow
There are two files for CW List Hierarchy. They are:
  • SDL Contenta_home\web\cw_common\custom\wait.jsp
  • SDL Contenta_home\web\cw_common\custom\ListHierarchy.jsp

The wait.jsp file calls findURL. You can copy it to create special purpose versions of it. The wait.jsp was developed with one main idea in mind; the SDL Contenta Web method, findURL, returns the URL to a file if you know the name of the file.

The developer can use the SDL Contenta Web server to modify and deploy test webpages while other users are still accessing the production code in the custom directory. You can do this because under the cw_common directory are two sub-directories, custom and test. If the JSP code calls the findURL method and the local test directory switches are on, the method returns the URL that goes through the test directory, otherwise the URL that goes through the custom directory is returned.

The tool definition for a web tool must contain the path to the first JSP page. The following tool definition launches the page in the custom directory:
prog cw_common/custom/ListHierarchy.jsp
If the following is the tool definition then the test or custom webpage is launched based on the user's test settings.
prog cw_common/custom/wait.jsp?nextpage=ListHierarchy.jsp

This wait.jsp approach allows a developer to make modifications to the first page of a web application without having to shut down either the SDL Contenta portal server or the SDL Contenta Web server.