<?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: How does Seam.PushDocument work? in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/how-does-seam-pushdocument-work/m-p/318291#M5292</link>
    <description>&lt;P&gt;Same, it works. Maybe a problem of 5.5, I try on 5.5 version (I was on 5.6-SNAPSHOT)&lt;/P&gt;</description>
    <pubDate>Fri, 04 May 2012 15:25:15 GMT</pubDate>
    <dc:creator>Benjamin_Jalon1</dc:creator>
    <dc:date>2012-05-04T15:25:15Z</dc:date>
    <item>
      <title>How does Seam.PushDocument work?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-does-seam-pushdocument-work/m-p/318286#M5287</link>
      <description>&lt;P&gt;I have a working chain which utilize &lt;CODE&gt;Document.Create&lt;/CODE&gt;. After this operation the user interface should display this new document. I read the documentation and think that &lt;CODE&gt;Seam.PushDocument&lt;/CODE&gt; is the correct operation. I used the following code:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;operation id="Seam.PushDocument"&amp;gt;
    &amp;lt;param type="string" name="name"&amp;gt;expr:@{Document["dc:name"]}&amp;lt;/param&amp;gt;
    &amp;lt;param type="string" name="scope"&amp;gt;session, conversation, page, event&amp;lt;/param&amp;gt;
&amp;lt;/operation&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The error message is &lt;CODE&gt;Unknown chain&lt;/CODE&gt; and the server log is empty. So it looks like a general wrong usage.&lt;/P&gt;
&lt;P&gt;Short story, this does not work. Any comments, please?&lt;/P&gt;</description>
      <pubDate>Wed, 02 May 2012 15:00:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-does-seam-pushdocument-work/m-p/318286#M5287</guid>
      <dc:creator>Michael_Bell</dc:creator>
      <dc:date>2012-05-02T15:00:45Z</dc:date>
    </item>
    <item>
      <title>Re: How does Seam.PushDocument work?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-does-seam-pushdocument-work/m-p/318287#M5288</link>
      <description>&lt;P&gt;If you just want to navigate to your new created Document you should use the &lt;A href="http://doc.nuxeo.com/display/NXDOC/Operations+Index#OperationsIndex-NavigatetoDocument"&gt;Seam.NavigateTo&lt;/A&gt; operation.&lt;/P&gt;
&lt;P&gt;The &lt;A href="http://doc.nuxeo.com/display/NXDOC/Operations+Index#OperationsIndex-PushtoSeamContext"&gt;Seam.PushDocument&lt;/A&gt; operation push just your Document in the &lt;A href="http://docs.jboss.com/seam/1.2.1.GA/reference/en/html/concepts.html"&gt;Seam Context&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 03 May 2012 10:29:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-does-seam-pushdocument-work/m-p/318287#M5288</guid>
      <dc:creator>Clément_Lardeur</dc:creator>
      <dc:date>2012-05-03T10:29:30Z</dc:date>
    </item>
    <item>
      <title>Re: How does Seam.PushDocument work?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-does-seam-pushdocument-work/m-p/318288#M5289</link>
      <description>&lt;P&gt;If I replace &lt;CODE&gt;Seam.PushDocument&lt;/CODE&gt; with &lt;CODE&gt;Seam.NavigateTo&lt;/CODE&gt; then it still does not work. If I just create the document then the chain works without any problems. If I add the operation then Nuxeo reports `Unknown chain&lt;/P&gt;</description>
      <pubDate>Thu, 03 May 2012 11:17:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-does-seam-pushdocument-work/m-p/318288#M5289</guid>
      <dc:creator>Michael_Bell</dc:creator>
      <dc:date>2012-05-03T11:17:57Z</dc:date>
    </item>
    <item>
      <title>Re: How does Seam.PushDocument work?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-does-seam-pushdocument-work/m-p/318289#M5290</link>
      <description>&lt;P&gt;do you have some other trace than unknown chain (during the deployment or during the action execution) ?&lt;/P&gt;</description>
      <pubDate>Fri, 04 May 2012 15:12:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-does-seam-pushdocument-work/m-p/318289#M5290</guid>
      <dc:creator>Benjamin_Jalon1</dc:creator>
      <dc:date>2012-05-04T15:12:48Z</dc:date>
    </item>
    <item>
      <title>Re: How does Seam.PushDocument work?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-does-seam-pushdocument-work/m-p/318290#M5291</link>
      <description>&lt;P&gt;I did this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;  &amp;lt;extension target="org.nuxeo.ecm.core.operation.OperationServiceComponent" point="chains"&amp;gt;
    &amp;lt;chain id="MyChain"&amp;gt;
      &amp;lt;operation id="Context.FetchDocument"/&amp;gt;
      &amp;lt;operation id="Document.Create"&amp;gt;
        &amp;lt;param type="string" name="type"&amp;gt;Folder&amp;lt;/param&amp;gt;
        &amp;lt;param type="string" name="name"&amp;gt;test&amp;lt;/param&amp;gt;
        &amp;lt;param type="properties" name="properties"&amp;gt;dc:title=Maman&amp;lt;/param&amp;gt;
      &amp;lt;/operation&amp;gt;
      &amp;lt;operation id="Seam.AddInfoMessage"&amp;gt;
        &amp;lt;param type="string" name="message"&amp;gt;Hello les amis&amp;lt;/param&amp;gt;
      &amp;lt;/operation&amp;gt;
      &amp;lt;operation id="Seam.NavigateTo"/&amp;gt;
    &amp;lt;/chain&amp;gt;
  &amp;lt;/extension&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;And it works. I'm checking with error message&lt;/P&gt;</description>
      <pubDate>Fri, 04 May 2012 15:22:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-does-seam-pushdocument-work/m-p/318290#M5291</guid>
      <dc:creator>Benjamin_Jalon1</dc:creator>
      <dc:date>2012-05-04T15:22:29Z</dc:date>
    </item>
    <item>
      <title>Re: How does Seam.PushDocument work?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-does-seam-pushdocument-work/m-p/318291#M5292</link>
      <description>&lt;P&gt;Same, it works. Maybe a problem of 5.5, I try on 5.5 version (I was on 5.6-SNAPSHOT)&lt;/P&gt;</description>
      <pubDate>Fri, 04 May 2012 15:25:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-does-seam-pushdocument-work/m-p/318291#M5292</guid>
      <dc:creator>Benjamin_Jalon1</dc:creator>
      <dc:date>2012-05-04T15:25:15Z</dc:date>
    </item>
    <item>
      <title>Re: How does Seam.PushDocument work?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-does-seam-pushdocument-work/m-p/318292#M5293</link>
      <description>&lt;P&gt;It works now for me too. It looks like another mistake. I'm sorry for the confusion but sometimes I get only an error message that the chain is unknown. This means that I make a mistake but I don't get an error message&lt;/P&gt;</description>
      <pubDate>Sun, 13 May 2012 22:17:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-does-seam-pushdocument-work/m-p/318292#M5293</guid>
      <dc:creator>Michael_Bell</dc:creator>
      <dc:date>2012-05-13T22:17:07Z</dc:date>
    </item>
  </channel>
</rss>

