As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
<config evaluator="aspect-name" condition="my:myaspect"> <navigation> <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" /> </navigation> </config>
10:57:06,564 DEBUG [web.app.AlfrescoNavigationHandler] handleNavigation (fromAction=null, outcome=browse)10:57:06,564 DEBUG [web.app.AlfrescoNavigationHandler] Current view id: /jsp/extension/custom.jsp10:57:06,564 DEBUG [web.app.AlfrescoNavigationHandler] No dispatch context found10:57:06,564 DEBUG [web.app.AlfrescoNavigationHandler] Passing outcome 'browse' to original navigation handler10:57:06,564 DEBUG [web.app.AlfrescoNavigationHandler] view stack: []
<navigation-rule> <from-view-id>/jsp/wizard/*</from-view-id> <navigation-case> <from-outcome>cancel</from-outcome> <to-view-id>/jsp/browse/browse.jsp</to-view-id> </navigation-case> <navigation-case> <from-outcome>finish</from-outcome> <to-view-id>/jsp/browse/browse.jsp</to-view-id> </navigation-case> </navigation-rule>
<action id="approve_doc"> … <action-listener>#{DocumentDetailsBean.approve}</action-listener> <action>custom</action> … </action>
<navigation-rule> <from-view-id>/jsp/*</from-view-id> … <navigation-case> <from-outcome>custom</from-outcome> <to-view-id>/jsp/extension/custom.jsp</to-view-id> </navigation-case> <navigation-rule>
<navigation-rule> <from-view-id>/jsp/extension/custom.jsp</from-view-id> <navigation-case> <from-outcome>approve</from-outcome> <to-view-id>/jsp/extension/custom.jsp</to-view-id> </navigation-case> </navigation-rule>
<config evaluator="aspect-name" condition="my:myaspect"> <actions> <action id="custom_approve_doc"> <evaluator>org.alfresco.web.action.evaluator.ApproveDocEvaluator</evaluator> <label>#{actionContext["app:approveStep"]}</label> <image>/images/icons/approve.gif</image> <action-listener>#{DocumentDetailsBean.approve}</action-listener> <action>custom</action> <params> <param name="id">#{actionContext.id}</param> </params> </action> <action-group id="document_browse_menu"> <action idref="preview_doc" /> <action idref="update_doc" /> <action idref="cancelcheckout_doc" /> <action idref="custom_approve_doc" /> <action idref="reject_doc" /> <action idref="cut_node" /> <action idref="copy_node" /> </action-group>