3 Replies Latest reply on Feb 14, 2007 4:00 AM by codelion

    anyone success with seam-gen war to portal ?

    codelion

      Can't get it to work. Anyone success running any Seam (xhtml, not jsp) in a portal?

      In the end supposed to run in Liferay, but even success in JBoss Portal would be nice.

        • 1. Re: anyone success with seam-gen war to portal ?
          gavin.king

          I was also not able to make facelets work in portal. Which is not to say its impossible.

          • 2. Re: anyone success with seam-gen war to portal ?

            It's possible. At least if you "wrap" your WAR inside EAR.

            • 3. Re: anyone success with seam-gen war to portal ?
              codelion

              Jarkko,

              You have mentioned in a past posting you got it to work. Can you share a working project?

              If your project is confidential, I'd suggest make a super simple table, e.g. (Oracle example)

              CREATE TABLE THINGS
              (
               ID VARCHAR(30) PRIMARY KEY not null,
               TITLE VARCHAR(100) not null,
               DESCRIPTION VARCHAR(200) not null
              )


              then run seam setup (I tell it not to use existing tables at first, but I guess you could; also I've tested it for both .ear and .war), then run seam new-project, then run seam generate-entities (which you might not have to if you tell it to use existing tables at first).

              You can test it by running ant for it to deploy.

              I'd be happy to assist over IM or screen sharing to get to this point.

              Then you'd have a project you can "turn into a portlet".

              Once you have it working you can probably email a source archive, or if anyone here makes a JIRA issue, submit as attachment to a comment.

              I'd be happy to analyze your creation and document it, fit for Seam reference or Wiki, if that's ok with you, assuming you don't have time to do that.

              - Leo