cancel
Showing results for 
Search instead for 
Did you mean: 

why i am not able to call this action

jetty
Champ in-the-making
Champ in-the-making
hi,
    i am working with advance search in alfresco. i have overidden the navigation rule . i have used the following code , can any one suggest me why it is not calling that overridded navigation rule .
<faces-config>
   <navigation-rule>
      <from-view-id>/jsp/*</from-view-id>
      <navigation-case>
         <from-outcome>browse</from-outcome>
         <to-view-id>/jsp/extension/browse/browse.jsp</to-view-id>
      </navigation-case>
      <navigation-case>
         <from-outcome>myalfresco</from-outcome>
         <to-view-id>/jsp/dashboards/container.jsp</to-view-id>
      </navigation-case>
      <navigation-case>
         <from-outcome>about</from-outcome>
         <to-view-id>/jsp/dialog/about.jsp</to-view-id>
      </navigation-case>
   </navigation-rule>
</faces-config>
1 REPLY 1

mikemars
Champ in-the-making
Champ in-the-making
Hi,

If you are trying to override the Advanced Search jsp; then you will need the following code in your faces-config.xml:


  <navigation-rule>
      <from-view-id>/jsp/*</from-view-id>
      <navigation-case>
         <from-outcome>advSearch</from-outcome>
         <to-view-id>/jsp/extension/search/advanced-search.jsp</to-view-id>
      </navigation-case>
   </navigation-rule>