AnsweredAssumed Answered

how to override this?

Question asked by alpha on Jul 9, 2007
Latest reply on Jul 16, 2007 by alpha
Hi guys,

I have applied an aspect to a space to make it be displayed a custom JSP rather than browse.jsp, and it works fine.
But when i launch an action defined by a rule (simple workflow action like approve or reject), browse.jsp is displayed.
How can i do to override the outcome? any idea?

here is the code :
<config evaluator="aspect-name" condition="my:myaspect">
         <override from-view-id="/jsp/browse/browse.jsp" to-view-id="/jsp/extension/custom.jsp" />
         <override from-outcome="browse" to-view-id="/jsp/extension/custom.jsp" />

and here is the log when i launch the approve action (from a simple workflow rule):
10:57:06,564 DEBUG [] handleNavigation (fromAction=null, outcome=browse)
10:57:06,564 DEBUG [] Current view id: /jsp/extension/custom.jsp
10:57:06,564 DEBUG [] No dispatch context found
10:57:06,564 DEBUG [] Passing outcome 'browse' to original navigation handler
10:57:06,564 DEBUG [] view stack: []