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.
…<!– Browse screen action outcomes –> <navigation-rule> <from-view-id>/jsp/browse/browse.jsp</from-view-id> <!– showDocDetails and showSpaceDetails moved to /jsp/* above –> …
I could not get Alfresco to see the new jsp in the extensions directory (alfresco.war\jsp\extension), so I just updated the original jsp (alfresco.war\jsp\content).
… <dialog name="showDocDetails" page="/jsp/content/document-details.jsp" managed-bean="DocumentDetailsDialog" icon="/images/icons/details_large.gif" title-id="details_of" description-id="documentdetails_description" show-ok-button="false" error-message-id="empty_message" /> …
are you patching Alfresco as an AMP module ?Then (I know that won't solve your problem), best practices are not to edit faces-config-[repo/beans/navigation/…].xml files, but do your own configuration in faces-config-custom.xml (which is loaded last on bootstrap).
empty
<?xml version='1.0' encoding='UTF-8'?> <!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN" "http://java.sun.com/dtd/web-facesconfig_1_1.dtd"> <faces-config> <managed-bean> <managed-bean-name>HspWorkflowBean</managed-bean-name> <managed-bean-class>YOURPATH.beans.HspWorkflowBean</managed-bean-class> <managed-bean-scope>request</managed-bean-scope> <managed-property> <property-name>navigationBean</property-name> <value>#{NavigationBean}</value> </managed-property> <managed-property> <property-name>documentDetailsBean</property-name> <value>#{DocumentDetailsDialog}</value> </managed-property> <managed-property> <property-name>nodeService</property-name> <value>#{NodeService}</value> </managed-property> <managed-property> <property-name>workflowService</property-name> <value>#{WorkflowService}</value> </managed-property> </managed-bean> </faces-config>
<alfresco-config> <!– ****************************************************** **************** Navigation rules ******************* ****************************************************** –> <config> <dialogs> <dialog name="showDocDetails" page="/jsp/extension/document-details.jsp" managed-bean="DocumentDetailsDialog" icon="/images/icons/details_large.gif" title-id="details_of" description-id="documentdetails_description" show-ok-button="false" error-message-id="empty_message" /> </dialogs> </config> <config evaluator="node-type" condition="app:filelink"> <navigation> <override from-view-id="/jsp/extension/document-details.jsp" to-view-id="/jsp/content/filelink-details.jsp" /> <override from-outcome="showDocDetails" to-view-id="/jsp/content/filelink-details.jsp" /> <override from-outcome="cancelEdit" to-view-id="/jsp/content/filelink-details.jsp" /> <override from-outcome="finishEdit" to-view-id="/jsp/content/filelink-details.jsp" /> </navigation> </config> ….