5 Replies Latest reply on Mar 11, 2007 8:50 PM by jaejong kim

    Portal Request Architecture

    Ian White Newbie

      Nirvana would be a fully working demo that shows us how to build portlets using Seam + Facelets (.xhtml not JSP) + [IceFaces or Ajax4JSF] with support for Conversations etc.

      Some of the mechanisms/APIs you'd need to understand include:

      - JSF's 7 step request lifecycle
      - Portlet's lifecycle
      - SeamExtendedManagerPersistentPortletPhaseListener
      - Seam (JSF) Listener
      - PortalServlet
      - MyFacesGenericPortlet
      - com.icesoft.faces.facelets.D2DSeamFaceletViewHandler

      If anyone would share their knowledge of how these concepts are integrated, they would earn the respect and admiration of many. I'm trying hard to do it myself, but I'm on a steep learning curve - I come from a simple STRUTS b/g and am a newbie with the use of AOP, Interceptors, JSF, etc.

      Would any of the JBoss courses (or combination) be able to provide such knowledge ?

      Just thought I'd ask. I realise that if I could wait long enough a new version of Portal would eventually appear that does provide these things.

      Thanks in advance

      Ian
      Sydney

        • 1. Re: Portal Request Architecture
          Thomas Heute Master

          You could look at the "portal" demo in Seam (Seam+Portal+Facelets). There is no use of IceFaces or Ajax4JSF but adding it should be a no-brainer.

          We don't provide Seam public training, but if you are several from a company we can probably organize a workshop

          The JBoss for Web Developer training covers JBoss Portal and JSF (plus advacned Tomcat)

          • 2. Re: Portal Request Architecture
            Roy Russo Master

            Once 2.6 alpha is released (1+ weeks), I have an open req in jira to work on a downloadable seam demo and add it to the docs and portletswap.

            I'll try to encompass as much of what you ask as possible.

            • 3. Re: Portal Request Architecture
              Ian White Newbie

              Tom,

              you mentioned that I should look at the Seam portal demo, which is supposed to show the use of Seam + Portlet + Facelet, but the view files are JSP. The non-portal demo of Booking uses xhtml. Is the seam portal demo using Facelets ?

              Encouraging development:

              I had a little browse inside the Nuxos-5 ear, because it looks like it is using the whole combination of sought after technologies; i.e. seam + portlet + facelets + AJAX4JSF + jBPM.

              Perhaps their xml config files will provide some insight into how these APIs can work/fit together...

              BTW - JSF-Bridge - it's a proposed standardising of how the JSF and Portlet request lifecycles should be integrated. I assume JBoss are a player in this effort ?

              Thanks for the feedback - it really is appreciated.

              Ian

              • 4. Re: Portal Request Architecture
                Thomas Heute Master

                Oups, sorry you're right it's using JSPs not facelets. Hopefully Roy will come up with something using Facelets.

                Nuxos ? or Nuxeo maybe ? AS far as i know they are not using any JSR 168 portlet yet but they do use Facelets and most of the JBoss stack, JBoss AS, Seam, jBPM...

                About the JSF Bridge, "Red Hat Middleware LLC" (that's us ;)) is part of the expert group represented by our JSF specialist Stan Silvert (who did the bridge for MyFaces)

                • 5. Re: Portal Request Architecture
                  jaejong kim Newbie

                  Mr Roy!

                  Once 2.6 alpha is released (1+ weeks), I have an open req in jira to work on a downloadable seam demo and add it to the docs and portletswap.
                  I'll try to encompass as much of what you ask as possible.

                  I know You are busy. I'd like to know When this solution is possible.
                  I am wating this very much.