<?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 Re: Problem refreshing UI after document deletion in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/problem-refreshing-ui-after-document-deletion/m-p/321428#M8429</link>
    <description>&lt;P&gt;quick question, does it work when you click on the refresh button from the UI?&lt;/P&gt;</description>
    <pubDate>Thu, 03 May 2012 15:28:11 GMT</pubDate>
    <dc:creator>Laurent_Doguin</dc:creator>
    <dc:date>2012-05-03T15:28:11Z</dc:date>
    <item>
      <title>Problem refreshing UI after document deletion</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/problem-refreshing-ui-after-document-deletion/m-p/321427#M8428</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;i'm trying to implement a permanent deletion feature :
I created a document type that lists the deleted documents for a given user, so that he can permanently delete the selected ones.&lt;/P&gt;
&lt;P&gt;Everything runs fine ... for the first deletion&lt;/P&gt;
&lt;P&gt;It seems that the previsously selected documents are still cached somewhere in the UI (my "permanently delete" button is enabled although selection is empty), so that if i try to delete a second batch of docs, i get a "No such document" error.&lt;/P&gt;
&lt;P&gt;I tried to use the Seam.Refresh operation, but it doesn't seem to work.&lt;/P&gt;
&lt;P&gt;Any idea ?&lt;/P&gt;</description>
      <pubDate>Thu, 03 May 2012 15:10:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/problem-refreshing-ui-after-document-deletion/m-p/321427#M8428</guid>
      <dc:creator>pibou_Bouvret</dc:creator>
      <dc:date>2012-05-03T15:10:20Z</dc:date>
    </item>
    <item>
      <title>Re: Problem refreshing UI after document deletion</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/problem-refreshing-ui-after-document-deletion/m-p/321428#M8429</link>
      <description>&lt;P&gt;quick question, does it work when you click on the refresh button from the UI?&lt;/P&gt;</description>
      <pubDate>Thu, 03 May 2012 15:28:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/problem-refreshing-ui-after-document-deletion/m-p/321428#M8429</guid>
      <dc:creator>Laurent_Doguin</dc:creator>
      <dc:date>2012-05-03T15:28:11Z</dc:date>
    </item>
    <item>
      <title>Re: Problem refreshing UI after document deletion</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/problem-refreshing-ui-after-document-deletion/m-p/321429#M8430</link>
      <description>&lt;P&gt;No,&lt;/P&gt;</description>
      <pubDate>Thu, 03 May 2012 15:43:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/problem-refreshing-ui-after-document-deletion/m-p/321429#M8430</guid>
      <dc:creator>pibou_Bouvret</dc:creator>
      <dc:date>2012-05-03T15:43:04Z</dc:date>
    </item>
    <item>
      <title>Re: Problem refreshing UI after document deletion</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/problem-refreshing-ui-after-document-deletion/m-p/321430#M8431</link>
      <description>&lt;P&gt;Can you give us your operation chain you used to implement the permanent deletion ?&lt;/P&gt;</description>
      <pubDate>Fri, 04 May 2012 14:35:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/problem-refreshing-ui-after-document-deletion/m-p/321430#M8431</guid>
      <dc:creator>Benjamin_Jalon1</dc:creator>
      <dc:date>2012-05-04T14:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: Problem refreshing UI after document deletion</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/problem-refreshing-ui-after-document-deletion/m-p/321431#M8432</link>
      <description>&lt;P&gt;That is simply&lt;/P&gt;</description>
      <pubDate>Fri, 04 May 2012 16:19:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/problem-refreshing-ui-after-document-deletion/m-p/321431#M8432</guid>
      <dc:creator>pibou_Bouvret</dc:creator>
      <dc:date>2012-05-04T16:19:36Z</dc:date>
    </item>
    <item>
      <title>Re: Problem refreshing UI after document deletion</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/problem-refreshing-ui-after-document-deletion/m-p/321432#M8433</link>
      <description>&lt;P&gt;Same kind of problems with my new "validate button"&lt;/P&gt;</description>
      <pubDate>Wed, 09 May 2012 12:43:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/problem-refreshing-ui-after-document-deletion/m-p/321432#M8433</guid>
      <dc:creator>pibou_Bouvret</dc:creator>
      <dc:date>2012-05-09T12:43:49Z</dc:date>
    </item>
    <item>
      <title>Re: Problem refreshing UI after document deletion</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/problem-refreshing-ui-after-document-deletion/m-p/321433#M8434</link>
      <description>&lt;P&gt;Actually we're missing a 'Clear Selection' operation, a bit like 'Clear Clipboard' works.&lt;/P&gt;
&lt;P&gt;The code of your operation would look like that:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;@OperationMethod
public void run() {
    OperationHelper.getDocumentListManager().resetWorkingList(
            DocumentsListsManager.CURRENT_DOCUMENT_SELECTION);
}
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;This will empty the current selection. The refresh UI operation only invalidates queries cache.&lt;/P&gt;</description>
      <pubDate>Thu, 10 May 2012 11:57:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/problem-refreshing-ui-after-document-deletion/m-p/321433#M8434</guid>
      <dc:creator>Laurent_Doguin</dc:creator>
      <dc:date>2012-05-10T11:57:09Z</dc:date>
    </item>
    <item>
      <title>Re: Problem refreshing UI after document deletion</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/problem-refreshing-ui-after-document-deletion/m-p/321434#M8435</link>
      <description>&lt;P&gt;Thx.&lt;/P&gt;</description>
      <pubDate>Thu, 10 May 2012 12:27:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/problem-refreshing-ui-after-document-deletion/m-p/321434#M8435</guid>
      <dc:creator>pibou_Bouvret</dc:creator>
      <dc:date>2012-05-10T12:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: Problem refreshing UI after document deletion</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/problem-refreshing-ui-after-document-deletion/m-p/321435#M8436</link>
      <description>&lt;P&gt;the 'Clear Selection' operation works fine : I can select documents after a deletion, nevertheless i still have to refresh the list with my "refresh" automation chain.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jun 2012 12:22:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/problem-refreshing-ui-after-document-deletion/m-p/321435#M8436</guid>
      <dc:creator>pibou_Bouvret</dc:creator>
      <dc:date>2012-06-04T12:22:59Z</dc:date>
    </item>
  </channel>
</rss>

