Platform Explorer / Nuxeo Platform LTS 2015 7.10

Contribution org.nuxeo.ecm.platform.login.shibboleth.layouts--widgets

This contribution is part of XML component org.nuxeo.ecm.platform.login.shibboleth.layouts inside nuxeo-platform-login-shibboleth-7.10.jar /OSGI-INF/shibboleth-layout-contrib.xml

Extension point

Extension point widgets of component WebLayoutManager.

Contributed items

  • <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>

XML source

<extension point="widgets" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">
    <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>