The content of this documentation refers to all the Nuxeo products and modules. You may want to check the Nuxeo Platform technical documentation, the Nuxeo Studio documentation, the Core Developer Guide, or the Administration Guide.
Contributors, don't hesitate to move pages in the relevant spaces
Skip to end of metadata
Go to start of metadata

If you want to change the welcome page of Nuxeo, you just have to add the following code to the deployment-fragment.xml of your plugin's JAR. In this example, it will the redirect the user to the default Nuxeo dashboard.

Actually, this is not enough to redirect to the dashboard as the second parameter of the "initDomainAndFindStartupPage" method will be used only in some special cases, but declaring the page with view id "/nxstartup.xhtml" and binding it to your custom action is the way to proceed to override the default behaviour.

Note that the first argument of the startupHelper.initDomainAndFindStartupPage() method is currently not used by the default implementation and is kept only for compatibility. The second argument is a normal JSF view (actually, outcome), for instance the standard one is defined as:

And the /user_dashboard.xhtml resource contains the JSF code to use.

Labels
  • None