Platform Explorer / Nuxeo Platform LTS 2015 7.10

Contribution org.nuxeo.ecm.user.center.profile.layouts--widgettypes

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

Extension point

Extension point widgettypes of component WebLayoutManager.

Contributed items

  • <widgetType name="summary_user_profile">
          <configuration>
            <sinceVersion>5.5</sinceVersion>
            <deprecatedVersion>5.9.2</deprecatedVersion>
            <title>User Profile Summary</title>
            <description>
              <p>This widget displays the user profile layout.</p>
            </description>
            <categories>
              <category>configuration_not_ready</category>
            </categories>
            <properties>
              <defaultValues mode="any">
                <property name="name">user,userprofile</property>
              </defaultValues>
            </properties>
            <supportedModes>
              <mode>view</mode>
            </supportedModes>
            <!-- no configurable properties -->
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.LayoutWidgetTypeHandler
          </handler-class>
        </widgetType>

    This widget displays the user profile layout.

  • <widgetType name="avatar">
          <configuration>
            <sinceVersion>5.5</sinceVersion>
            <title>User Profile Avatar</title>
            <description>
              Widget allowing to upload a picture for the user
              avatar.
            </description>
            <categories>
              <category>configuration_not_ready</category>
            </categories>
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/avatar_widget_template.xhtml
          </property>
        </widgetType>

    Widget allowing to upload a picture for the user avatar.

  • <widgetType name="summary_user_preferences">
          <configuration>
            <sinceVersion>5.6</sinceVersion>
            <title>User Profile Summary</title>
            <description>
              <p>This widget displays the user preferences layout.</p>
            </description>
            <categories>
              <category>configuration_not_ready</category>
            </categories>
            <supportedModes>
              <mode>view</mode>
            </supportedModes>
            <!-- no configurable properties -->
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/summary/user_preferences_widget_template.xhtml
          </property>
        </widgetType>

    This widget displays the user preferences layout.

XML source

<extension point="widgettypes" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">
    <widgetType name="summary_user_profile">
      <configuration>
        <sinceVersion>5.5</sinceVersion>
        <deprecatedVersion>5.9.2</deprecatedVersion>
        <title>User Profile Summary</title>
        <description>
          <p>This widget displays the user profile layout.</p>
        </description>
        <categories>
          <category>configuration_not_ready</category>
        </categories>
        <properties>
          <defaultValues mode="any">
            <property name="name">user,userprofile</property>
          </defaultValues>
        </properties>
        <supportedModes>
          <mode>view</mode>
        </supportedModes>
        <!-- no configurable properties -->
      </configuration>
      <handler-class>
        org.nuxeo.ecm.platform.forms.layout.facelets.plugins.LayoutWidgetTypeHandler
      </handler-class>
    </widgetType>

    <widgetType name="avatar">
      <configuration>
        <sinceVersion>5.5</sinceVersion>
        <title>User Profile Avatar</title>
        <description>
          Widget allowing to upload a picture for the user
          avatar.
        </description>
        <categories>
          <category>configuration_not_ready</category>
        </categories>
      </configuration>
      <handler-class>
        org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
      </handler-class>
      <property name="template">
        /widgets/avatar_widget_template.xhtml
      </property>
    </widgetType>
    <widgetType name="summary_user_preferences">
      <configuration>
        <sinceVersion>5.6</sinceVersion>
        <title>User Profile Summary</title>
        <description>
          <p>This widget displays the user preferences layout.</p>
        </description>
        <categories>
          <category>configuration_not_ready</category>
        </categories>
        <supportedModes>
          <mode>view</mode>
        </supportedModes>
        <!-- no configurable properties -->
      </configuration>
      <handler-class>
        org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
      </handler-class>
      <property name="template">
        /widgets/summary/user_preferences_widget_template.xhtml
      </property>
    </widgetType>
  </extension>