Platform Explorer / Nuxeo Platform 5.6

Extension point resources

Extension Point for registering theme resources.

1) Local resources

The XML syntax is:

    <resource name="resourcename.xxx">
        <path>path/to/resource.xxx</path>
        <require>other-resource.xxx</require>
    </resource>

where: - 'name' is the name of the Resource. Supported extensions are '.js', '.css' and '.json'. - 'path' is the path of the Resource to be loaded by the class loader. - 'require' is the name of another Resource that is required. (Optional) Several resources can be required:

other-resource1.xxx other-resource2.xxx

2) Remote resources (theme banks)

Resources can be registered into theme banks to be accessed remotely.

The XML syntax on the server side is:

    <import bank="bank name" collection="collection name" src="bank-resources.zip"/>

The zip archive is deployed into the bank. The archive's structure is:

style/ image/ preset/ preset/ preset/border/ preset/font/ preset/background/ preset/color/ ...

Contribution Descriptor

Existing Contributions

  • nuxeo-wall-5.6.jar
    <extension point="resources" target="org.nuxeo.theme.services.ThemeService">
        <resource name="gadget-wall.css">
          <path>css/opensocial/gadgets/wall.css</path>
        </resource>
    
        <resource name="gadget-wall.js">
          <path>scripts/opensocial/gadgets/wall.js</path>
        </resource>
      </extension>
  • nuxeo-theme-html-5.6.jar
    <extension point="resources" target="org.nuxeo.theme.services.ThemeService">
    
        <!-- Prototype 1.6.1 -->
        <!-- when changing prototype version, please make
          sure fix for NXP-2586, NXP-3782 and for NXP-3600 are applied -->
        <resource name="prototype.js">
          <path>nxthemes/html/scripts/prototype.js</path>
        </resource>
    
        <!-- JQuery 1.2.3 -->
        <resource name="jquery.js">
          <path>nxthemes/html/scripts/jquery.js</path>
        </resource>
    
    
        <!-- Keyboard shortcuts http://www.openjs.com/scripts/events/keyboard_shortcuts/shortcut.js -->
        <resource name="shortcut.js">
          <path>nxthemes/html/scripts/shortcut.js</path>
        </resource>
    
        <!-- ObjTree 0.24 (http://www.kawa.net/works/js/xml/objtree-e.html)  -->
        <resource name="objtree.js">
          <path>nxthemes/html/scripts/objtree.js</path>
        </resource>
    
        <!-- Scriptaculous v1.8.1 -->
        <resource name="builder.js">
          <path>nxthemes/html/scripts/scriptaculous/builder.js</path>
          <require>prototype.js</require>
        </resource>
    
        <resource name="effects.js">
          <path>nxthemes/html/scripts/scriptaculous/effects.js</path>
          <require>prototype.js</require>
        </resource>
    
        <resource name="controls.js">
          <path>nxthemes/html/scripts/scriptaculous/controls.js</path>
          <require>effects.js</require>
          <require>prototype.js</require>
        </resource>
    
        <resource name="dragdrop.js">
          <path>nxthemes/html/scripts/scriptaculous/dragdrop.js</path>
          <require>effects.js</require>
          <require>prototype.js</require>
        </resource>
    
        <resource name="slider.js">
          <path>nxthemes/html/scripts/scriptaculous/slider.js</path>
          <require>prototype.js</require>
        </resource>
    
        <resource name="sound.js">
          <path>nxthemes/html/scripts/scriptaculous/sound.js</path>
          <require>prototype.js</require>
        </resource>
    
        <!-- Seam 1.0.1.GA -->
        <resource name="seam-remote.js">
          <path>nxthemes/html/scripts/seam-remote.js</path>
        </resource>
    
        <resource name="nxthemes.css">
          <path>nxthemes/html/styles/nxthemes.css</path>
        </resource>
    
        <resource name="nxthemes-widgets.css">
          <path>nxthemes/html/styles/nxthemes-widgets.css</path>
        </resource>
    
        <resource name="nxthemes-jsf.css">
          <path>nxthemes/html/styles/nxthemes-jsf.css</path>
        </resource>
    
        <!-- WYSIWYG JavaScript framework 0.1 http://github.com/37signals/wysihat/tree/master -->
        <resource name="wysihat.js">
          <path>nxthemes/html/scripts/wysihat.js</path>
          <require>prototype.js</require>
        </resource>
    
        <!--  nxthemes lib -->
        <resource name="nxthemes.js">
          <path>nxthemes/html/scripts/nxthemes/nxthemes.js</path>
          <require>prototype.js</require>
          <require>nxthemes.css</require>
        </resource>
    
        <resource name="nxthemes-widgets.js">
          <path>
            nxthemes/html/scripts/nxthemes/nxthemes-widgets.js
          </path>
          <require>nxthemes.js</require>
          <require>nxthemes-widgets.css</require>
        </resource>
    
        <resource name="nxthemes-effects.js">
          <path>
            nxthemes/html/scripts/nxthemes/nxthemes-effects.js
          </path>
          <require>nxthemes.js</require>
        </resource>
    
        <resource name="nxthemes-controllers.js">
          <path>
            nxthemes/html/scripts/nxthemes/nxthemes-controllers.js
          </path>
          <require>nxthemes-effects.js</require>
        </resource>
    
        <resource name="nxthemes-storages.js">
          <path>
            nxthemes/html/scripts/nxthemes/nxthemes-storages.js
          </path>
          <require>nxthemes.js</require>
        </resource>
    
     <!--  AutoSuggest lib -->
        <resource name="autosuggest.css">
          <path>nxthemes/html/styles/autosuggest.css</path>
        </resource>
        <resource name="bsn.AutoSuggest_2.1.3.js">
          <path>nxthemes/html/scripts/bsn.AutoSuggest_2.1.3.js</path>
        </resource>
    
      </extension>
  • nuxeo-social-workspace-gadgets-library-5.6.jar
    <extension point="resources" target="org.nuxeo.theme.services.ThemeService">
        <!-- CSS -->
        <!-- Gadgets CSS -->
        <resource name="gadget-library.css">
          <path>css/opensocial/gadgets/library.css</path>
        </resource>
    
        <!-- Gadgets JS -->
        <resource name="gadget-library.js">
          <path>scripts/opensocial/gadgets/library.js</path>
        </resource>
      </extension>
  • nuxeo-social-workspace-gadgets-5.6.jar
    <extension point="resources" target="org.nuxeo.theme.services.ThemeService">
        <!-- CSS -->
        <!-- Gadgets CSS -->
        <resource name="gadget-articles.css">
          <path>css/opensocial/gadgets/articles.css</path>
        </resource>
        <resource name="gadget-join.css">
          <path>css/opensocial/gadgets/join.css</path>
        </resource>
        <resource name="gadget-members.css">
          <path>css/opensocial/gadgets/members.css</path>
        </resource>
        <resource name="gadget-news.css">
          <path>css/opensocial/gadgets/news.css</path>
        </resource>
        <resource name="gadget-publicarticles.css">
          <path>css/opensocial/gadgets/publicarticles.css</path>
        </resource>
        <resource name="gadget-publicdocuments.css">
          <path>css/opensocial/gadgets/publicdocuments.css</path>
        </resource>
        <resource name="gadget-publicsocialworkspaces.css">
          <path>css/opensocial/gadgets/publicsocialworkspaces.css</path>
        </resource>
        <resource name="gadget-socialworkspaceactivitystream.css">
          <path>css/opensocial/gadgets/socialworkspaceactivitystream.css</path>
        </resource>
        <resource name="gadget-socialworkspaceminimessages.css">
          <path>css/opensocial/gadgets/socialworkspaceminimessages.css</path>
        </resource>
        <resource name="gadget-usersocialworkspaces.css">
          <path>css/opensocial/gadgets/usersocialworkspaces.css</path>
        </resource>
    
        <!-- JS -->
        <!-- Common JS -->
        <resource name="gadget-dashboard-navigation.js">
          <path>scripts/opensocial/gadgets/dashboard-navigation.js</path>
        </resource>
        <!-- Gadgets JS -->
        <resource name="gadget-articles.js">
          <path>scripts/opensocial/gadgets/articles.js</path>
        </resource>
        <resource name="gadget-join.js">
          <path>scripts/opensocial/gadgets/join.js</path>
        </resource>
        <resource name="gadget-members.js">
          <path>scripts/opensocial/gadgets/members.js</path>
        </resource>
        <resource name="gadget-news.js">
          <path>scripts/opensocial/gadgets/news.js</path>
        </resource>
        <resource name="gadget-publicarticles.js">
          <path>scripts/opensocial/gadgets/publicarticles.js</path>
        </resource>
        <resource name="gadget-publicdocuments.js">
          <path>scripts/opensocial/gadgets/publicdocuments.js</path>
        </resource>
        <resource name="gadget-publicsocialworkspaces.js">
          <path>scripts/opensocial/gadgets/publicsocialworkspaces.js</path>
        </resource>
        <resource name="gadget-socialworkspaceactivitystream.js">
          <path>scripts/opensocial/gadgets/socialworkspaceactivitystream.js</path>
        </resource>
        <resource name="gadget-socialworkspaceminimessages.js">
          <path>scripts/opensocial/gadgets/socialworkspaceminimessages.js</path>
        </resource>
        <resource name="gadget-usersocialworkspaces.js">
          <path>scripts/opensocial/gadgets/usersocialworkspaces.js</path>
        </resource>
      </extension>
  • nuxeo-rating-gadget-5.6-RC1.jar /OSGI-INF/theme-contrib.xml
    <extension point="resources" target="org.nuxeo.theme.services.ThemeService">
        <!-- CSS -->
        <!-- Gadgets CSS -->
        <resource name="gadget-like.css">
          <path>css/opensocial/gadgets/like.css</path>
        </resource>
        <resource name="gadget-mostLiked.css">
          <path>css/opensocial/gadgets/mostLiked.css</path>
        </resource>
    
        <!-- JS -->
        <!-- Gadgets JS -->
        <resource name="gadget-like.js">
          <path>scripts/opensocial/gadgets/like.js</path>
        </resource>
        <resource name="gadget-mostLiked.js">
          <path>scripts/opensocial/gadgets/mostLiked.js</path>
        </resource>
      </extension>
  • nuxeo-user-activity-stream-5.6.jar
    <extension point="resources" target="org.nuxeo.theme.services.ThemeService">
        <resource name="gadget-useractivitystream.css">
          <path>css/opensocial/gadgets/useractivitystream.css</path>
        </resource>
    
        <resource name="gadget-useractivitystream.js">
          <path>scripts/opensocial/gadgets/useractivitystream.js</path>
        </resource>
      </extension>
  • nuxeo-mini-message-5.6.jar
    <extension point="resources" target="org.nuxeo.theme.services.ThemeService">
        <resource name="gadget-minimessages.css">
          <path>css/opensocial/gadgets/minimessages.css</path>
        </resource>
    
        <resource name="gadget-minimessages.js">
          <path>scripts/opensocial/gadgets/minimessages.js</path>
        </resource>
      </extension>
  • nuxeo-platform-document-routing-web-5.6.jar
    <extension point="resources" target="org.nuxeo.theme.services.ThemeService">
        <resource name="automation.js">
          <path>scripts/automation.js</path>
          <require>jquery.js</require>
        </resource>
        <resource name="jquery.jsPlumb-1.3.9-all-min.js">
          <path>scripts/jquery.jsPlumb-1.3.9-all-min.js</path>
          <require>jquery.js</require>
        </resource>
        <resource name="documentRoutingGraph.js">
          <path>scripts/documentRoutingGraph.js</path>
          <require>jquery.jsPlumb-1.3.9-all-min.js</require>
          <require>automation.js</require>
        </resource>
        <resource name="documentRoutingGraph.css">
          <path>css/documentRoutingGraph.css</path>
        </resource>
    
      </extension>
  • nuxeo-theme-editor-5.6.jar
    <extension point="resources" target="org.nuxeo.theme.services.ThemeService">
    
        <resource name="nxthemes-editor.js">
          <path>nxthemes/editor/scripts/nxthemes-editor.js</path>
          <require>nxthemes.js</require>
          <require>nxthemes-effects.js</require>
        </resource>
    
        <resource name="jscolor.js">
          <path>nxthemes/editor/scripts/jscolor.js</path>
        </resource>
    
        <resource name="nxthemes-editor.css">
          <path>nxthemes/editor/styles/nxthemes-editor.css</path>
        </resource>
    
        <resource name="theme-editor.json">
          <path>
            nxthemes/editor/models/theme-editor.json
          </path>
        </resource>
    
        <resource name="element-mover.json">
          <path>
            nxthemes/editor/controllers/element-mover.json
          </path>
        </resource>
    
        <resource name="color-picker.json">
          <path>
            nxthemes/editor/controllers/color-picker.json
          </path>
        </resource>
    
        <resource name="toolbox-mover.json">
          <path>
            nxthemes/editor/controllers/toolbox-mover.json
          </path>
        </resource>
    
        <resource name="editor-perspectives.json">
          <path>
            nxthemes/editor/controllers/editor-perspectives.json
          </path>
        </resource>
    
        <resource name="dashboard-perspectives.json">
          <path>
            nxthemes/editor/controllers/dashboard-perspectives.json
          </path>
        </resource>
    
        <resource name="editor-buttons.json">
          <path>
            nxthemes/editor/controllers/editor-buttons.json
          </path>
        </resource>
    
        <resource name="theme-buttons.json">
          <path>
            nxthemes/editor/controllers/theme-buttons.json
          </path>
        </resource>
    
        <resource name="fragment-inserter.json">
          <path>
            nxthemes/editor/controllers/fragment-inserter.json
          </path>
        </resource>
    
        <resource name="perspective-selector.json">
          <path>
            nxthemes/editor/controllers/perspective-selector.json
          </path>
        </resource>
    
        <resource name="element-editor-perspectives.json">
          <path>
            nxthemes/editor/controllers/element-editor-perspectives.json
          </path>
        </resource>
    
        <resource name="element-form-actions.json">
          <path>
            nxthemes/editor/controllers/element-form-actions.json
          </path>
        </resource>
    
        <resource name="fragment-factory-expander.json">
          <path>
            nxthemes/editor/controllers/fragment-factory-expander.json
          </path>
        </resource>
    
        <resource name="page-switcher.json">
          <path>
            nxthemes/editor/controllers/page-switcher.json
          </path>
        </resource>
    
        <resource name="area-style-actions.json">
          <path>
            nxthemes/editor/controllers/area-style-actions.json
          </path>
        </resource>
    
        <resource name="area-style-perspectives.json">
          <path>
            nxthemes/editor/controllers/area-style-perspectives.json
          </path>
        </resource>
    
        <resource name="layout-editor-actions.json">
          <path>
            nxthemes/editor/controllers/layout-editor-actions.json
          </path>
        </resource>
    
        <resource name="style-editor-perspectives.json">
          <path>
            nxthemes/editor/controllers/style-editor-perspectives.json
          </path>
        </resource>
    
        <resource name="style-editor-actions.json">
          <path>
            nxthemes/editor/controllers/style-editor-actions.json
          </path>
        </resource>
    
        <resource name="style-preview.json">
          <path>
            nxthemes/editor/views/style-preview.json
          </path>
        </resource>
    
        <resource name="style-manager-actions.json">
          <path>
            nxthemes/editor/controllers/style-manager-actions.json
          </path>
        </resource>
    
        <resource name="fragment-preview.json">
          <path>
            nxthemes/editor/views/fragment-preview.json
          </path>
        </resource>
    
        <resource name="canvas-mode-selector.json">
          <path>
            nxthemes/editor/controllers/canvas-mode-selector.json
          </path>
        </resource>
    
        <resource name="theme-switcher.json">
          <path>
            nxthemes/editor/controllers/theme-switcher.json
          </path>
        </resource>
    
        <resource name="context-menu-actions.json">
          <path>
            nxthemes/editor/controllers/context-menu-actions.json
          </path>
        </resource>
    
        <resource name="context-menu.json">
          <path>nxthemes/editor/views/context-menu.json</path>
        </resource>
    
        <resource name="toggle-context-menu.json">
          <path>
            nxthemes/editor/controllers/toggle-context-menu.json
          </path>
        </resource>
    
        <resource name="link-disabler.json">
          <path>
            nxthemes/editor/controllers/link-disabler.json
          </path>
        </resource>
    
        <resource name="preset-menu.json">
          <path>nxthemes/editor/views/preset-menu.json</path>
        </resource>
    
        <resource name="style-menu.json">
          <path>nxthemes/editor/views/style-menu.json</path>
        </resource>
    
        <resource name="style-manager-actions.json">
          <path>
            nxthemes/editor/controllers/style-manager-actions.json
          </path>
        </resource>
    
      </extension>
  • nuxeo-platform-webapp-core-5.6.jar
    <extension point="resources" target="org.nuxeo.theme.services.ThemeService">
    
        <resource name="static-styles.css">
          <path>css/static-styles.css</path>
        </resource>
    
        <resource name="screen.css">
          <path>css/screen.css</path>
        </resource>
    
        <resource name="foldable-box.js">
          <path>scripts/foldable-box.js</path>
          <require>effects.js</require>
        </resource>
    
        <resource name="window.js">
          <path>scripts/window.js</path>
        </resource>
        <resource name="window_effects.js">
          <path>scripts/window_effects.js</path>
        </resource>
        <resource name="waitdlg.js">
          <path>waitdialog/waitdlg.js</path>
        </resource>
        <resource name="utils.js">
          <path>scripts/utils.js</path>
        </resource>
        <resource name="tableSelections.js">
          <path>scripts/tableSelections.js</path>
        </resource>
        <resource name="contextmenu.js">
          <path>scripts/contextmenu.js</path>
        </resource>
        <resource name="DragAndDrop.js">
          <path>scripts/DragAndDrop.js</path>
        </resource>
        <resource name="jquery.tools.tooltip.min.js">
          <path>scripts/jquery/jquery.tools.tooltip.min.js</path>
        </resource>
        <resource name="hideableAdminMessage.js">
          <path>scripts/hideableAdminMessage.js</path>
        </resource>
        <!-- jquery cookie plugin -->
        <resource name="jquery.tools.cookie.js">
          <path>scripts/jquery/cookie.js</path>
        </resource>
        <!-- Fancybox -->
        <resource name="jquery.fancybox.js">
          <path>scripts/jquery/jquery.fancybox.pack.js</path>
        </resource>
        <resource name="jquery.fancybox.style.css">
          <path>css/jquery.fancybox.css</path>
        </resource>
        <resource name="fancybox-popup-utils.js">
          <path>scripts/fancybox-popup-utils.js</path>
        </resource>
        <!-- Hotkeys (e.g. used to focus the search box using '/') -->
        <resource name="jquery.hotkeys.js">
          <path>scripts/jquery/jquery.hotkeys.js</path>
        </resource>
        <!-- Helpers for focus on first input of a form -->
        <resource name="jquery.tools.focusfirst.js">
          <path>scripts/jquery/jquery.tools.focusfirst.js</path>
        </resource>
        <!-- Workaround for jQuery and Sarissa library conflict on IE -->
        <resource name="sarissa-ie-workaround.js">
          <path>scripts/sarissa-ie-workaround.js</path>
          <require>jquery.js</require>
        </resource>
        <!-- Mustache -->
        <resource name="mustache.js">
          <path>scripts/mustache/mustache.js</path>
        </resource>
        <!--  Simple Access Key helper -->
        <resource name="accessKey.js">
          <path>scripts/accessKey.js</path>
        </resource>
        <!-- Moment.js -->
        <resource name="moment.js">
          <path>scripts/moment.min-1.5.0nx.js</path>
        </resource>
      </extension>
  • nuxeo-agenda-5.6.jar
    <extension point="resources" target="org.nuxeo.theme.services.ThemeService">
        <resource name="gadget-agenda.css">
          <path>css/opensocial/gadgets/gadget-common.css</path>
        </resource>
        <resource name="gadget-agenda.css">
          <path>css/opensocial/gadgets/agenda.css</path>
        </resource>
        <resource name="fullcalendar.css">
          <path>css/fullcalendar.css</path>
        </resource>
        <resource name="jquery.ui.fullcalendar.timepicker.addon.css">
        	<path>css/jquery-ui-timepicker-addon.css</path>
        </resource>
    
        <resource name="gadget-agenda.js">
          <path>scripts/opensocial/gadgets/agenda.js</path>
        </resource>
        <resource name="fullcalendar.js">
          <path>scripts/fullcalendar.min.js</path>
        </resource>
        <resource name="jquery.ui.fullcalendar.js">
          <path>scripts/jquery-ui-1.8.19.fullcalendar.min.js</path>
        </resource>
        <resource name="jquery.ui.fullcalendar.timepicker.addon.js">
          <path>scripts/jquery-ui-timepicker-addon.js</path>
        </resource>
        <resource name="jquery.ui.fullcalendar.lang.js">
          <path>scripts/jquery-ui-1.8.19.fullcalendar.lang.js</path>
        </resource>
      </extension>
  • nuxeo-opensocial-gadgets-5.6.jar
    <extension point="resources" target="org.nuxeo.theme.services.ThemeService">
        <!-- CSS -->
        <!-- Common CSS -->
        <resource name="gadget-documentlists.css">
          <path>css/opensocial/gadgets/documentlists.css</path>
        </resource>
        <resource name="gadget-common.css">
          <path>css/opensocial/gadgets/gadget-common.css</path>
        </resource>
        <!-- Gadgets CSS -->
        <resource name="gadget-lastdocuments.css">
          <path>css/opensocial/gadgets/lastdocuments.css</path>
        </resource>
        <resource name="gadget-lastpublisheddocuments.css">
          <path>css/opensocial/gadgets/lastpublisheddocuments.css</path>
        </resource>
        <resource name="gadget-quicksearch.css">
          <path>css/opensocial/gadgets/quicksearch.css</path>
        </resource>
        <resource name="gadget-tasks.css">
          <path>css/opensocial/gadgets/tasks.css</path>
        </resource>
        <resource name="gadget-userdeleteddocuments.css">
          <path>css/opensocial/gadgets/userdeleteddocuments.css</path>
        </resource>
        <resource name="gadget-userdocuments.css">
          <path>css/opensocial/gadgets/userdocuments.css</path>
        </resource>
        <resource name="gadget-usersites.css">
          <path>css/opensocial/gadgets/usersites.css</path>
        </resource>
        <resource name="gadget-userworkspaces.css">
          <path>css/opensocial/gadgets/userworkspaces.css</path>
        </resource>
    
        <!-- JS -->
        <!-- Common JS -->
        <resource name="gadget-context-management.js">
          <path>scripts/opensocial/gadgets/context-management.js</path>
        </resource>
        <resource name="gadget-default-automation-request.js">
          <path>scripts/opensocial/gadgets/default-automation-request.js</path>
        </resource>
        <resource name="gadget-default-documentlist-display.js">
          <path>scripts/opensocial/gadgets/default-documentlist-display.js</path>
        </resource>
        <!-- Gadgets JS -->
        <resource name="gadget-lastdocuments.js">
          <path>scripts/opensocial/gadgets/lastdocuments.js</path>
        </resource>
        <resource name="gadget-lastpublisheddocuments.js">
          <path>scripts/opensocial/gadgets/lastpublisheddocuments.js</path>
        </resource>
        <resource name="gadget-quicksearch.js">
          <path>scripts/opensocial/gadgets/quicksearch.js</path>
        </resource>
        <resource name="gadget-tasks.js">
          <path>scripts/opensocial/gadgets/tasks.js</path>
        </resource>
        <resource name="gadget-userdeleteddocuments.js">
          <path>scripts/opensocial/gadgets/userdeleteddocuments.js</path>
        </resource>
        <resource name="gadget-userdocuments.js">
          <path>scripts/opensocial/gadgets/userdocuments.js</path>
        </resource>
        <resource name="gadget-usersites.js">
          <path>scripts/opensocial/gadgets/usersites.js</path>
        </resource>
        <resource name="gadget-userworkspaces.js">
          <path>scripts/opensocial/gadgets/userworkspaces.js</path>
        </resource>
      </extension>
  • nuxeo-opensocial-container-5.6.jar
    <extension point="resources" target="org.nuxeo.theme.services.ThemeService">
        <!-- OpenSocial container -->
        <resource name="opensocial-container.css">
          <path>opensocial/css/container.css</path>
          <require>opensocial-reset-fonts-grids.css</require>
        </resource>
        <resource name="opensocial-gadgets.css">
          <path>opensocial/css/gadgets.css</path>
          <require>opensocial-reset-fonts-grids.css</require>
        </resource>
        <resource name="opensocial-reset-fonts-grids.css">
          <path>opensocial/css/reset-fonts-grids.css</path>
        </resource>
    
        <resource name="opensocial-rpc-container.js">
          <path>scripts/opensocial/rpc-container.js</path>
        </resource>
    
        <!-- Lightweight container -->
        <resource name="opensocial-light-container-gadgets.css">
          <path>css/opensocial/light-container-gadgets.css</path>
        </resource>
    
        <resource name="opensocial-cookiebaseduserprefstore.js">
          <path>scripts/opensocial/cookiebaseduserprefstore.js</path>
          <require>opensocial-util.js</require>
          <require>opensocial-cookies.js</require>
        </resource>
        <resource name="opensocial-cookies.js">
          <path>scripts/opensocial/cookies.js</path>
          <require>opensocial-gadgets.js</require>
        </resource>
        <resource name="opensocial-gadgets.js">
          <path>scripts/opensocial/gadgets.js</path>
          <require>opensocial-util.js</require>
        </resource>
        <resource name="opensocial-rpc-container.js">
          <path>scripts/opensocial/rpc-container.js</path>
        </resource>
        <resource name="opensocial-util.js">
          <path>scripts/opensocial/util.js</path>
        </resource>
        <resource name="jquery.opensocial.gadget.js">
          <path>scripts/opensocial/jquery.opensocial.gadget.js</path>
        </resource>
    
      </extension>
  • nuxeo-activity-5.6.jar
    <extension point="resources" target="org.nuxeo.theme.services.ThemeService">
        <resource name="gadget-common-activity.css">
          <path>css/opensocial/gadgets/gadget-common-activity.css</path>
        </resource>
    
      </extension>
  • nuxeo-platform-audio-jsf-5.6-RC3.jar
    <extension point="resources" target="org.nuxeo.theme.services.ThemeService">
        <resource name="audio-player.js">
          <path>scripts/wpaudioplayer/audio-player.js</path>
        </resource>
      </extension>
  • nuxeo-dam-web-5.6-RC3.jar
    <extension point="resources" target="org.nuxeo.theme.services.ThemeService">
    
        <resource name="nuxeo-dam.js">
          <path>dam/scripts/nuxeo-dam.js</path>
        </resource>
    
      </extension>
  • nuxeo-rating-gadget-5.6.jar
    <extension point="resources" target="org.nuxeo.theme.services.ThemeService">
        <!-- CSS -->
        <!-- Gadgets CSS -->
        <resource name="gadget-like.css">
          <path>css/opensocial/gadgets/like.css</path>
        </resource>
        <resource name="gadget-mostLiked.css">
          <path>css/opensocial/gadgets/mostLiked.css</path>
        </resource>
    
        <!-- JS -->
        <!-- Gadgets JS -->
        <resource name="gadget-like.js">
          <path>scripts/opensocial/gadgets/like.js</path>
        </resource>
        <resource name="gadget-mostLiked.js">
          <path>scripts/opensocial/gadgets/mostLiked.js</path>
        </resource>
      </extension>
  • nuxeo-platform-video-jsf-5.6-RC3.jar
    <extension point="resources" target="org.nuxeo.theme.services.ThemeService">
        <resource name="video-js.css">
          <path>css/video-js.css</path>
        </resource>
    
        <resource name="video-js.js">
          <path>scripts/video.js</path>
        </resource>
        <resource name="video-player-util.js">
          <path>scripts/video-player-util.js</path>
          <require>video-js.js</require>
        </resource>
      </extension>