07-07-2009 10:51 AM
…<!– 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).:arrow: One solution
…
<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" />
…
:arrow: Need confirmation07-08-2009 08:35 AM
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).
07-09-2009 04:18 AM
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>
….
07-09-2009 04:34 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.