>From Anahide T. : > I just tried that. > After deployment, this was "added" to the pages.xml ... but it DID NOT > override the previous configuration (for this action-id). It seems that pages > declarations DO NOT override each other.
Hmmm yes it does, but i see the view id may be ignored in method startupHelper.initDomainAndFindStartupPage, that's why it's not working. For instance if you use "edit" instead of "advanced_search_page" and login as an administrator, you can see the difference. That's a bug : http://jira.nuxeo.org/browse/NXP-2767 I think workaround would be to add: <views> <view id="advanced_search_page" value="advanced_search_page" /> </views> to the 'Domain' document type definition because the view to redirect to will be checked on it. But I haven't tested it yet. Thanks for the report. ----------------------------------------------------------------------------------------- Well, thanks for the answer. Just something I don't agree with : > "Hmmm yes it does..." >> No, it does not : pages.xml <?xml version="1.0" encoding="UTF-8"?> <pages> <!-- This calls a method which load the Workspace logo --> <page action="#{logoHelper.getLogo}" view-id="/showLogo.xhtml"/> <page action="#{navigationContext.navigateToURL}" view-id="/getDocument.xhtml"/> <page action="#{liveEditHelper.getBootstrap()}" view-id="/nxliveedit.xhtml"/> <page action="#{paralleleNavigationHelper.navigateToURL}" view-id="/parallele.xhtml"/> *<page* *action="#{startupHelper.initDomainAndFindStartupPage('Default domain', 'view')}" view-id="/nxstartup.xhtml"/>* <page view-id="/view_domains.xhtml"> #{currentServerLocation.name}/#{currentTabAction.label} </page> <page view-id="/select_document_type.faces.xhtml"> Create new document in #{currentDocument.name} </page> <page view-id="/create_document.faces.xhtml"> Create new document in #{currentDocument.name} </page> <page view-id="/user_dashboard.xhtml"> breadcrumb=command.user_dashboard </page> <page view-id="/view_users.xhtml"> breadcrumb=command.manageMembers </page> <page view-id="/view_many_users.xhtml"> breadcrumb=command.manageMembers </page> <page view-id="/view_vocabularies.xhtml"> breadcrumb=title.vocabularies </page> <page view-id="/search/search_form.xhtml"> breadcrumb=command.advancedSearch </page> <page action="#{syndication.getSyndicationDocument}" view-id="/getSyndicationDocument.xhtml"/> <page action="#{syndication.getSyndicationSearch}" view-id="/getSyndicationSearch.xhtml"/> <!-- Post login and 'home' view handler --> *<page* *action="#{startupHelper.initDomainAndFindStartupPage('Default domain', 'advanced_search_page')}" view-id="/nxstartup.xhtml"/>* <page view-id="/coverage_virtual_navigation.xhtml"> breadcrumb=label.virtualnavigation.coverage </page> <page view-id="/subjects_virtual_navigation.xhtml"> breadcrumb=label.virtualnavigation.subjects </page> <page view-id="/themes_virtual_navigation.xhtml"> breadcrumb=themes </page> </pages> _______________________________________________ ECM mailing list [email protected] http://lists.nuxeo.com/mailman/listinfo/ecm
