Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-2659

TagDecorator in IMPL and API ...

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.0
    • Component/s: JSR-314
    • Labels:
      None

      Description

      in IMPL we have this interface:
      https://svn.apache.org/repos/asf/myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/facelets/tag/TagDecorator.java

      However it has been promoted to be an API:
      https://svn.apache.org/repos/asf/myfaces/core/trunk/api/src/main/java/javax/faces/view/facelets/TagDecorator.java

      the IMPL one is used in these classes:

      core/impl/src/main/java/org/apache/myfaces/view/facelets/FaceletViewHandler.java
      core/impl/src/main/java/org/apache/myfaces/view/facelets/FaceletViewDeclarationLanguage.java
      core/impl/src/main/java/org/apache/myfaces/view/facelets/compiler/CompilationManager.java
      core/impl/src/main/java/org/apache/myfaces/view/facelets/compiler/Compiler.java
      core/impl/src/main/java/org/apache/myfaces/view/facelets/tag/jsf/html/HtmlDecorator.java
      core/impl/src/main/java/org/apache/myfaces/view/facelets/tag/CompositeTagDecorator.java

      and this "dependency" leeds to problems like:

      SEVERE: Error Loading decorator: oracle.adfinternal.view.faces.facelets.rich.AdfTagDecorator
      java.lang.ClassCastException: oracle.adfinternal.view.faces.facelets.rich.AdfTagDecorator cannot be cast to org.apache.myfaces.view.facelets.tag.TagDecorator
      at org.apache.myfaces.view.facelets.FaceletViewDeclarationLanguage.loadDecorators(FaceletViewDeclarationLanguage.java:1645)
      at org.apache.myfaces.view.facelets.FaceletViewDeclarationLanguage.createCompiler(FaceletViewDeclarationLanguage.java:1286)
      at org.apache.myfaces.view.facelets.FaceletViewDeclarationLanguage.initialize(FaceletViewDeclarationLanguage.java:1617)
      at org.apache.myfaces.view.facelets.FaceletViewDeclarationLanguage.<init>(FaceletViewDeclarationLanguage.java:238)
      at org.apache.myfaces.view.facelets.FaceletViewDeclarationLanguageStrategy.<init>(FaceletViewDeclarationLanguageStrategy.java:52)
      at org.apache.myfaces.view.ViewDeclarationLanguageFactoryImpl.initialize(ViewDeclarationLanguageFactoryImpl.java:106)
      at org.apache.myfaces.view.ViewDeclarationLanguageFactoryImpl.getViewDeclarationLanguage(ViewDeclarationLanguageFactoryImpl.java:79)
      at org.apache.myfaces.trinidadinternal.application.ViewDeclarationLanguageFactoryImpl.getViewDeclarationLanguage(ViewDeclarationLanguageFactoryImpl.java:77)
      at org.apache.myfaces.application.ViewHandlerImpl.getViewDeclarationLanguage(ViewHandlerImpl.java:136)

        Attachments

        1. ASF.LICENSE.NOT.GRANTED--MYFACES_2659
          6 kB
          Matthias Wessendorf

          Activity

            People

            • Assignee:
              matzew Matthias Wessendorf
              Reporter:
              matzew Matthias Wessendorf
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: