ICEfaces
  1. ICEfaces
  2. ICE-6318

Configuration parameter for MandatoryResource annotation

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-Beta2
    • Fix Version/s: 2.0.0
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      ICEfaces, ACE

      Description


      A context parameter is required to configure resource loading via the MandatoryResource annotation. Currently, all resources for all components are added, whether those components are used in the application or not. For instance, fileEntry does not require any YUI resources, but is included in the same .jar file as other components that force the loading of these resources.

      org.icefaces.mandatoryResourceConfiguration will be a web.xml context parameter as follows:
      undefined: all resources will be loaded
      empty string: no resources will be loaded
      space separated list: named components will have their resources loaded

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #23389 Wed Dec 08 15:19:38 MST 2010 ted.goddard sample configuration for mandatoryResourceComponent (ICE-6318)
        Files Changed
        Commit graph MODIFY /icefaces2/trunk/icefaces/samples/ace/showcase/src/main/webapp/WEB-INF/web.xml
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #23371 Tue Dec 07 17:17:56 MST 2010 ted.goddard org.icefaces.mandatoryResourceConfiguration implementation (ICE-6318)
        Files Changed
        Commit graph MODIFY /icefaces2/trunk/icefaces/core/src/main/java/org/icefaces/impl/renderkit/DOMRenderKit.java
        Commit graph MODIFY /icefaces2/trunk/icefaces/core/src/main/java/org/icefaces/util/EnvUtils.java

          People

          • Assignee:
            Ted Goddard
            Reporter:
            Ted Goddard
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: