Uploaded image for project: 'Seam 2'
  1. Seam 2
  2. JBSEAM-4910

Seam 2.3.x (JSF2) doesn't work with myfaces

    XMLWordPrintable

    Details

      Description

      When using Seam 2.3.0-SNAPSHOT, with a page containing s:decorate tag, I get

      Caused by: java.lang.ClassNotFoundException: com.sun.faces.facelets.tag.ui.DecorateHandler
                      at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1678)
                      at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1523)
                      at org.jboss.seam.ui.handler.DecorateHandler.<init>(DecorateHandler.java:21)
                      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
                      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
                      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
                      at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
                      at org.apache.myfaces.view.facelets.tag.AbstractTagLibrary$UserComponentHandlerFactory.createHandler(AbstractTagLibrary.java:519)
                      at org.apache.myfaces.view.facelets.tag.AbstractTagLibrary.createTagHandler(AbstractTagLibrary.java:98)
                      at org.apache.myfaces.view.facelets.compiler.TagLibraryConfig$TagLibraryImpl.createTagHandler(TagLibraryConfig.java:113)
                      at org.apache.myfaces.view.facelets.tag.CompositeTagLibrary.createTagHandler(CompositeTagLibrary.java:93)
                      at org.apache.myfaces.view.facelets.compiler.TagUnit.createFaceletHandler(TagUnit.java:56)
                      at org.apache.myfaces.view.facelets.compiler.TextUnit.createFaceletHandler(TextUnit.java:104)
                      at org.apache.myfaces.view.facelets.compiler.CompilationUnit.getNextFaceletHandler(CompilationUnit.java:84)
                      at org.apache.myfaces.view.facelets.compiler.TagUnit.getNextHandler(TagUnit.java:61)
                      at org.apache.myfaces.view.facelets.tag.AbstractTagLibrary$ComponentConfigWrapper.getNextHandler(AbstractTagLibrary.java:431)
                      at javax.faces.view.facelets.TagHandler.<init>(TagHandler.java:41)
      

      This is due to org.jboss.seam.ui.handler.DecorateHandler in jboss-seam-ui-jsf2 using com.sun.faces.facelets.tag.ui.DecorateHandler (Mojarra class, whereas I'm using myfaces)

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            gonzalad Dupont Dupont (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: