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

Redirect during render doesn't refresh properly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.0-beta, 2.0.0-alpha
    • 1.0.0-beta, 2.0.0-alpha
    • Impl
    • None

    Description

      The redirect during render support doesn't retain the redirect URL across requests. If a user refreshes the portlet the original (before redirect) url is targeted. Though this results in the redirect replaying this doesn't always yield identical results than if you targeted the redirect url directly. This is because Faces (extensions) may encode additional state/info in the query string of the redirect url which changes each time such a redirect would be issued. To function properly the bridge must cache the redirect url, and detect that it should use it on subsequent refreshes (renders prior to action) instead of causing the redirect logic to be triggered all over again.

      Attachments

        Activity

          People

            mike_freedman Michael Freedman
            mike_freedman Michael Freedman
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: