AnsweredAssumed Answered

Navigation from dialogs to dialogs

Question asked by webdesigner on Jul 30, 2007
Latest reply on Aug 26, 2008 by red
Hi all,

How can I navigate from one custom dialog to another custom dialog?

If I'm using <navigation-rule> /<navigation-case> it's only possible to forward to JSP's. But I need to forward to another custom dialog!

Here my dialog and configuration:
1. web-client-config-custom.xml

   <config>
         <dialogs>    
            <dialog name="showNotificationDetails" page="/jsp/extension/spaces/notification-details.jsp"
            managed-bean="NotificationDialog"
                    icon="/images/icons/details_large.gif" title-id="notification_details"
                    description-id="notification_details_description"/>
            <dialog name="showNotificationSentView" page="/jsp/extension/spaces/notification-sent.jsp"
            managed-bean="NotificationDialog"
                    title-id="notification_sent"
                    description-id="notification_sent_description"/>
        </dialogs>
  </config>


2. faces-config-navigation.xml


<navigation-case>
         <from-outcome>notification_sent</from-outcome>
        <to-view-id>/jsp/extension/spaces/notification-sent.jsp</to-view-id>
      </navigation-case>


The forward to /jsp/extension/spaces/notification-sent.jsp is working fine, but than ONLY a JSP content is displayed without any Alfresco UI-elements like: Navigator menu, Logout action, search input fiel etc.

I need to display JSP content (of /jsp/extension/spaces/notification-sent.jsp) inside of alfresco UI.

Outcomes