Platform Explorer / Nuxeo Platform LTS 2015 7.10

Component org.nuxeo.ecm.platform.login.shibboleth.layouts

Services

Extension points

Contributions

XML source

<?xml version="1.0" encoding="UTF-8"?>
<component name="org.nuxeo.ecm.platform.login.shibboleth.layouts">

  <require>
    org.nuxeo.ecm.platform.forms.layout.WebLayoutManager
  </require>
  <require>org.nuxeo.ecm.platform.forms.layouts.webapp.base</require>

  <extension target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager"
    point="layouts">
    <layout name="shibbGroup">
      <templates>
        <template mode="any">
          /layouts/layout_default_template.xhtml
        </template>
      </templates>
      <rows>
        <row>
          <widget>shibbGroupName</widget>
        </row>
        <row>
          <widget>expressionLanguage</widget>
        </row>
      </rows>
    </layout>

    <layout name="shibb_groups_listing">
      <templates>
        <template mode="any">
          /layouts/layout_listing_template.xhtml
        </template>
        <template mode="csv">
          /layouts/layout_listing_csv_template.xhtml
        </template>
        <template mode="pdf">
          /layouts/layout_listing_pdf_template.xhtml
        </template>
      </templates>
      <properties mode="any">
        <property name="showListingHeader">true</property>
        <property name="showRowEvenOddClass">true</property>
      </properties>
      <columns>
        <column>
          <properties mode="any">
            <property name="useFirstWidgetLabelAsColumnHeader">true</property>
          </properties>
          <widget>listing_shibbGroupName</widget>
        </column>
      </columns>
    </layout>
  </extension>

  <extension target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager"
    point="widgets">
    <widget name="shibbGroupName" type="text">
      <translated>true</translated>
      <labels>
        <label mode="any">label.widget.shibboleth.groupName</label>
      </labels>
      <widgetModes>
        <mode value="create">edit</mode>
        <mode value="any">hidden</mode>
      </widgetModes>
      <fields>
        <field>shibbolethGroup:groupName</field>
      </fields>
      <properties widgetMode="any">
        <property name="required">true</property>
        <property name="styleClass">dataInputText</property>
      </properties>
    </widget>

    <widget name="expressionLanguage" type="text">
      <translated>true</translated>
      <labels>
        <label mode="any">label.widget.shibboleth.expressionLanguage
        </label>
      </labels>
      <fields>
        <field>shibbolethGroup:expressionLanguage</field>
      </fields>
      <properties widgetMode="any">
        <property name="required">true</property>
        <property name="styleClass">dataInputText</property>
      </properties>
    </widget>

    <widget name="listing_shibbGroupName" type="template">
      <labels>
        <label mode="any">label.widget.shibboleth.groupName</label>
      </labels>
      <fields>
         <field>data.shibbolethGroup.groupName</field>
      </fields>
      <widgetModes>
        <mode value="any">view</mode>
      </widgetModes>
      <properties mode="any">
        <property name="template">/widgets/listing_shibboleth_groupname_widget.xhtml</property>
      </properties>
    </widget>
  </extension>
</component>

Documentation