ICEfaces
  1. ICEfaces
  2. ICE-10554

Persisting FacesMessages on redirect or push update

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-3.3.0.GA_P02, 4.0
    • Fix Version/s: None
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      All

      Description

      With JSF the FacesMessages are request based so that they are cleared on each request. With ICEfaces we persist the messages to last over ajax updates.

      A customer has a requirement to persist the messages over a redirect navigation. There is a PhaseListener workaround that is available online which helps to persist the messages over the redirect.

      A few issues are seen with this, after the redirect, if a push updates is received, the messages are cleared. With a change to the PhaseListener it keeps these messages and restores them from the session map. The draw back to this is that the messages are always shown unless manually removed from the map.

      It would be interesting to see if the ICEfaces message persistence could be enhanced to allow persistence over a redirect navigation.
      1. Case13332ExampleICE.zip
        25 kB
        Arran Mccullough
      2. MultiPageMessagesSupport.java
        5 kB
        Mircea Toma

        Activity

        Arran Mccullough created issue -
        Arran Mccullough made changes -
        Field Original Value New Value
        Attachment Case13332ExampleICE.zip [ 18690 ]
        Ken Fyten made changes -
        Fix Version/s 4.1 [ 11375 ]
        Ken Fyten made changes -
        Assignee Ken Fyten [ ken.fyten ]
        Ken Fyten made changes -
        Fix Version/s EE-4.1.0.GA [ 12171 ]
        Fix Version/s 4.1 [ 11375 ]
        Ken Fyten made changes -
        Summary Persisting FacesMessages on redirect Persisting FacesMessages on redirect or push update
        Ken Fyten made changes -
        Assignee Ken Fyten [ ken.fyten ] Mircea Toma [ mircea.toma ]
        Assignee Priority P2 [ 10011 ]
        Mircea Toma made changes -
        Attachment MultiPageMessagesSupport.java [ 22106 ]
        Ken Fyten made changes -
        Fix Version/s EE-4.1.0.GA [ 12171 ]
        Ken Fyten made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Arran Mccullough
          • Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: