Repository Area Code Sample

Repository areas are defined in an areas block of a DiveTab module or in their own separate DiveTab module. A repository area appears similar to the following:

  repository-area id = "repository-area-1" { 
    repository "guides" 
    title "Guides" 
    icon "/divetab/images/documents.png" 
  } 

The title provides a label for the button and the title of Closedthe page the button opens.

Example Repository Button

Here is the Closedrepository area in DiveTab.

Example Repository Page

The DiveTab application page displays the contents of the document library in the associated DivePort with Guides as the page heading.