Details
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.
<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.
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-1331Made 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