Saturday, October 12, 2013

make a page in a dojox app

The "template" setting in config.json will likely point to a particular .html file in a directory nested within another directory for collecting views which is typically called "app" and let's assume that this folder is called "app" in our example. To add a new page:

  1. add a new folder at app
  2. put some pages in here (each "page" has both a .js file and an .html file template) perhaps by copying from preexisting pages
  3. add a menu item at app\shared\Nav.html (or wherever the universal navigation page is located)
  4. add controller/view stuff in config.json

No comments:

Post a Comment