ICEfaces
  1. ICEfaces
  2. ICE-1741

submittedValue of component remains stored during page navigation

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.3, 1.6DR#5
    • Fix Version/s: 2.0-Alpha3, 2.0.0
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      any
    • Workaround Exists:
      Yes
    • Workaround Description:
      Hide
      created a simple test case:

      - pageA contains inputText and commandButton to navigate to pageB
      - pageB contains outputText to show inputText's value from pageA and commandButton to navigate back to pageA
      - both the inputText and outputText components are bound to the same backing bean

      only if the standardRequestScope context-param is set to true in web.xml, the submittedValue is cleared when the user navigates back to pageA
      Show
      created a simple test case: - pageA contains inputText and commandButton to navigate to pageB - pageB contains outputText to show inputText's value from pageA and commandButton to navigate back to pageA - both the inputText and outputText components are bound to the same backing bean only if the standardRequestScope context-param is set to true in web.xml, the submittedValue is cleared when the user navigates back to pageA

      Description

      during page navigation, the submittedValue of inputText components is not cleared.
      this is only possible when the standardRequestScope context parameter in web.xml is set to true.
      if there are any validation errors and the user navigates back to the original page, the old submittedValues
      are still remaining. usually one would expect the submittedValues always to be cleared when a real navigation
      is initiated to another page

        Issue Links

          Activity

          Repository Revision Date User Message
          ICEsoft Public SVN Repository #15315 Fri Dec 07 10:55:08 MST 2007 mircea.toma Revert request attribute map lifecycle behaviour.
          ICE-1741
          Files Changed
          Commit graph MODIFY /icefaces/branches/icefaces-1.6/icefaces/core/src/com/icesoft/faces/webapp/http/portlet/PortletExternalContext.java
          Commit graph MODIFY /icefaces/branches/icefaces-1.6/icefaces/core/src/com/icesoft/faces/webapp/http/servlet/ServletExternalContext.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #15314 Fri Dec 07 10:54:47 MST 2007 mircea.toma Revert request attribute map lifecycle behaviour.
          ICE-1741
          Files Changed
          Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/servlet/ServletExternalContext.java
          Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/portlet/PortletExternalContext.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #15310 Thu Dec 06 17:48:01 MST 2007 mircea.toma Revert request attribute map lifecycle behaviour.
          ICE-1741
          Files Changed
          Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/servlet/ServletExternalContext.java
          Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/portlet/PortletExternalContext.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #15252 Mon Nov 26 17:53:29 MST 2007 mircea.toma Stop propagating attributes between page reloads.

          ICE-1741
          Files Changed
          Commit graph MODIFY /icefaces/branches/icefaces-1.6/icefaces/core/src/com/icesoft/faces/webapp/http/portlet/PortletExternalContext.java
          Commit graph MODIFY /icefaces/branches/icefaces-1.6/icefaces/core/src/com/icesoft/faces/webapp/http/servlet/ServletExternalContext.java

            People

            • Assignee:
              Mircea Toma
              Reporter:
              Michael Thiem
            • Votes:
              10 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: