Skip to main content link. Accesskey S

Dojomino Wiki

Submit Search

Dojomino Wiki

Home > API > dojomino.ui.DominoUI

dojomino.ui.DominoUI

dojomino.ui.DominoUI

The DominoUI widget is used to setup a web app much like you would create a Frameset design element in Notes designer to display an Outline in a left-side frame, with a default view in a right-side frame.  The DominoUI object does the same but in a Dojo context without framesets or frames.  Instead, in Dojo, there is a widget called a dijit.layout.ContentPane.  ContentPanes are kind of like iFrames, and kind of like html islands.  You can set content in an ContentPane with html written directly inside it, or you can set it with a url, either at page load, or dynamically.

Typical usage for DominoUI will be to create a Notes Page design element and in the JS Header setup a dojo.addOnLoad that will create a DominoUI object that loads the outline and default view.  It will look something like this:

dojo.addOnLoad(function() {
   var ui = new dojomino.ui.DominoUI({
      uiOutline : 'myNotesOutline',
      uiView : 'myNotesView'
   });
   ui.init();
);

Demo:  [Link to Demo to follow]