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

        Mark Collette created issue -
        Nils Lundquist made changes -
        Field Original Value New Value
        Link This issue blocks ICE-6748 [ ICE-6748 ]
        Nils Lundquist made changes -
        Assignee Nils Lundquist [ nils.lundquist ]
        Nils Lundquist made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Nils Lundquist made changes -
        Status In Progress [ 3 ] Open [ 1 ]
        Ken Fyten made changes -
        Salesforce Case []
        Fix Version/s 2.1 [ 10241 ]
        Affects [Documentation (User Guide, Ref. Guide, etc.), Compatibility/Configuration]
        Assignee Priority P2
        Assignee Nils Lundquist [ nils.lundquist ] Jack van Ooststroom [ jack.van.ooststroom ]
        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">.
        Jack Van Ooststroom made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #25068 Thu Jul 21 13:35:16 MDT 2011 jack.van.ooststroom Fixed JIRA ICE-6820 : Add context param to control FacesMessagePhaseListener
        Files Changed
        Commit graph MODIFY /icefaces2/trunk/icefaces/core/src/main/java/org/icefaces/impl/facelets/tag/icefaces/core/ConfigHandler.java
        Commit graph MODIFY /icefaces2/trunk/icefaces/core/src/main/java/org/icefaces/impl/event/FacesMessagesPhaseListener.java
        Commit graph MODIFY /icefaces2/trunk/icefaces/core/src/main/java/org/icefaces/util/EnvUtils.java
        Commit graph MODIFY /icefaces2/trunk/icefaces/core/src/main/resources/META-INF/core.taglib.xml
        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.
        Jack Van Ooststroom made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Mark Collette added a comment -
        Show
        Mark Collette added a comment - We'll need documentation here: http://wiki.icefaces.org/display/ICE/Configuration
        Ken Fyten made changes -
        Fix Version/s 2.1-Beta [ 10291 ]
        Ken Fyten made changes -
        Summary Add context param to control FacesMessagePhaseListener Add context param to control FacesMessagePhaseListener (intelligent message cacheing)
        Salesforce Case []
        Ken Fyten made changes -
        Summary Add context param to control FacesMessagePhaseListener (intelligent message cacheing) Add context param to control FacesMessagePhaseListener (intelligent message caching)
        Salesforce Case []
        Mahmoud Saleh made changes -
        Comment [ i tried that in icefaces 2.0.2 but it doesn't work, please advise. ]
        Mahmoud Saleh made changes -
        Comment [ BTW, 2.0.2 is the latest version on your repo here:

        http://anonsvn.icefaces.org/repo/maven2/releases/org/icefaces/icefaces/ ]
        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.
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: