Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.0-Beta2
-
Fix Version/s: 2.0.0
-
Component/s: ACE-Components
-
Labels:None
-
Environment:ACE
-
ICEsoft Forum Reference:
Description
Running the ACE showcase application, you can see during the initial page load that a request is being made to the Yahoo's external API site:
http://yui.yahooapis.com/combo?3.1.1/build/oop/oop-min.js&3.1.1/build/event-custom/event-custom-min.js&3.1.1/build/attribute/attribute-base-min.js&3.1.1/build/base/base-base-min.js&3.1.1/build/event/event-base-min.js&3.1.1/build/dom/dom-min.js&3.1.1/build/node/node-min.js&3.1.1/build/event/event-delegate-min.js
This won't be acceptable for most intranet type deployments and could also constitute a security risk.
http://yui.yahooapis.com/combo?3.1.1/build/oop/oop-min.js&3.1.1/build/event-custom/event-custom-min.js&3.1.1/build/attribute/attribute-base-min.js&3.1.1/build/base/base-base-min.js&3.1.1/build/event/event-base-min.js&3.1.1/build/dom/dom-min.js&3.1.1/build/node/node-min.js&3.1.1/build/event/event-delegate-min.js
This won't be acceptable for most intranet type deployments and could also constitute a security risk.
Issue Links
- depends on
-
ICE-6194 ACE javascript css coalescing
-
- Closed
-
I tested the following pages with @MandatoryResourceComponent enabled and disabled (commented out from all renderer classes).
1 http://localhost:8080/ace-showcase/main.jsf
2 http://localhost:8080/ace-showcase/dateTimeEntry.jsf
3 http://localhost:8080/ace-showcase/tabSetServer.jsf
4 http://localhost:8080/ace-showcase/pushButton.jsf
5 http://localhost:8080/ace-test/calendar.jsf
6 http://localhost:8080/ace-test/slider.jsf
7 http://localhost:8080/ace-test/buttons/checkboxSam.jsf
8 http://localhost:8080/ace-test/buttons/menubutton.jsf
I confirmed, by comparing the source code of both versions, the difference in the number of resources loaded (with @MandatoryResourceComponent there are more resources in the page). In both cases, the pages worked normally, there were no warnings in the console (except for slider, but because of another issue).
So, it's safe to say that the 'bootstrap: false' flag does not affect the @MandatoryResourceComponent functionality.