Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2 Sprint 8
    • Fix Version/s: 2.2 Sprint 14
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      533
    • Status Whiteboard:
      Hide

      cat2 frame size_large importance_medium

      Show
      cat2 frame size_large importance_medium
    • Tags:

      Description

      The JSF specification defines the format and syntax for files containing the
      framework's metadata (e.g. faces-config.xml). The drawback to this is it limits
      the ability to reuse the base JSF implementation in a framework that extends it.
      A plugable API that allowed metadata to be feed into the base implementation
      this would open up a number of doors for extending the base JSF functionality.

        Issue Links

          Activity

          Hide
          Ed Burns added a comment -

          I spoke with David Schneider from ADFc on 20120207. He advised me that a simple specification for this issue would satisfy. Here it is.

          Modify the spec so that there's an API that is called exactly once, at startup, that will give an instance of org.w3c.dom.Document when called. This Document will be included in the list of Documents that form the runtime representation of the Application Configuration Resources.

          As usual, items specified in WEB-INF/faces-config.xml will take precedence over other items.

          Show
          Ed Burns added a comment - I spoke with David Schneider from ADFc on 20120207. He advised me that a simple specification for this issue would satisfy. Here it is. Modify the spec so that there's an API that is called exactly once, at startup, that will give an instance of org.w3c.dom.Document when called. This Document will be included in the list of Documents that form the runtime representation of the Application Configuration Resources. As usual, items specified in WEB-INF/faces-config.xml will take precedence over other items.
          Hide
          tedgoddard added a comment -

          If the scope of this feature is reduced to the previous comment: expose a parsed DOM (immutable or cloned for each caller) for each configuration file, it is not controversial and implementation would be straightforward.

          Show
          tedgoddard added a comment - If the scope of this feature is reduced to the previous comment: expose a parsed DOM (immutable or cloned for each caller) for each configuration file, it is not controversial and implementation would be straightforward.
          Hide
          Ed Burns added a comment -

          Manfred suggested using META-INF/services instead of an annotation. I asked David Schneider about this and he was OK with that approach.

          I'll rework this issue to use that approach.

          Show
          Ed Burns added a comment - Manfred suggested using META-INF/services instead of an annotation. I asked David Schneider about this and he was OK with that approach. I'll rework this issue to use that approach.
          Hide
          Ed Burns added a comment -

          New approach. Simpler to implement.

          Show
          Ed Burns added a comment - New approach. Simpler to implement.
          Hide
          Ed Burns added a comment -

          Andy Schwartz made some suggestions.

          Show
          Ed Burns added a comment - Andy Schwartz made some suggestions.

            People

            • Assignee:
              Ed Burns
              Reporter:
              daschneider
            • Votes:
              12 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1 week, 3 days
                1w 3d
                Remaining:
                Time Spent - 5 hours, 21 minutes Remaining Estimate - 1 week, 2 days, 18 hours, 39 minutes
                1w 2d 18h 39m
                Logged:
                Time Spent - 5 hours, 21 minutes Remaining Estimate - 1 week, 2 days, 18 hours, 39 minutes
                5h 21m