Platform Explorer / Nuxeo Platform LTS 2015 7.10

Contribution org.nuxeo.ecm.platform.audio.layouts--widgets

This contribution is part of XML component org.nuxeo.ecm.platform.audio.layouts inside nuxeo-platform-audio-jsf-7.10-HF02.jar /OSGI-INF/layouts-contrib.xml

Extension point

Extension point widgets of component WebLayoutManager.

Contributed items

  • <widget name="summary_audio_player" type="audio_player">
          <fields>
            <field>#{value}</field>
            <field>file:content</field>
          </fields>
        </widget>
  • <widget name="audioFile" type="audio_file">
          <labels>
            <label mode="any">label.file.content</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>file:content</field>
            <field>file:filename</field>
          </fields>
        </widget>
  • <widget name="infoViewAudioPlayer" type="container">
          <handlingLabels>false</handlingLabels>
          <properties widgetMode="any">
            <property name="hideSubLabels">true</property>
            <property name="styleClass">infoViewAudioContainer</property>
            <property name="display">block_top</property>
          </properties>
          <subWidgets>
            <widget name="audioPlayer" type="audio_player">
              <fields>
                <field>#{value}</field>
                <field>file:content</field>
              </fields>
            </widget>
          </subWidgets>
        </widget>

XML source

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

    <widget name="summary_audio_player" type="audio_player">
      <fields>
        <field>#{value}</field>
        <field>file:content</field>
      </fields>
    </widget>

    <widget name="audioFile" type="audio_file">
      <labels>
        <label mode="any">label.file.content</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>file:content</field>
        <field>file:filename</field>
      </fields>
    </widget>

    <widget name="infoViewAudioPlayer" type="container">
      <handlingLabels>false</handlingLabels>
      <properties widgetMode="any">
        <property name="hideSubLabels">true</property>
        <property name="styleClass">infoViewAudioContainer</property>
        <property name="display">block_top</property>
      </properties>
      <subWidgets>
        <widget name="audioPlayer" type="audio_player">
          <fields>
            <field>#{value}</field>
            <field>file:content</field>
          </fields>
        </widget>
      </subWidgets>
    </widget>

  </extension>