Details
Description
The mandatoryResourceConfiguration parameter allows the application to list which component resources are mandatory:
<context-param>
<param-name>org.icefaces.mandatoryResourceConfiguration</param-name>
<param-value></param-value>
</context-param>
By default, all components in any .jar file in the application will have their required resources loaded on each page (whether the component appears on that page or not). This guarantees that every component will function correctly even if it is added dynamically (such as via ui:include) but potentially introduces a cost of loading unused JavaScript.
Some applications, particularly this with mobile and desktop pages, may make use of substantially different components on different groups of pages. For this it is useful to specify the mandatoryResource configuration on a per-page basis (or in a page template for a group of pages) such as:
<icecore:config mandatoryResource="org.icefaces.ace.component.tab.TabSet" />
or
<icecore:config mandatoryResource="none" />
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Ted Goddard
created issue -
Ken Fyten
made changes -
Field | Original Value | New Value |
---|---|---|
Salesforce Case | [] | |
Fix Version/s | 2.1 [ 10241 ] | |
Affects | [Documentation (User Guide, Ref. Guide, etc.)] |
Ken Fyten
made changes -
Assignee | Ted Goddard [ ted.goddard ] |
Ken Fyten
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Fix Version/s | 2.1-Beta [ 10291 ] | |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |