Uploaded image for project: 'MyFaces Portlet Bridge'
  1. MyFaces Portlet Bridge
  2. PORTLETBRIDGE-196

Proposal for 3.0 API: javax.portlet.faces.application.BridgeNavigationHandler and associated BridgeNavigationHandlerFactory

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 3.0.0
    • None
    • General
    • None

    Description

      This abstract class would define the contract for a brige-specific NavigationHandler that fortifies the JSF runtime with the ability to handle to-view-id entries in navigaion-case blocks that respect the Bridge.PORTLET_MODE_PARAMETER parameter for switching to a different PortletMode(s) and the Bridge.PORTLET_WINDOWSTATE_PARAMETER parameter for switching to a different WindowState(s).

      It would also have the ability to react to changes in portlet modes that were done programattically by portlet developers that called StateAwareResponse.setWindowState(WindowState) during the INVOKE_APPLICATION phase of the JSF lifecycle.

      Finally, this abstraction would remove the requirement for setting values on the ActionResponse in the ExternalContext.encodeActionURL(String) method as described in Spec section 5.4.2. Strictly speaking that method, is only supposed to return a value, and not take any underlying actions.

      Please refer to the following classes for this proposal:

      http://svn.portletfaces.org/svn/portletfaces/bridge/portletfaces-bridge-api/trunk/src/main/java/org/portletfaces/bridge/application/BridgeNavigationHandler.java
      http://svn.portletfaces.org/svn/portletfaces/bridge/portletfaces-bridge-api/trunk/src/main/java/org/portletfaces/bridge/application/BridgeNavigationHandlerFactory.java

      Attachments

        Issue Links

          Activity

            People

              mike_freedman Michael Freedman
              ngriffin7a Neil Griffin (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: