Platform Explorer / Nuxeo Platform 5.6

Contribution org.nuxeo.ecm.webapp.search.types--types

This contribution is part of XML component org.nuxeo.ecm.webapp.search.types inside nuxeo-platform-webapp-core-5.6.jar

Extension point

Extension point types of component TypeService.

Contributed items

  • <type id="search_results">
          <label>label.document.searchResults</label>
          <icon>/icons/file.gif</icon>
          <layout>
    
            <!-- uid -->
            <widget fieldname="uid" jsfcomponent="h:inputText" label="label.uid.uid" schemaname="uid"/>
            <widget fieldname="major_version" jsfcomponent="h:inputText" label="label.uid.major_version" schemaname="uid"/>
            <widget fieldname="minor_version" jsfcomponent="h:inputText" label="label.uid.minor_version" schemaname="uid"/>
    
            <!-- dublincore -->
            <widget fieldname="title" jsfcomponent="special" label="label.dublincore.title" schemaname="dublincore" type="special"/>
            <widget fieldname="description" jsfcomponent="h:inputText" label="label.dublincore.description" schemaname="dublincore"/>
            <widget directory="topic" fieldname="subjects" jsfcomponent="nxdir:chainSelect" label="label.dublincore.subjects" schemaname="dublincore"/>
            <widget fieldname="rights" jsfcomponent="h:inputText" label="label.dublincore.rights" schemaname="dublincore"/>
            <widget directory="source" fieldname="source" jsfcomponent="nxdir:selectManyListbox" label="label.dublincore.source" schemaname="dublincore"/>
            <widget fieldname="coverage" jsfcomponent="h:inputText" label="label.dublincore.coverage" schemaname="dublincore"/>
            <widget fieldname="created" jsfcomponent="t:inputCalendar" label="label.dublincore.creationDate" schemaname="dublincore"/>
            <widget fieldname="modified" jsfcomponent="t:inputCalendar" label="label.dublincore.modificationDate" schemaname="dublincore"/>
            <widget fieldname="issued" jsfcomponent="t:inputCalendar" label="label.dublincore.issueDate" schemaname="dublincore"/>
            <widget fieldname="valid" jsfcomponent="t:inputCalendar" label="label.dublincore.validationDate" schemaname="dublincore"/>
            <widget fieldname="expired" jsfcomponent="t:inputCalendar" label="label.dublincore.expirationDate" schemaname="dublincore"/>
            <widget fieldname="contributors" jsfcomponent="t:dataList" label="label.dublincore.contributors" schemaname="dublincore"/>
    
          </layout>
        </type>

XML source

<extension point="types" target="org.nuxeo.ecm.platform.types.TypeService">

    <type id="search_results">
      <label>label.document.searchResults</label>
      <icon>/icons/file.gif</icon>
      <layout>

        <!-- uid -->
        <widget fieldname="uid" jsfcomponent="h:inputText" label="label.uid.uid" schemaname="uid"/>
        <widget fieldname="major_version" jsfcomponent="h:inputText" label="label.uid.major_version" schemaname="uid"/>
        <widget fieldname="minor_version" jsfcomponent="h:inputText" label="label.uid.minor_version" schemaname="uid"/>

        <!-- dublincore -->
        <widget fieldname="title" jsfcomponent="special" label="label.dublincore.title" schemaname="dublincore" type="special"/>
        <widget fieldname="description" jsfcomponent="h:inputText" label="label.dublincore.description" schemaname="dublincore"/>
        <widget directory="topic" fieldname="subjects" jsfcomponent="nxdir:chainSelect" label="label.dublincore.subjects" schemaname="dublincore"/>
        <widget fieldname="rights" jsfcomponent="h:inputText" label="label.dublincore.rights" schemaname="dublincore"/>
        <widget directory="source" fieldname="source" jsfcomponent="nxdir:selectManyListbox" label="label.dublincore.source" schemaname="dublincore"/>
        <widget fieldname="coverage" jsfcomponent="h:inputText" label="label.dublincore.coverage" schemaname="dublincore"/>
        <widget fieldname="created" jsfcomponent="t:inputCalendar" label="label.dublincore.creationDate" schemaname="dublincore"/>
        <widget fieldname="modified" jsfcomponent="t:inputCalendar" label="label.dublincore.modificationDate" schemaname="dublincore"/>
        <widget fieldname="issued" jsfcomponent="t:inputCalendar" label="label.dublincore.issueDate" schemaname="dublincore"/>
        <widget fieldname="valid" jsfcomponent="t:inputCalendar" label="label.dublincore.validationDate" schemaname="dublincore"/>
        <widget fieldname="expired" jsfcomponent="t:inputCalendar" label="label.dublincore.expirationDate" schemaname="dublincore"/>
        <widget fieldname="contributors" jsfcomponent="t:dataList" label="label.dublincore.contributors" schemaname="dublincore"/>

      </layout>
    </type>

  </extension>