3 Replies Latest reply on Oct 16, 2007 9:42 AM by orhan yilmaz

    Seam 2.0 / Tomahawk 1.1.6

    Marcus Schmidke Newbie

      Hello all,

      the last few days I got completely stuck in using Tomahawk 1.1.6 with JBoss 4.2 and Seam 2.0 and Facelets.

      The first steps seem simple - downloading tomahawk-1.1.6.jar, tomahawk-facelets-1.1.6.jar, modifying web.xml and so on. After a lot of try and error, the first page gets displayed, no errors in the server log, everything went well.

      But then the problems begin. The page has a jscookmenu which needs a hidden field to post back the selected item. And this hidden field isn't rendered by JSF RI 1.2 Form Tag. As a consequence, I tried to get MyFaces 1.2.0 into it, but this does absolutely not work. WAR_BUNDES_JSF_IMPL in web.xml, agreed, but starting up shows errors in the different faces-config.xml in the different jars, for example, jsf-facelets.jar/META-INF/faces-config. Patched the jars, now getting a "SeamApplicationFactory is no ApplicationFactory" IllegalArgumentException.

      Perhaps I would manage to correct this error message too, but the next error wouldn't be far away, I fear.

      Perhaps I'm going the completely wrong way.

      I do not really want to use MyFaces Core, but I have to migrate some sources which make use of Tomahawk components (keep frontend, rewrite business logic). So I thought it would be the simplest to make use of Tomahawk.

      But it seems I'm spending days after days of setting up some environment which is not the one intended by Seam.

      Do you have any suggestions for me?

      Is Tomahawk / JSF RI an intended platform for Seam?
      Or is Tomahawk / MyFaces core one?
      Or shall I try to migrate from Tomahawk to RichFaces?

      What shall I do??