Details

    • Type: Task Task
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.1
    • Fix Version/s: 3.1.0.BETA1, 3.1
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      ICEfaces 3.0 ACE Components
    • Assignee Priority:
      P2
    • Affects:
      Compatibility/Configuration

      Description

      Original description for this issue:

      "Currently the ACE Components leverage the mandatoryResource scheme to ensure that all required JavaScript resources are pre-loaded into the HEAD region of the page when the page is initially loaded (since head contents cannot be dynamically loaded later).

      However, it would be advantageous if component JavaScript could instead be loaded dynamically at render time for the component in the body section of the page, similar to how the MOBI components work.

      This task is to complete a survey of each ACE component to determine if their JavaScript resource are required to be loaded in the head region, or if the component can functional successfully if their JavaScript is loaded dynamically in the body region. Once we understand the scope of the head-region loading requirement we can better determine if it is feasible to permanently modify the components to load their JS dynamically in the body, etc."

      To complete this, each component should be modified to use the dynamic body loading technique (instead of pre-loading in the head) and tested to determine if they continue to work, etc.

      QA has extensive tests for each component that could be leveraged for this also."

      Current description:

      Find a way to update the 'head' element so that new JS or CSS resources are added dynamically to the page.

        Issue Links

          Activity

          Hide
          Mircea Toma added a comment -

          Implemented custom 'head' update to avoid full page reloads when 'head' element is changed. Modified GMap component to render local paths for its JS resource and proxy the requests made for them.

          Show
          Mircea Toma added a comment - Implemented custom 'head' update to avoid full page reloads when 'head' element is changed. Modified GMap component to render local paths for its JS resource and proxy the requests made for them.
          Hide
          Mircea Toma added a comment -

          Removed mandatory resource definitions in component-showcase.

          Show
          Mircea Toma added a comment - Removed mandatory resource definitions in component-showcase.
          Hide
          Mircea Toma added a comment -

          Added server-side 'head' custom update generation. Also modified bridge to keep track of loaded stylesheets and read the newly referenced ones .

          Show
          Mircea Toma added a comment - Added server-side 'head' custom update generation. Also modified bridge to keep track of loaded stylesheets and read the newly referenced ones .
          Hide
          Mircea Toma added a comment -

          Modified showcase to use non-redirecting navigation.

          Show
          Mircea Toma added a comment - Modified showcase to use non-redirecting navigation.
          Hide
          Ken Fyten added a comment -

          Note that in order to enable this behavior, the following web.xml configuration parameter must be specified:

          org.icefaces.generateHeadUpdate='true'
          
          Show
          Ken Fyten added a comment - Note that in order to enable this behavior, the following web.xml configuration parameter must be specified: org.icefaces.generateHeadUpdate=' true '
          Hide
          Carmen Cristurean added a comment -

          All ACE components tests without Mandatory Resource Config have been executed manually in IE10, Firefox23, Chrome29, and they all pass (icefaces3/trunk rev# 38059).

          Show
          Carmen Cristurean added a comment - All ACE components tests without Mandatory Resource Config have been executed manually in IE10, Firefox23, Chrome29, and they all pass (icefaces3/trunk rev# 38059).

            People

            • Assignee:
              Mircea Toma
              Reporter:
              Ken Fyten
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: