ICEfaces
  1. ICEfaces
  2. ICE-9622

Compat JS Library is automatically loading with icefaces-compat.jar

    Details

    • Assignee Priority:
      P2

      Description

      The ICEfaces compat js library is automatically being loaded in the browser when the icefaces-compat.jar is on the classpath. This is not desirable as there are js conflicts between between the compat js library and other libraries, such as mobi. Users may want to have xhtml pages use only the ace or mobi libraries, without the compat js library, while still requiring ice on other pages, forcing them to include the compat jar on the classpath, which will load the compat js library on all pages.

        Activity

        Hide
        Philip Breau added a comment -

        Test case showing the compat js loading on a page without ice tags or namespace. The mojarra jar was removed for attachment size limitations.

        Show
        Philip Breau added a comment - Test case showing the compat js loading on a page without ice tags or namespace. The mojarra jar was removed for attachment size limitations.
        Hide
        Mircea Toma added a comment -

        Modified ExtraSetup event listener to not add compat resources when wired up. Added resource dependency annotations to all compat components to enable resource loading only when compat components are present in the page.

        Show
        Mircea Toma added a comment - Modified ExtraSetup event listener to not add compat resources when wired up. Added resource dependency annotations to all compat components to enable resource loading only when compat components are present in the page.
        Hide
        Mircea Toma added a comment -

        Back-ported fix.

        Show
        Mircea Toma added a comment - Back-ported fix.

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Philip Breau
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: