<configure
    xmlns="http://namespaces.zope.org/zope"
    xmlns:browser="http://namespaces.zope.org/browser"
    xmlns:plone="http://namespaces.plone.org/plone"
    >

  <browser:page
      name="content_helper_view"
      for="*"
      class=".baseviews.HelperView"
      permission="zope2.View"
      />

  <browser:page
      name="panel-metadata"
      for="Products.CMFCore.interfaces.IDublinCore"
      class=".baseviews.ContentView"
      template="templates/panel_metadata.pt"
      permission="zope2.View"
      />

  <browser:page
      name="listing_view"
      for="plone.app.contenttypes.interfaces.IFolder"
      class=".baseviews.ContainerView"
      template="templates/folder_view.pt"
      permission="zope2.View"
      layer="ploneintranet.workspace.interfaces.IWorkspaceAppContentLayer"
      />

  <browser:page
      name="document_view"
      for="plone.app.contenttypes.interfaces.IDocument"
      class=".baseviews.ContentView"
      template="templates/document_view.pt"
      permission="zope2.View"
      layer="ploneintranet.workspace.interfaces.IWorkspaceAppContentLayer"
      />

  <browser:page
      name="file_view"
      for="plone.app.contenttypes.interfaces.IFile"
      class=".baseviews.ContentView"
      template="templates/document_view.pt"
      permission="zope2.View"
      layer="ploneintranet.workspace.interfaces.IWorkspaceAppContentLayer"
      />

  <browser:page
      name="image_view"
      for="plone.app.contenttypes.interfaces.IImage"
      class=".baseviews.ContentView"
      template="templates/document_view.pt"
      permission="zope2.View"
      layer="ploneintranet.workspace.interfaces.IWorkspaceAppContentLayer"
      />

  <browser:page
      name="event_view"
      for="plone.event.interfaces.IEvent"
      class=".event.EventView"
      template="templates/event_view.pt"
      permission="zope2.View"
      layer="ploneintranet.workspace.interfaces.IWorkspaceAppContentLayer"
      />

  <browser:page
      name="link_redirect_view"
      for="plone.app.contenttypes.interfaces.ILink"
      class=".baseviews.ContentView"
      template="templates/document_view.pt"
      permission="zope2.View"
      layer="ploneintranet.workspace.interfaces.IWorkspaceAppContentLayer"
      />

  <browser:page
      name="mail_view"
      for="..interfaces.IMail"
      class=".mail.MailView"
      template="templates/mail_view.pt"
      permission="zope2.View"
      layer="ploneintranet.workspace.interfaces.IWorkspaceAppContentLayer"
      />

  <adapter factory=".widgets.PatDatePickerConverter" />
  <adapter factory=".widgets.PatDatePickerDataConverter" />
  <adapter factory=".widgets.StartPatDatePickerFieldWidget" />
  <adapter factory=".widgets.EndPatDatePickerFieldWidget" />
  <adapter factory=".widgets.ArchivalDatePickerFieldWidget" />

  <adapter factory=".widgets.PloneIntranetFileConverter" />
  <adapter factory=".widgets.PloneIntranetFileFieldWidget" />
  <adapter factory=".widgets.PloneIntranetImageFieldWidget" />
  <adapter factory=".widgets.PloneIntranetEventImageFieldWidget" />
  <adapter factory=".widgets.PloneIntranetEventVideoFieldWidget" />

  <class class=".widgets.SortableListWidget">
    <require
        permission="zope.Public"
        interface=".widgets.ISortableListWidget"
        />
  </class>

  <adapter factory=".widgets.SortableSpacesFieldWidget" />
  <adapter factory=".widgets.SortableListFieldWidget" />
  <adapter factory=".widgets.SortableListConverter" />

</configure>
