Making Dojo resources available on an XPage
Dojo resources must be made available before being applied to controls.
About this task
Procedure
- Put focus on the XPage itself.
- Select Dojo on the Properties tab.
- Set
dojoTheme
to true. - Select Resources on the Properties tab.
- For each widget you want to make available:
- Click Add and select
Dojo Module
. - Specify the Dojo module name, for example,
dijit.form.NumberSpinner
. - (Optional) Specify a condition - a script that evaluates to true or false.
- Click OK.
- Click Add and select