Difference between revisions of "ADF Scripts and CommonSpot Registered Resources"
From ADF Docs
Gcronkright (talk | contribs) (→ADF Theme Error Log Entries) |
Gcronkright (talk | contribs) (→ADF Theme Error Log Entries) |
||
Line 7: | Line 7: | ||
# If the default theme is registered then add "ui-lightness" as an ALIAS for the Registered Resource. | # If the default theme is registered then add "ui-lightness" as an ALIAS for the Registered Resource. | ||
# If a default them is not Registered... create it (with "ui-lightness") as an ALIAS. | # If a default them is not Registered... create it (with "ui-lightness") as an ALIAS. | ||
− | + | * Resource Tab: | |
− | + | ** Name: jQueryUIDefaultTheme 1.11 | |
− | + | ** Description: jQueryUIDefaultTheme resources. | |
− | + | * Resource URLs Tab: | |
− | + | ** Early Loading: | |
− | + | *** URL: /ADF/thirdParty/jquery/ui/jquery-ui-1.11/css/ui-lightness/jquery-ui.css | |
− | + | *** Type: Stylesheet | |
− | + | *** Combine: disabled | |
− | + | *** Minify: disabled | |
− | + | ** Description: jQueryUIDefaultTheme resources. | |
− | + | * Alias URLs Tab: | |
− | + | ** Aliases: | |
− | + | *** ui-lightness | |
− | + | *** jQueryUIDefaultTheme | |
− | + | *** jQueryUIstyles |
Revision as of 16:23, 14 March 2016
ADF Theme Error Log Entries
If an ADF or ADF App component, custom script, custom field or datasheet module requests Script Library theme via the scripts.loadTheme() method the requested theme does not exist as a CommonSpot Registered Resource this request will attempt to load a registed DefaultTheme resource or the theme files directly but it will also generate a error log entry describing the problem.
For these error log entries are pretty easy to resolve with a one of the following approaches:
- Run the ADF Register ALL Scripts tool.
- Manually register the "ui-lightness" theme as a Registered Resource.
- If the default theme is registered then add "ui-lightness" as an ALIAS for the Registered Resource.
- If a default them is not Registered... create it (with "ui-lightness") as an ALIAS.
- Resource Tab:
- Name: jQueryUIDefaultTheme 1.11
- Description: jQueryUIDefaultTheme resources.
- Resource URLs Tab:
- Early Loading:
- URL: /ADF/thirdParty/jquery/ui/jquery-ui-1.11/css/ui-lightness/jquery-ui.css
- Type: Stylesheet
- Combine: disabled
- Minify: disabled
- Description: jQueryUIDefaultTheme resources.
- Early Loading:
- Alias URLs Tab:
- Aliases:
- ui-lightness
- jQueryUIDefaultTheme
- jQueryUIstyles
- Aliases: