AnsweredAssumed Answered

Navigation override for search results

Question asked by steuni on Apr 11, 2008
Hello,

I've managed to successfully override navigation rules so that when I'm in a specific folder, it will call my browse.jsp which shows columns with my custom properties:

<config evaluator="aspect-name" condition="my:aspect">
   <navigation>
      <override from-view-id="/jsp/browse/browse.jsp" to-view-id="/jsp/extension/mybrowse.jsp" />
      <override from-outcome="browse" to-view-id="/jsp/extension/mybrowse.jsp" />
   </navigation>
</config>

How would I create a navigation rule that would allow me to use a custom browse.jsp on search results ?
Right now I'm actually editing the real browse.jsp, creating columns with
rendered="#{NavigationBean.searchContext != null}"
but that's not very clean of course.
Also, where can I find the list of values that are allowed in the evaluator property ?

Thanks,

Jerome

Outcomes