Platform Explorer / Nuxeo Platform LTS 2015 7.10

Contribution org.nuxeo.theme.nuxeo.webapp--negotiations

This contribution is part of XML component org.nuxeo.theme.nuxeo.webapp inside nuxeo-platform-webapp-core-7.10-HF07.jar /OSGI-INF/theme-contrib.xml

Extension point

Extension point negotiations of component service.

Contributed items

  • <negotiation target="jsfDefaultPage">
          <negotiator class="org.nuxeo.ecm.web.resources.jsf.negotiators.DefaultPage" order="100">
            <property name="jsfDefaultPage">galaxy/default</property>
          </negotiator>
        </negotiation>
  • <negotiation target="jsfPage">
          <negotiator class="org.nuxeo.ecm.web.resources.jsf.negotiators.RequestParameter" order="10">
            <property name="param">page</property>
          </negotiator>
          <negotiator class="org.nuxeo.ecm.web.resources.jsf.negotiators.RequestAttribute" order="10">
            <property name="param">page</property>
          </negotiator>
          <negotiator class="org.nuxeo.ecm.web.resources.jsf.negotiators.DefaultPage" order="100">
            <property name="jsfPage">galaxy/default</property>
          </negotiator>
        </negotiation>
  • <negotiation target="jsfFlavor">
          <negotiator class="org.nuxeo.ecm.web.resources.jsf.negotiators.RequestParameter" order="10">
            <property name="param">flavor</property>
          </negotiator>
          <negotiator class="org.nuxeo.ecm.web.resources.jsf.negotiators.RequestAttribute" order="20">
            <property name="param">flavor</property>
          </negotiator>
          <negotiator class="org.nuxeo.ecm.localconf.LocalThemeFlavor" order="30">
            <property name="negotiatedPageVariable">jsfPage</property>
          </negotiator>
          <negotiator class="org.nuxeo.ecm.web.resources.jsf.negotiators.DefaultPageFlavor" order="100">
            <property name="negotiatedPageVariable">jsfPage</property>
          </negotiator>
        </negotiation>

XML source

<extension point="negotiations" target="org.nuxeo.theme.styling.service">

    <negotiation target="jsfDefaultPage">
      <negotiator class="org.nuxeo.ecm.web.resources.jsf.negotiators.DefaultPage" order="100">
        <property name="jsfDefaultPage">galaxy/default</property>
      </negotiator>
    </negotiation>

    <negotiation target="jsfPage">
      <negotiator class="org.nuxeo.ecm.web.resources.jsf.negotiators.RequestParameter" order="10">
        <property name="param">page</property>
      </negotiator>
      <negotiator class="org.nuxeo.ecm.web.resources.jsf.negotiators.RequestAttribute" order="10">
        <property name="param">page</property>
      </negotiator>
      <negotiator class="org.nuxeo.ecm.web.resources.jsf.negotiators.DefaultPage" order="100">
        <property name="jsfPage">galaxy/default</property>
      </negotiator>
    </negotiation>

    <negotiation target="jsfFlavor">
      <negotiator class="org.nuxeo.ecm.web.resources.jsf.negotiators.RequestParameter" order="10">
        <property name="param">flavor</property>
      </negotiator>
      <negotiator class="org.nuxeo.ecm.web.resources.jsf.negotiators.RequestAttribute" order="20">
        <property name="param">flavor</property>
      </negotiator>
      <negotiator class="org.nuxeo.ecm.localconf.LocalThemeFlavor" order="30">
        <property name="negotiatedPageVariable">jsfPage</property>
      </negotiator>
      <negotiator class="org.nuxeo.ecm.web.resources.jsf.negotiators.DefaultPageFlavor" order="100">
        <property name="negotiatedPageVariable">jsfPage</property>
      </negotiator>
    </negotiation>

  </extension>