2 Replies Latest reply on Sep 1, 2006 2:00 PM by mzeijen

    Portlet view modes

    mzeijen

      I want to use Seam for some portlet development. I am wondering how to implement the different view modes. I saw that the portlet handeling is done by myFaces (MyFacesGenericPortlet). I also found documents how to implement multiple view modes (https://developers.sun.com/learning/javaoneonline/2005/webtier/TS-3374.pdf#search=%22myfaces%20portlet%22)
      but I find it a bit confusing how to do this together with Seam.

      Has anyone experience with this and knows (or has an idea) how to implement this?

      I am also wondering if it is possible to use the jbpm page navigation together with portlets. I haven't tried it yet.

        • 1. Re: Portlet view modes
          ssilvert

          As you see from the slides you cited, it takes a little work to use JSF with portlet modes. After that talk, I came up with a slightly different approach shown here: http://wiki.apache.org/myfaces/UsingPortletModes
          Some others have tried it out and improved upon it.

          JSR-301 promises to standardize a way to use modes with JSF portlets, but that is a long way off. For now, the best way to accomplish the mode changes will be application dependent. Because the mode changes are done before the JSF lifecycle methods are called, it really doesn't have much to do with Seam. So Seam shouldn't enter into the mix here.

          Stan

          • 2. Re: Portlet view modes
            mzeijen

            Ok thanks. I will try it out.