[ 
https://jira.nuxeo.com/browse/NXP-7019?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Anahide Tchertchian resolved NXP-7019.
--------------------------------------

    Resolution: Fixed

Added with usual suggestion properties (requestDelay, frequency, minChars + 
pageProviderName).
Stores the document ids, and handles cases when doc displayed is not found or 
not visible.
Displays the doc icon, title and modified date in suggestion, and the doc icon, 
title and a link to open in a new window when selected (view or edit mode).

Default page provider configuration:

    <coreQueryPageProvider name="default_document_suggestion">
      <pattern quoteParameters="false" escapeParameters="true">
        SELECT * FROM Document WHERE ecm:fulltext LIKE '?*' AND ecm:mixinType !=
        'HiddenInNavigation' AND ecm:isCheckedInVersion = 0 AND
        ecm:currentLifeCycleState != 'deleted'
      </pattern>
      <!-- sort column="dc:title" ascending="true" / sort by fulltext relevance 
-->
      <pageSize>5</pageSize>
    </coreQueryPageProvider>

Sample configuration:

    <widget name="my_docs" type="multipleDocumentsSuggestion">
      <labels>
        <label mode="any">My docs</label>
      </labels>
      <fields>
        <field>my:docs</field>
      </fields>
      <!-- optional specific page provider -->
      <properties widgetMode="edit">
        <property name="pageProviderName">my_document_suggestion</property>
      </properties>
    </widget>



> Provide a multiple document suggestion widget type
> --------------------------------------------------
>
>                 Key: NXP-7019
>                 URL: https://jira.nuxeo.com/browse/NXP-7019
>             Project: Nuxeo Enterprise Platform
>          Issue Type: New Feature
>          Components: Web UI
>    Affects Versions: 5.4.1
>            Reporter: Anahide Tchertchian
>            Assignee: Anahide Tchertchian
>             Fix For: 5.4.2
>
>
> Provide a multiple documents suggestion widget template, with configurable 
> page provider accpeting the input string as parameter.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to