<?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 How configuring the default page after the User Connexion? in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/how-configuring-the-default-page-after-the-user-connexion/m-p/319374#M6375</link>
    <description>&lt;P&gt;I would like to choose the page displayed after the User is connected.&lt;/P&gt;
&lt;P&gt;How I do that?&lt;/P&gt;</description>
    <pubDate>Thu, 27 Oct 2011 17:07:43 GMT</pubDate>
    <dc:creator>Benjamin_Jalon1</dc:creator>
    <dc:date>2011-10-27T17:07:43Z</dc:date>
    <item>
      <title>How configuring the default page after the User Connexion?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-configuring-the-default-page-after-the-user-connexion/m-p/319374#M6375</link>
      <description>&lt;P&gt;I would like to choose the page displayed after the User is connected.&lt;/P&gt;
&lt;P&gt;How I do that?&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2011 17:07:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-configuring-the-default-page-after-the-user-connexion/m-p/319374#M6375</guid>
      <dc:creator>Benjamin_Jalon1</dc:creator>
      <dc:date>2011-10-27T17:07:43Z</dc:date>
    </item>
    <item>
      <title>Re: How configuring the default page after the User Connexion?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-configuring-the-default-page-after-the-user-connexion/m-p/319375#M6376</link>
      <description>&lt;P&gt;After, connexion Nuxeo call this method StartupHelper#initDomainAndFindStartupPage.
This method initialize the CoreSession on the Nuxeo Core and initialize the Seam Context (Used to create the view).&lt;/P&gt;
&lt;P&gt;You can override this method to initialize the context according your need for that you need first override the startupHelper Seam Component. As we extract the repository initialization into a method you can only override this method.&lt;/P&gt;
&lt;P&gt;For that create &lt;A href="http://doc.nuxeo.com/x/aoKE"&gt;through Nuxeo IDE&lt;/A&gt; or by hand the Seam Component and set a higher precedence:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;@Name("startupHelper")
@Scope(SESSION)
@Install(precedence = Install.APPLICATION)
public class MyStartupHelper extends StartupHelper {

    @Override
    public String initServerAndFindStartupPage() throws ClientException {
      super.initServerAndFindStartupPage();

      ... do your stuff to find the document on which you want to navigate ...
      return navigationContext.setCurrentDocument(doc);
      or
      return navigationContext.setCurrentDocument(doc, viewId);
    }
}
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I'm not sure if Seam Annotations are transmit to inherit classes. If not, you have to also override this method like that:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;@Override
@Begin(id = "#{conversationIdGenerator.nextMainConversationId}", join = true)
public String initDomainAndFindStartupPage(String domainTitle, String viewId) {
  super.initDomainAndFindStartupPage(domainTitle, viewId);
}
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Hope this help...&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2011 17:35:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-configuring-the-default-page-after-the-user-connexion/m-p/319375#M6376</guid>
      <dc:creator>Benjamin_Jalon1</dc:creator>
      <dc:date>2011-10-27T17:35:08Z</dc:date>
    </item>
    <item>
      <title>Re: How configuring the default page after the User Connexion?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-configuring-the-default-page-after-the-user-connexion/m-p/319376#M6377</link>
      <description>&lt;P&gt;Hello, I think the @override annotation does not stand at its right place does it ? should be mentionned at the initServerAndFindStartupPage() level, not at class level, thanks by the way&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2013 11:46:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-configuring-the-default-page-after-the-user-connexion/m-p/319376#M6377</guid>
      <dc:creator>Antoine_Cordier</dc:creator>
      <dc:date>2013-05-08T11:46:19Z</dc:date>
    </item>
    <item>
      <title>Re: How configuring the default page after the User Connexion?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-configuring-the-default-page-after-the-user-connexion/m-p/319377#M6378</link>
      <description>&lt;P&gt;Yes, thanks, fixed.&lt;/P&gt;</description>
      <pubDate>Mon, 13 May 2013 19:09:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-configuring-the-default-page-after-the-user-connexion/m-p/319377#M6378</guid>
      <dc:creator>Florent_Guillau</dc:creator>
      <dc:date>2013-05-13T19:09:03Z</dc:date>
    </item>
    <item>
      <title>Re: How configuring the default page after the User Connexion?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-configuring-the-default-page-after-the-user-connexion/m-p/319378#M6379</link>
      <description>&lt;P&gt;Hello.
For the new nuxeo timeoff plugin, what would be the best method to redirect the user to .../nuxeo/timeoff url after login ?&lt;/P&gt;</description>
      <pubDate>Sat, 17 Sep 2016 19:38:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-configuring-the-default-page-after-the-user-connexion/m-p/319378#M6379</guid>
      <dc:creator>nicolas_chaillo</dc:creator>
      <dc:date>2016-09-17T19:38:39Z</dc:date>
    </item>
  </channel>
</rss>

