AnsweredAssumed Answered

Custom navigation, incorrect link

Question asked by bengrah on Sep 22, 2010
Latest reply on Oct 29, 2010 by bengrah
Hi all

One of our requirements is when the user logs in to Alfresco Explorer, the next page they see is their own User Space. Now to do this, I override one of the <navigation-rule> tags in faces-config-custon.xml with the following markup:

    <navigation-rule>
      <description>
         The decision rule used by the NavigationHandler to
         determine which view must be displayed after the
         current view, login.jsp is processed.
      </description>
      <from-view-id>/jsp/login.jsp</from-view-id>
      <navigation-case>
         <description>
             Indicates to the NavigationHandler that the browse.jsp
             view must be displayed if the Action referenced by a
             UICommand component on the login.jsp view returns
             the outcome "success".
         </description>
         <from-outcome>success</from-outcome>
         <to-view-id>/jsp/browse/browse.jsp</to-view-id>
      </navigation-case>
     
       <navigation-case>
         <description>
             Indicates to the NavigationHandler that the browse.jsp
             view must be displayed if the Action referenced by a
             UICommand component on the login.jsp view returns
             the outcome "success".
         </description>
         <from-outcome>myalfresco</from-outcome>
         <to-view-id>/jsp/browse/browse.jsp</to-view-id>
      </navigation-case>
   </navigation-rule>

After restarting Alfresco this works, with the user automatically going to their own space when logging in. However, the My Alfresco link in the left hand navibar is still highlighted as if the current page we're on is My Alfresco and not My Home. Anyone have any idea if I can / where I can change this?

Outcomes