Hi,

I need to overload the theme application to define new mappings between views and themes.
The default application gets overriden by my theme contrib with:

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

    <application root="/nuxeo">

      <negotiation>
        <strategy>nuxeo5</strategy>
        <default-engine>default</default-engine>
        <default-theme>default/default</default-theme>
        <default-perspective>default</default-perspective>
      </negotiation>

      <resource-caching>
        <lifetime>36000</lifetime>
      </resource-caching>

      <view id="/create_relation_search_document_popup.xhtml">
        <theme>default/popup</theme>
      </view>
      <view id="/user_dashboard.xhtml">
        <theme>default/user_dashboard</theme>
      </view>
      <view id="/view_calendar.xhtml">
        <perspective>view_calendar</perspective>
      </view>
      <view id="/print.xhtml">
        <perspective>print</perspective>
      </view>

      <!-- specifics -->
      <view id="/mypopup.xhtml">
        <perspective>default/popup</perspective>
      </view>

    </application>
  </extension>


The problem is that css defined in my custom theme are not found by the app. What am I doing wrong? Is there a better way to define new views?

Thanks,

--
Anahide Tchertchian, Nuxeo
Mail: [EMAIL PROTECTED] - Tel: +33 (0)1 40 33 79 87
http://www.nuxeo.com - http://www.nuxeo.org
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm

Reply via email to