ICEfaces
  1. ICEfaces
  2. ICE-3560

How to get ICEfaces and Facelets and Spring Web Flow running on a WebSphere Portal server

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.7.1
    • Fix Version/s: 1.8.2-RC1, 1.8.2
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      WebSphere Portal Server v6.0, Spring Web Flow .0.3

      Description

      I've just spent some time getting ICEfaces working together with Spring Web Flow on a WebSphere Portal server. I've allready mentioned this to Ted Goddard (spoke to him at the recent JSF One conference) and I promised him some code when we were done.....well. Here goes. Hope it's of any use to you.

      The first change is in your FacesContextFactoryImpl where I changed the getFacesContext method to include PortletContext as well:

      if (context instanceof ServletContext || context instanceof PortletContext) {

        Issue Links

          Activity

          Hide
          Ted Goddard added a comment -

          This patch looks good and the changes appear to be confined to Portlet/SWF integration. The only concerns would be:

          • ensure that no runtime dependency on portal.jar is introduced
          • com/icesoft/jasper/Constants.java appears to be used for more than constants relating to the Jasper compiler (however, this use is not specific to this patch, so there is "precedent").
          Show
          Ted Goddard added a comment - This patch looks good and the changes appear to be confined to Portlet/SWF integration. The only concerns would be: ensure that no runtime dependency on portal.jar is introduced com/icesoft/jasper/Constants.java appears to be used for more than constants relating to the Jasper compiler (however, this use is not specific to this patch, so there is "precedent").
          Hide
          Greg Dick added a comment -

          I've merged the changes into the latest code. Just checking to see if we have any regressions in the booking application.

          Show
          Greg Dick added a comment - I've merged the changes into the latest code. Just checking to see if we have any regressions in the booking application.
          Hide
          Greg Dick added a comment -

          I've checked in this code after running the booking app successfully. There still needs to be some major Spring Portal testing.

          Show
          Greg Dick added a comment - I've checked in this code after running the booking app successfully. There still needs to be some major Spring Portal testing.
          Hide
          Ken Fyten added a comment -

          Peter,

          This has been committed, please verify using WebSphere Portal, etc.

          Show
          Ken Fyten added a comment - Peter, This has been committed, please verify using WebSphere Portal, etc.
          Hide
          Peter Bødskov added a comment -

          I've downloaded and build ICEfaces 1.8.2-RC1 and it appears to be in order. Great!

          Show
          Peter Bødskov added a comment - I've downloaded and build ICEfaces 1.8.2-RC1 and it appears to be in order. Great!

            People

            • Assignee:
              Greg Dick
              Reporter:
              Peter Bødskov
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: