Fix redirection to a custom page after login
--------------------------------------------
Key: NXP-2767
URL: http://jira.nuxeo.org/browse/NXP-2767
Project: Nuxeo Enterprise Platform
Issue Type: Bug
Components: Web UI
Affects Versions: 5.2 M2, 5.1.6
Reporter: Anahide Tchertchian
Assignee: Thierry Delprat
Fix For: 5.1.7, 5.2 M3
By default, user is redircted to the initial document default view after login:
<page view-id="/nxstartup.xhtml"
action="#{startupHelper.initDomainAndFindStartupPage('Default domain',
'view')}" />
Comments also advise how to customize the redirection view:
<!-- To redirect to the user dashboard instead, use instead:
<page view-id="/nxstartup.xhtml"
action="#{startupHelper.initDomainAndFindStartupPage('Default domain',
'user_dashboard')}" />
-->
This won't work by default as method initDomainAndFindStartupPage waits for a
document view id, not a jsf outcome id => if 'user_dashboard' does not match a
view defined on the document ecm type, the document default view will be used,
and 'user_dashboard' will be ignored.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets