dominoOutline Control
Thursday, December 10, 2009 at 7:12PM One of the things I have missed with XPages is an effective Outline control. There have been a range of solutions published but none have met my needs. So I decided to build my own as part of the xDomino Framework.
My first effort was based upon the implimenting the standard Notes Client Outline control as a dojo dijitree. This provided the tree structure needed for an outline but there were issues. As the outlines got more complex they would cease to render correctly on Internet Explorer. In Firefox the digitree would still appear but could take several minutes to load.
The inspiration for my next effort came from Elguji's iPhone interface for idea jam. It brings simplicity to the outline design as well as a design pattern that is becoming known and liked by an increasing number of people. It also offers the advantage of being able to be implemented as a solution for the Notes classic, Web client, and mobile devices. The following examples of the outline can be viewed at www.dominoframework.com.

The outline is generated using three custom controls. A style sheet is then used to style the outline to have a similar look to the iPhone.
dominoOutline
The dominoOutline control acts as a container control for the outline. The dominoOutline control contains two facets. The first for (optional) dominoHomeEntry controls and the second for the dominoOutlineEntry controls. The control has a single property:-
- Title: Text that appears at top of outline
Note: To provide the full flexibility of Outlines the outline control would be placed on an Xpage which is then placed in the left frame of a framset.
dominoOutlineEntry
A panel control is first added to the dominoOutline control to allow multiple dominoOutlineEntry controls to then be added to build the outline. The dominoOutlineEntry has five properties allowing it to be customized:-
- text: The text to appear in the outline entry
- url: The url to be launched when the outline entry is selected
- target: The target frame into which the url is to be launched
- icon: An optional icon to be displayed with the outline entry
- menu: Set to true to denote the entry links to a submenu. (used to add the menu icon >)
dominoHomeEntry
The dominoHomeEntry control is used for submenus as a way of navigating up one or more levels much in the same way as breadcrumbs work. The control has two properties:-
- text: The text to appear in the outline entry
- url: The url that returns to that home menu
dominoOutlookDivider
This is not a control, but by adding and styling a division it is possible to group outline entries as demonstrated below.
Example:

The Code
The code for these controls is s little lengthy for a blog. I will shortly post the code for this and the dominoToolTip control as a new download on OpenNTF. These controls will also be included (later) in the xDominoFramwork project on OpenNTF.
Controls,
XPages,
outline in
Development 

