ICEfaces
  1. ICEfaces
  2. ICE-1331

Script tag link to ice-extras.js is broken

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.6DR#2
    • Fix Version/s: 1.6DR#2, 1.6
    • Component/s: Bridge
    • Labels:
      None
    • Environment:
      Win XP sp2, Firefox 1.5, JBoss 4.0.4 GA

      Description

      The drag and drop, menus, and other javascript dependant features weren't working. When viewing the browser's source of autoBeansFacelets, I noticed this:

      <script language="javascript" src="/autoBeansFacelets/xmlhttp/1173899385015/icefaces-d2d.js"></script>
      <script language="javascript" src="/autoBeansFacelets/xmlhttpnullice-extras.js"></script>

      This shows that the mechanism for generating the 1173899385015 number was partially working, but not fully.

        Activity

        Hide
        Mark Collette added a comment -

        Now the drag and drop and panelPopup and menus seem to be working. The problem was that the regular ice-extras.js path was set in a JavascriptContext's static initialiser, without calling StartupTime's startup() method.

        ICE-1331 Made StartupTime use a static initialiser for the value, instead of relying on someone else calling startup.

        icefaces\core\src\com\icesoft\faces\webapp\http\servlet\MainServlet.java
        icefaces\core\src\com\icesoft\faces\application\StartupTime.java

        Show
        Mark Collette added a comment - Now the drag and drop and panelPopup and menus seem to be working. The problem was that the regular ice-extras.js path was set in a JavascriptContext's static initialiser, without calling StartupTime's startup() method. ICE-1331 Made StartupTime use a static initialiser for the value, instead of relying on someone else calling startup. icefaces\core\src\com\icesoft\faces\webapp\http\servlet\MainServlet.java icefaces\core\src\com\icesoft\faces\application\StartupTime.java
        Hide
        Mark Collette added a comment -

        Subversion 13390 was where the fixes to those two files were committed.

        Show
        Mark Collette added a comment - Subversion 13390 was where the fixes to those two files were committed.

          People

          • Assignee:
            Unassigned
            Reporter:
            Mark Collette
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: