MyFaces Trinidad
  1. MyFaces Trinidad
  2. TRINIDAD-2205

Update mavin-faces-plugin to accept JSF 2.1 spec

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.8-plugins
    • Fix Version/s: 2.0.8-plugins
    • Component/s: Build, Plugins
    • Labels:
      None

      Description

      JsfVersion.java doesn't have enum property and associated accessors for JSF_21.
      GenerateFacesConfigMojo.java needs to handle 2.1 by loading new XSL for 2.1
      Need a new XSL for 2.1 which extends the 2.0 XSL, but sets new version and XSD URI for JSF 2.1

      1. jsfSpec21.diff
        13 kB
        Jeremy C. Hull
      2. jsfSpec21.diff
        13 kB
        Jeremy C. Hull
      3. JarResourceResolver.java
        1 kB
        Jeremy C. Hull
      4. transform21.xsl
        5 kB
        Jeremy C. Hull

        Activity

        Hide
        Jeremy C. Hull added a comment -

        I had to create a Jar URI resolver for xslt processor to pick up imported transform20.xsl from jar.

        Show
        Jeremy C. Hull added a comment - I had to create a Jar URI resolver for xslt processor to pick up imported transform20.xsl from jar.
        Hide
        Jeremy C. Hull added a comment -

        maven-faces-plugin/src/main/resources/org/apache/myfaces/trinidadbuild/plugin/faces/resources/

        Show
        Jeremy C. Hull added a comment - maven-faces-plugin/src/main/resources/org/apache/myfaces/trinidadbuild/plugin/faces/resources/
        Hide
        Jeremy C. Hull added a comment -

        File locations
        A maven-faces-plugin/src/main/java/org/apache/myfaces/trinidadbuild/plugin/faces/JarResourceResolver.java
        A maven-faces-plugin/src/main/resources/org/apache/myfaces/trinidadbuild/plugin/faces/resources/transform21.xsl

        Show
        Jeremy C. Hull added a comment - File locations A maven-faces-plugin/src/main/java/org/apache/myfaces/trinidadbuild/plugin/faces/JarResourceResolver.java A maven-faces-plugin/src/main/resources/org/apache/myfaces/trinidadbuild/plugin/faces/resources/transform21.xsl

          People

          • Assignee:
            Unassigned
            Reporter:
            Jeremy C. Hull
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 24h
              24h
              Remaining:
              Remaining Estimate - 24h
              24h
              Logged:
              Time Spent - Not Specified
              Not Specified

                Development