MyFaces Trinidad
  1. MyFaces Trinidad
  2. TRINIDAD-1215

org.apache.myfaces.trinidadinternal.menu.MenuNode has a dependency on javax.faces.webapp.UIComponentTag

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.9-core
    • Fix Version/s: 1.2.10-core
    • Component/s: Components
    • Labels:
      None
    • Environment:
      MyFaces 1.2.3, Trinidad 1.2.9, Facelets 1.1.14

      Description

      A NoClassDefFoundError occurs when using a tr:commandNavigationItem inside a tr:navigationPane tag to render a org.apache.myfaces.trinidad.model.XMLMenuModel. when using Facelets in a non-JSP 2.1 container.

      This is the output from Facelets:
      /menu.xhtml @15,66 text="#

      {menuItem.label}

      ": oracle.classloader.util.AnnotatedNoClassDefFoundError: Missing class: javax.servlet.jsp.tagext.JspIdConsumer Dependent class: javax.faces.webapp.UIComponentClassicTagBase Loader: current-workspace-app.web.faceletMenuDemo:0.0.0 Code-Source: /develop/java/jakarta/myfaces-core-1.2.3/lib/myfaces-api-1.2.3.jar Configuration: <classpath> in /Users/richard/sandbox/faceletMenuDemo/java/src/web The missing class is not available from any code-source or loader in the system.

      The result is that the Trinidad XMLMenuModel cannot be used with Facelets in a non JSP 2.1 appserver.

      1. patch.diff
        9 kB
        Felix Röthenbacher

        Activity

        Matthias Weßendorf made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Matthias Weßendorf made changes -
        Resolution Fixed [ 1 ]
        Assignee Matthias Weßendorf [ matzew ]
        Fix Version/s 1.2.10-core [ 12313342 ]
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Felix Röthenbacher made changes -
        Attachment patch.diff [ 12392958 ]
        Felix Röthenbacher made changes -
        Field Original Value New Value
        Status Open [ 1 ] Patch Available [ 10002 ]
        Richard Yee created issue -

          People

          • Assignee:
            Matthias Weßendorf
            Reporter:
            Richard Yee
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development