2 Replies Latest reply on Apr 10, 2008 9:17 PM by Alexander Eitner

    Back Button with Internet Explorer

    Alexander Eitner Newbie

      Hello all,

      i read several posts referring to how to handle the back-button, and they all work with firefox. But with Internet Explorer, i have nearly the same issue like in this post:http://www.seamframework.org/Community/BrowseBackButtonIssue

      We have a main menu like this:

           <a:jsFunction name="reloadAjaxPanels()" reRender="panelToReload"/>
           <a:outputPanel id="panelToReload">
           <rich:panelMenu rendered="#{identity.loggedIn}">
                <rich:panelMenuGroup label="Menu Principal" expanded="true" iconCollapsed="triangle" iconExpanded="triangleDown">
                     <rich:panelMenuItem label="Ver Bandeja de Entrada" icon="chevron" action="#{bandejaEntrada.begin}">
                          <s:conversationPropagation type="none"/>
                     <rich:panelMenuItem label="Ver Bandeja de Salida" icon="chevron" action="#{bandejaSalida.begin}"  >
                          <s:conversationPropagation type="none"/>
                     <rich:panelMenuItem label="Ver Notificaciones" icon="chevron" />
                     <rich:panelMenuItem label="Crear Expediente" icon="chevron" action="#{crearExpediente.begin}" />

      With IE, you can select a point, which will start a conversation, using @Begin. If you now hit the back-button, a new link-usage will cause an exception to happen because there already exists a long-running-conversation. If i use @Begin(join-true), this conversation will be continued, no matter which menu-item i hit after using the back-button.

      As you can see, i tried <s:conversationPropagation type=none>, and i dont know if the Ajax-tags work with RichFaces.

      Remember, with Firefox everything runs well.

      What i need is a way to stop all running conversations when the back-button is hit, even better, to stop the conversation, when the back-button is hit AND the actual page is a main menu-item page.

      Can you give me some hints plz?