Details
-
Type: Improvement
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 2.0.2
-
Component/s: Bridge, ICE-Components
-
Labels:None
-
Environment:ICEfaces 2, ice:inputRichText component
-
Assignee Priority:P1
-
Affects:Documentation (User Guide, Ref. Guide, etc.), Compatibility/Configuration
Description
The inputRichText component JavaScript must be loaded into the <head> region of the page (CKeditor.js). Due to technical limitations with JSF partial-page updates not being able to update the HEAD region we preload the CKeditor.js into the head on every full page GET so that it is there should the ice:inputRichText component be added to the page later via a partial-page update.
However, this preloading is not efficient as it causes the CKeditor.js to be loaded and evaluated each time a page is loaded, even if the component is not being used. This JIRA is to add a mechanism (config. param?) that would allow the application to opt. out of the inputRichText JS preload if that component is not being used.
However, this preloading is not efficient as it causes the CKeditor.js to be loaded and evaluated each time a page is loaded, even if the component is not being used. This JIRA is to add a mechanism (config. param?) that would allow the application to opt. out of the inputRichText JS preload if that component is not being used.
Issue Links
- blocks
-
ICE-8166 ICEfaces Showcase sample app. - Remove legacy use of NavigationController.refreshPage()
- Closed
Could we just have the ice:inputRichText component adopt the mandatoryResource feature, so it could be controlled the same way as the ace: components?