Platform Explorer / Nuxeo Platform LTS 2015 7.10

Contribution org.nuxeo.ecm.user.center.action.widgets--widgets

This contribution is part of XML component org.nuxeo.ecm.user.center.action.widgets inside nuxeo-user-center-7.10-HF01.jar /OSGI-INF/action-widgets-contrib.xml

Extension point

Extension point widgets of component WebLayoutManager.

Contributed items

  • <widget name="homeTabs" type="tabs">
          <properties mode="view">
            <property name="actionsDisplay">links</property>
            <property name="addForm">true</property>
            <property name="useAjaxForm">#{useAjaxTabs}</property>
            <property name="category">USER_CENTER</property>
            <property name="actions">#{userCenterViews.availableActions}</property>
            <property name="currentTabAction">#{userCenterViews.currentView}</property>
            <property name="overallDisplay">vertical_block</property>
          </properties>
        </widget>
  • <widget name="userCenterSubTabs" type="tabs">
          <properties mode="view">
            <property name="actionsDisplay">links</property>
            <property name="addForm">true</property>
            <property name="useAjaxForm">#{useAjaxTabs}</property>
            <property name="actions">
              #{userCenterViews.availableSubActions}
            </property>
            <property name="currentTabAction">#{userCenterViews.currentSubView}</property>
            <property name="hideSingleTab">
              #{not
              currentUserCenterView.properties.alwaysDisplaySubTabs}
            </property>
          </properties>
        </widget>

XML source

<extension point="widgets" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">

    <widget name="homeTabs" type="tabs">
      <properties mode="view">
        <property name="actionsDisplay">links</property>
        <property name="addForm">true</property>
        <property name="useAjaxForm">#{useAjaxTabs}</property>
        <property name="category">USER_CENTER</property>
        <property name="actions">#{userCenterViews.availableActions}</property>
        <property name="currentTabAction">#{userCenterViews.currentView}</property>
        <property name="overallDisplay">vertical_block</property>
      </properties>
    </widget>

    <widget name="userCenterSubTabs" type="tabs">
      <properties mode="view">
        <property name="actionsDisplay">links</property>
        <property name="addForm">true</property>
        <property name="useAjaxForm">#{useAjaxTabs}</property>
        <property name="actions">
          #{userCenterViews.availableSubActions}
        </property>
        <property name="currentTabAction">#{userCenterViews.currentSubView}</property>
        <property name="hideSingleTab">
          #{not
          currentUserCenterView.properties.alwaysDisplaySubTabs}
        </property>
      </properties>
    </widget>

  </extension>