Platform Explorer / Nuxeo Platform LTS 2015 7.10

Contribution org.nuxeo.ecm.login.token.layouts--widgets

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

Extension point

Extension point widgets of component WebLayoutManager.

Contributed items

  • <widget name="authToken" type="text">
          <labels>
            <label mode="any">label.tokenauth.token</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>authtoken:token</field>
          </fields>
          <widgetModes>
            <mode value="edit">view</mode>
          </widgetModes>
        </widget>
  • <widget name="authTokenApplicationName" type="text">
          <labels>
            <label mode="any">label.tokenauth.applicationName</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>authtoken:applicationName</field>
          </fields>
          <widgetModes>
            <mode value="edit">view</mode>
          </widgetModes>
        </widget>
  • <widget name="authTokenDeviceId" type="text">
          <labels>
            <label mode="any">label.tokenauth.deviceId</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>authtoken:deviceId</field>
          </fields>
          <widgetModes>
            <mode value="edit">view</mode>
          </widgetModes>
        </widget>
  • <widget name="authTokenDeviceDescription" type="text">
          <labels>
            <label mode="any">label.tokenauth.deviceDescription</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>authtoken:deviceDescription</field>
          </fields>
        </widget>
  • <widget name="authTokenPermission" type="text">
          <labels>
            <label mode="any">label.tokenauth.permission</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>authtoken:permission</field>
          </fields>
          <widgetModes>
            <mode value="edit">view</mode>
          </widgetModes>
        </widget>
  • <widget name="authTokenCreationDate" type="datetime">
          <labels>
            <label mode="any">label.tokenauth.creationDate</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>authtoken:creationDate</field>
          </fields>
          <widgetModes>
            <mode value="edit">view</mode>
          </widgetModes>
          <properties widgetMode="any">
            <property name="pattern">#{nxu:basicDateAndTimeFormatter()}
            </property>
          </properties>
        </widget>

XML source

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

    <widget name="authToken" type="text">
      <labels>
        <label mode="any">label.tokenauth.token</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>authtoken:token</field>
      </fields>
      <widgetModes>
        <mode value="edit">view</mode>
      </widgetModes>
    </widget>

    <widget name="authTokenApplicationName" type="text">
      <labels>
        <label mode="any">label.tokenauth.applicationName</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>authtoken:applicationName</field>
      </fields>
      <widgetModes>
        <mode value="edit">view</mode>
      </widgetModes>
    </widget>

    <widget name="authTokenDeviceId" type="text">
      <labels>
        <label mode="any">label.tokenauth.deviceId</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>authtoken:deviceId</field>
      </fields>
      <widgetModes>
        <mode value="edit">view</mode>
      </widgetModes>
    </widget>

    <widget name="authTokenDeviceDescription" type="text">
      <labels>
        <label mode="any">label.tokenauth.deviceDescription</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>authtoken:deviceDescription</field>
      </fields>
    </widget>

    <widget name="authTokenPermission" type="text">
      <labels>
        <label mode="any">label.tokenauth.permission</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>authtoken:permission</field>
      </fields>
      <widgetModes>
        <mode value="edit">view</mode>
      </widgetModes>
    </widget>

    <widget name="authTokenCreationDate" type="datetime">
      <labels>
        <label mode="any">label.tokenauth.creationDate</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>authtoken:creationDate</field>
      </fields>
      <widgetModes>
        <mode value="edit">view</mode>
      </widgetModes>
      <properties widgetMode="any">
        <property name="pattern">#{nxu:basicDateAndTimeFormatter()}
        </property>
      </properties>
    </widget>

  </extension>