Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-9384

Allow using Ajax for tab switching

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.8
    • Component/s: Seam / JSF UI
    • Tags:
    • Impact type:
      Configuration Change
    • Upgrade notes:
      Hide

      Runtime property nuxeo.jsf.useAjaxTabs can be set to "true" to activate the ajaxified behaviour

      Show
      Runtime property nuxeo.jsf.useAjaxTabs can be set to "true" to activate the ajaxified behaviour
    • Sprint:
      Sprint 1_old

      Description

      In default JSF UI, Tab switching is done via a REST navigation that reloads the whole page.

      Thanks to all the infrastructure imrpovements, this is very easy to change to have Ajax tab switching and this really improves the Look and Feel :

      • switch is faster (especially visible when accesskey shortcuts is used)
      • this make the tab system look more real

      In addition, this should really require less work on the server side and make the app scale better (to be validated by Ben

      The only drawback of Ajax tab switching is that URL is not longer restful.

      Hopefuly with recent browser and Html5, we can use history.pushState to update the URL with the Ajax update has been done.

      However, we must be careful about :

      • Ajax calls serialization (queuing) to avoid any crashes
      • Selenium and Funkload tests updates

      We also need to define if Ajax Switching should be activated by default and for all browser.

      Initial implementation will probably use a system property to activate Ajax and we'll see when all the tests are ok.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1 day
                  1d
                  Remaining:
                  Remaining Estimate - 1 day
                  1d
                  Logged:
                  Time Spent - Not Specified
                  Not Specified