ICEfaces
  1. ICEfaces
  2. ICE-6820

Add context param to control FacesMessagePhaseListener (intelligent message caching)

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.1
    • Fix Version/s: 2.1-Beta, 3.0
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      ICEfaces2
    • Assignee Priority:
      P2
    • Affects:
      Documentation (User Guide, Ref. Guide, etc.), Compatibility/Configuration

      Description

      The FacesMessagePhaseListener was added by ICE-5750 to persist faces messages across single submits. This behaviour is currently always enabled. We should add a context param to control it, so we can optionally disable it.

        Activity

        Hide
        Ted Goddard added a comment -

        This should also be configurable via <icecore:config messagePersistence="true">.

        Show
        Ted Goddard added a comment - This should also be configurable via <icecore:config messagePersistence="true">.
        Hide
        Jack Van Ooststroom added a comment -

        The FacesMessagePhaseListener can be contolled using the following two options:

        1. <context-param>
        <param-name>org.icefaces.messagePersistence</param-name>
        <param-value>true</param-value>
        </context-param>

        2. <icecore:config messagePersistence="true" />

        The context-param has a default value of "true", the config tag attribute does not have a default value. Finally, the config tag attribute takes precedence over the context-param.

        Marking this one as FIXED.

        Show
        Jack Van Ooststroom added a comment - The FacesMessagePhaseListener can be contolled using the following two options: 1. <context-param> <param-name>org.icefaces.messagePersistence</param-name> <param-value>true</param-value> </context-param> 2. <icecore:config messagePersistence="true" /> The context-param has a default value of "true", the config tag attribute does not have a default value. Finally, the config tag attribute takes precedence over the context-param. Marking this one as FIXED.
        Hide
        Mark Collette added a comment -
        Show
        Mark Collette added a comment - We'll need documentation here: http://wiki.icefaces.org/display/ICE/Configuration
        Hide
        Mahmoud Saleh added a comment -

        how to get the version 2.1-Beta ?
        and when the version 3.0 is going to be released ?

        Show
        Mahmoud Saleh added a comment - how to get the version 2.1-Beta ? and when the version 3.0 is going to be released ?
        Hide
        Mark Collette added a comment -

        We've just released ICEfaces 3.0.0.RC1 today, and the full ICEfaces 3.0.0 release should be in the next couple of weeks.

        Show
        Mark Collette added a comment - We've just released ICEfaces 3.0.0.RC1 today, and the full ICEfaces 3.0.0 release should be in the next couple of weeks.

          People

          • Assignee:
            Jack Van Ooststroom
            Reporter:
            Mark Collette
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: