ICEfaces
  1. ICEfaces
  2. ICE-5685

Implement navigation notifier component or framework plug-in

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-Alpha2
    • Fix Version/s: 3.1.0.BETA1, 3.1
    • Labels:
      None
    • Environment:
      browser/server
    • Assignee Priority:
      P1
    • Affects:
      Documentation (User Guide, Ref. Guide, etc.), Sample App./Tutorial, Compatibility/Configuration

      Description

      In order to completely fix back/forward browser navigation problems that an AJAX application might encounter we need to provide a way of notifying the application when navigation occurred in the browser. This way the application can take steps to fix any state inconsistencies or rollback operations.

      In the browser http://code.google.com/p/reallysimplehistory/ library can be used since it provides all the functionality we need. Also the library has been updated regularly adding support along the time for all of our supported browsers.

        Activity

        Hide
        Mircea Toma added a comment -

        Are you always seeing the error? I do se this error from time to time in other use cases. I think this is Firefox+Firebug error, most probably it does not occur wen Firebug is disabled. There's also this: https://bugzilla.mozilla.org/show_bug.cgi?id=635548 .

        Show
        Mircea Toma added a comment - Are you always seeing the error? I do se this error from time to time in other use cases. I think this is Firefox+Firebug error, most probably it does not occur wen Firebug is disabled. There's also this: https://bugzilla.mozilla.org/show_bug.cgi?id=635548 .
        Hide
        Mircea Toma added a comment -

        The error occurs when the browser doesn't use the session tracking cookie (as mentioned already). Also RSH library uses document.write function to insert an element into the document, when the browser doesn't have a session setup yet FF will throw the mentioned error.

        Show
        Mircea Toma added a comment - The error occurs when the browser doesn't use the session tracking cookie (as mentioned already). Also RSH library uses document.write function to insert an element into the document, when the browser doesn't have a session setup yet FF will throw the mentioned error.
        Hide
        Mircea Toma added a comment -

        Attached patch that replaces the 'document.write' element inserting done by RSH with the component rendering the elements instead. This gets rid of the JS error but the RSH won't be able to detect the browser navigation until the cookie based session is not established.

        Show
        Mircea Toma added a comment - Attached patch that replaces the 'document.write' element inserting done by RSH with the component rendering the elements instead. This gets rid of the JS error but the RSH won't be able to detect the browser navigation until the cookie based session is not established.
        Hide
        Ken Fyten added a comment -

        The FF limitation will be documented as a Known Issue.

        Show
        Ken Fyten added a comment - The FF limitation will be documented as a Known Issue.
        Hide
        Mircea Toma added a comment -

        Applied attached patched.

        Show
        Mircea Toma added a comment - Applied attached patched.

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Mircea Toma
          • Votes:
            12 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: