ajax4jsf
  1. ajax4jsf
  2. AJAX4JSF-16

Duplicate faces-config.xml in ajax4jsf.jar

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: current
    • Fix Version/s: milestone 1
    • Component/s: www
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      16

      Description

      The duplicate faces-config.xml in the ajax4jsf.jar/META breaks most IDEs from
      actually using the library.

      For example, both Netbeans and Sun Java Studio Creator throw exception when
      Ajax4JSF is added to the classlib for a project. Removing the faces-config.xml
      from the jar is the only way to get Ajax4JSF to work with Netbeans/JSC.

      Please provide a standard built JAR without this problematic faces-config.xml file.

        Activity

        Hide
        sergeysmirnov added a comment -

        Any JSF component library should provide META-INF/faces-config.xml file in the
        JAR file according to the JSF specification. JSF Implementation must load the
        resources defined in such file.

        See:
        Section 9.4 JSF Core Tag Library
        Section 9.5 Standard HTML RenderKit Tag Library
        Section 10.2.6.1 #3 FactoryFinder
        Section 10.3.2 Application Startup Behavior

        The problem might be in the extension part of the file, that tool does not
        recognize correctly.

        Show
        sergeysmirnov added a comment - Any JSF component library should provide META-INF/faces-config.xml file in the JAR file according to the JSF specification. JSF Implementation must load the resources defined in such file. See: Section 9.4 JSF Core Tag Library Section 9.5 Standard HTML RenderKit Tag Library Section 10.2.6.1 #3 FactoryFinder Section 10.3.2 Application Startup Behavior The problem might be in the extension part of the file, that tool does not recognize correctly.
        Hide
        jacek added a comment -

        Hm, I see...I was going after seeing this discussion:
        http://forum.sun.com/jive/thread.jspa?forumID=123&threadID=105802

        Please close this issue, I will file it with the Netbeans team instead.
        Thank you

        Show
        jacek added a comment - Hm, I see...I was going after seeing this discussion: http://forum.sun.com/jive/thread.jspa?forumID=123&threadID=105802 Please close this issue, I will file it with the Netbeans team instead. Thank you

          People

          • Assignee:
            ajax4jsf-issues
            Reporter:
            jacek
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: