<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Seam.GetSelectedDocuments in Sections in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/seam-getselecteddocuments-in-sections/m-p/321283#M8284</link>
    <description>&lt;P&gt;Still trying to access the list of selected docs in sections :&lt;/P&gt;
&lt;P&gt;the action category for my button is&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;CURRENT_SELECTION_SECTIONS_LIST
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;the "Selection is not empty" has been replaced by a custom EL&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;#{documentsListsManager.isWorkingListEmpty("CURRENT_SELECTION_SECTIONS") == false}
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;This works but Seam.GetSelectedDocuments is useless : i have to contribute a new, not very original, operation in Nuxeo IDE&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;@Operation(id=GetSectionSelectedDocuments.ID, category=Constants.CAT_FETCH, requires=Constants.SEAM_CONTEXT, label="GetSectionSelectedDocuments", description="")
public class GetSectionSelectedDocuments {

    public static final String ID = "Seam.GetSectionSelectedDocuments";

    protected @Context OperationContext ctx;
   
    @OperationMethod
    public DocumentModelList run() throws Exception {
        List&amp;lt;DocumentModel&amp;gt; res =
            OperationHelper.getDocumentListManager().getWorkingList(
                            DocumentsListsManager.CURRENT_DOCUMENT_SECTION_SELECTION);
                    return new DocumentModelListImpl(res);
    }   

}
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;But I meet the following error: could not access: DocumentsListsManager (?)&lt;/P&gt;</description>
    <pubDate>Mon, 23 Jul 2012 13:59:55 GMT</pubDate>
    <dc:creator>pibou_Bouvret</dc:creator>
    <dc:date>2012-07-23T13:59:55Z</dc:date>
    <item>
      <title>Seam.GetSelectedDocuments in Sections</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/seam-getselecteddocuments-in-sections/m-p/321283#M8284</link>
      <description>&lt;P&gt;Still trying to access the list of selected docs in sections :&lt;/P&gt;
&lt;P&gt;the action category for my button is&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;CURRENT_SELECTION_SECTIONS_LIST
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;the "Selection is not empty" has been replaced by a custom EL&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;#{documentsListsManager.isWorkingListEmpty("CURRENT_SELECTION_SECTIONS") == false}
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;This works but Seam.GetSelectedDocuments is useless : i have to contribute a new, not very original, operation in Nuxeo IDE&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;@Operation(id=GetSectionSelectedDocuments.ID, category=Constants.CAT_FETCH, requires=Constants.SEAM_CONTEXT, label="GetSectionSelectedDocuments", description="")
public class GetSectionSelectedDocuments {

    public static final String ID = "Seam.GetSectionSelectedDocuments";

    protected @Context OperationContext ctx;
   
    @OperationMethod
    public DocumentModelList run() throws Exception {
        List&amp;lt;DocumentModel&amp;gt; res =
            OperationHelper.getDocumentListManager().getWorkingList(
                            DocumentsListsManager.CURRENT_DOCUMENT_SECTION_SELECTION);
                    return new DocumentModelListImpl(res);
    }   

}
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;But I meet the following error: could not access: DocumentsListsManager (?)&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jul 2012 13:59:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/seam-getselecteddocuments-in-sections/m-p/321283#M8284</guid>
      <dc:creator>pibou_Bouvret</dc:creator>
      <dc:date>2012-07-23T13:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: Seam.GetSelectedDocuments in Sections</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/seam-getselecteddocuments-in-sections/m-p/321284#M8285</link>
      <description>&lt;P&gt;Please provide the actual (maybe shortened) stack trace with the error.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jul 2012 17:42:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/seam-getselecteddocuments-in-sections/m-p/321284#M8285</guid>
      <dc:creator>Florent_Guillau</dc:creator>
      <dc:date>2012-07-24T17:42:51Z</dc:date>
    </item>
    <item>
      <title>Re: Seam.GetSelectedDocuments in Sections</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/seam-getselecteddocuments-in-sections/m-p/321285#M8286</link>
      <description>&lt;P&gt;Seems there's been a problem with studio / ide / instance update :&lt;/P&gt;
&lt;P&gt;everything is working fine with this soultion.&lt;/P&gt;
&lt;P&gt;What a pity these kind of operations referencing constants do not accept a parameter : if i want to the same with deleted documents, it seems i ll have to create another operation ...&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jul 2012 10:28:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/seam-getselecteddocuments-in-sections/m-p/321285#M8286</guid>
      <dc:creator>pibou_Bouvret</dc:creator>
      <dc:date>2012-07-25T10:28:44Z</dc:date>
    </item>
    <item>
      <title>Re: Seam.GetSelectedDocuments in Sections</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/seam-getselecteddocuments-in-sections/m-p/321286#M8287</link>
      <description>&lt;P&gt;Could you please open a NXP ticket in our JIRA to request this enhancement?&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jul 2012 15:31:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/seam-getselecteddocuments-in-sections/m-p/321286#M8287</guid>
      <dc:creator>Florent_Guillau</dc:creator>
      <dc:date>2012-07-25T15:31:48Z</dc:date>
    </item>
    <item>
      <title>Re: Seam.GetSelectedDocuments in Sections</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/seam-getselecteddocuments-in-sections/m-p/321287#M8288</link>
      <description>&lt;P&gt;Ticket opened&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jul 2012 14:35:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/seam-getselecteddocuments-in-sections/m-p/321287#M8288</guid>
      <dc:creator>pibou_Bouvret</dc:creator>
      <dc:date>2012-07-27T14:35:39Z</dc:date>
    </item>
    <item>
      <title>Re: Seam.GetSelectedDocuments in Sections</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/seam-getselecteddocuments-in-sections/m-p/321288#M8289</link>
      <description>&lt;P&gt;[NXP-9777][1]&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jul 2012 17:18:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/seam-getselecteddocuments-in-sections/m-p/321288#M8289</guid>
      <dc:creator>Anahide_Tchertc</dc:creator>
      <dc:date>2012-07-30T17:18:45Z</dc:date>
    </item>
  </channel>
</rss>

