Editing pages in website folders

Whenever you are editing an HTML page inside a website folder with JavaScript enabled (via  Option   Preferences , also see 4.2.1.1 JavaScript and style sheets), BSCW’s built-in HTML editor will display an addi­tional website folder toolbar. This toolbar offers four drop-down menus to facilitate editing website folder pages:

      Insert BSCW Element – offers often used BSCW elements. Selecting one of the ele­ments offered inserts the respective code into the source code of the document at the current cursor position. In order to shorten the menu, not all BSCW elements sup­ported are listed in this menu. For a complete list see next section.

      Insert BSCW Link – offers the names of objects contained in the current website folder other than the current document. Clicking one of them inserts a link to the object at the current cursor position. This drop-down menu will not appear if the current page is the only object inside the website folder apart from the active layout page. An active lay­out page is not offered in this menu.

      Folder actions – offers some often used actions on the current website folder. Select­ing one of the action names inserts the respective code into the source code of the document at the current cursor position. For a complete list of actions available see next section.

      Document actions – offers some often used actions on the document being edited. Se­lecting one of the action names inserts the respective code into the source code of the document at the current cursor position. For a complete list of actions available see next section.

Note that links inside website folders are name-based: If there are two objects with the same name inside a folder (which is possible in BSCW), you might get random results when you create a link to one of them.

Note: BSCW’s built-in HTML editor’s preview page currently does neither evaluate website folder elements nor does it embed content pages in the active layout page.

In order to facilitate the creation of pages in a website folder, a shortcut is offered to copy an existing page and edit the copy subsequently:

      Select action menu  Edit Copy  in the action menu of an HTML (or text) document.

      In the ‘Edit Copy’ form you may enter a name for the copy and an optional descrip­tion.

      Hit [OK] to create the copy and launch the editor for editing the document copy.

The Edit Copy action is useful to derive a Web page from another page, thus saving work and retaining the original style with ease. When the website folder functionality is activated, this action is also available for all HTML and text documents on the BSCW server.