ICEfaces
  1. ICEfaces
  2. ICE-9502

Provide load only dependency configuration for resources

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.3
    • Fix Version/s: 4.0.BETA, 4.0
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      ICEfaces
    • Assignee Priority:
      P1
    • Affects:
      Documentation (User Guide, Ref. Guide, etc.), Compatibility/Configuration

      Description

      Sometimes the dependency relationship between resources is not that strict, that is when there is no need to load all the transitive resources before. It is good enough to just load the resource after the resources defined in the metadata, if some are not loaded the dependant resource's code will adapt.
      For example:

      E depends on B
      C depends on B
      B depends on A

      D depends (load only) on E, C

      When only A and B is loaded, D is just ordered after these without forcing the loading of E and C.

        Issue Links

          Activity

          Repository Revision Date User Message
          ICEsoft Public SVN Repository #37440 Mon Aug 19 12:55:07 MDT 2013 mircea.toma ICE-9502 "depends-on" element is used now for the original dependency-only (not loading) behaviour. "requires" is the (container) element that enforces the loading of listed dependencies before the specified resource is loaded.
          Files Changed
          Commit graph MODIFY /icefaces3/trunk/icefaces/compat/core/src/main/resources/META-INF/resource-dependency.xml
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/META-INCLUDE/resource-dependency.xml
          Commit graph MODIFY /icefaces3/trunk/icefaces/core/src/main/resources/META-INF/resource-dependency.xml
          Commit graph MODIFY /icefaces3/trunk/icefaces/core/src/main/java/org/icefaces/impl/event/ResourceOrdering.java
          Commit graph MODIFY /icefaces3/trunk/icefaces/samples/showcase/showcase/src/main/resources-meta/resource-dependency.xml
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #37305 Mon Aug 05 15:50:20 MDT 2013 mircea.toma ICE-9502 Implemented soft resource dependency feature.
          Files Changed
          Commit graph MODIFY /icefaces3/trunk/icefaces/core/src/main/java/org/icefaces/impl/event/ResourceOrdering.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #37304 Mon Aug 05 15:49:02 MDT 2013 mircea.toma ICE-9502 Fix typos.
          Files Changed
          Commit graph MODIFY /icefaces3/trunk/icefaces/samples/showcase/showcase/src/main/resources-meta/resource-dependency.xml

            People

            • Assignee:
              Mircea Toma
              Reporter:
              Mircea Toma
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: