Making Dojo resources available on an XPage

Dojo resources must be made available before being applied to controls.

About this task

To make Dojo resources available on an XPage:

Procedure

  1. Put focus on the XPage itself.
  2. Select Dojo on the Properties tab.
  3. Set dojoTheme to true.
  4. Select Resources on the Properties tab.
  5. For each widget you want to make available:
    1. Click Add and select Dojo Module.
    2. Specify the Dojo module name, for example, dijit.form.NumberSpinner.
    3. (Optional) Specify a condition - a script that evaluates to true or false.
    4. Click OK.