New Dojomino NotesOutline Widget
Bookmark :
The dojomino.dijit.NotesOutline is now ready for prime-time. The outline widget allows you to very easily incorporate a Notes Outline on the page from the same or any other database. It is pure javascript (no java applet) based on Dojo's dijit.Tree that issues an AJAX call to the server for the Notes Outline data. It renders icons as they were specified by the Domino Designer and processes the click event for the item into the same page, a new window, or via an onClick event handler of the developer's choosing. It handles multi-level outlines and a demo is available of it here. It has been added to the online demonstration database as well.
It's very simple to add to a page. Like all dojo pages, you add a dojo.require in the header. In this case, dojo.require("dojomino.dijit.NotesOutline"), and then you add a div to the page where you want the outline to appear, such as:
<div id="myOutline" dojoType="dojomino.dijit.NotesOutline" outline="Dojomino"></div>
A shout out to Scott for finding an error in the OutlineStore code which this widget depends upon. Nice to have one caught beforehand for a change. Thanks Scott.
UPDATE: links fixed.

