Platform Explorer / Nuxeo Platform 5.6

Contribution org.nuxeo.theme.nuxeo.default--applications

This contribution is part of XML component org.nuxeo.theme.nuxeo.default inside nuxeo-platform-webapp-core-5.6.jar

Extension point

Extension point applications of component ThemeService.

Contributed items

  • <application root="/nuxeo" template-engine="jsf-facelets">
    
          <negotiation>
            <strategy>nuxeo5</strategy>
            <default-engine>default</default-engine>
            <default-theme>galaxy/default</default-theme>
            <default-perspective>default</default-perspective>
            <!-- TODO default collection/flavor... -->
          </negotiation>
    
          <!-- Cache control for theme resources (/nxthemes-lib/) -->
          <resource-caching>
            <lifetime>36000</lifetime>
          </resource-caching>
    
          <!-- Cache control for theme styles (/nxthemes-css/) -->
          <style-caching>
            <lifetime>900</lifetime>
          </style-caching>
    
          <view id="/create_relation_search_document_popup.xhtml">
            <theme>galaxy/popup</theme>
          </view>
          <view id="/view_calendar.xhtml">
            <perspective>view_calendar</perspective>
          </view>
          <view id="/print.xhtml">
            <perspective>print</perspective>
          </view>
          <view id="/editor_link_search_document.xhtml">
            <theme>galaxy/popup</theme>
          </view>
          <view id="/editor_image_upload.xhtml">
            <theme>galaxy/popup</theme>
          </view>
          <view id="/search/choose_searchscope_popup.xhtml">
            <theme>galaxy/popup</theme>
          </view>
    
        </application>

XML source

<extension point="applications" target="org.nuxeo.theme.services.ThemeService">

    <application root="/nuxeo" template-engine="jsf-facelets">

      <negotiation>
        <strategy>nuxeo5</strategy>
        <default-engine>default</default-engine>
        <default-theme>galaxy/default</default-theme>
        <default-perspective>default</default-perspective>
        <!-- TODO default collection/flavor... -->
      </negotiation>

      <!-- Cache control for theme resources (/nxthemes-lib/) -->
      <resource-caching>
        <lifetime>36000</lifetime>
      </resource-caching>

      <!-- Cache control for theme styles (/nxthemes-css/) -->
      <style-caching>
        <lifetime>900</lifetime>
      </style-caching>

      <view id="/create_relation_search_document_popup.xhtml">
        <theme>galaxy/popup</theme>
      </view>
      <view id="/view_calendar.xhtml">
        <perspective>view_calendar</perspective>
      </view>
      <view id="/print.xhtml">
        <perspective>print</perspective>
      </view>
      <view id="/editor_link_search_document.xhtml">
        <theme>galaxy/popup</theme>
      </view>
      <view id="/editor_image_upload.xhtml">
        <theme>galaxy/popup</theme>
      </view>
      <view id="/search/choose_searchscope_popup.xhtml">
        <theme>galaxy/popup</theme>
      </view>

    </application>
  </extension>