ICEfaces
  1. ICEfaces
  2. ICE-5728

ViewState is not applied to all forms

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-Alpha2
    • Fix Version/s: 2.0-Alpha3, 2.0.0
    • Component/s: Bridge, Framework
    • Labels:
      None
    • Environment:
      ICEfaces 2 JSF 2

      Description

      Based on the navigation test (samples/test/nav) It looks like there may be a problem during certain navigation scenarios.

      If you click on a button that causes a full page replacement (ie a ViewRoot update), then the ViewState does not appear to be re-applied to all the forms in the page. This leads to the next submission likely not working properly.

      In the navigation test identified above, if you click a button that posts back to the same page and:

      - with stock JSF 2, has f:ajax render='all' or
      - is enabled with ICEfaces

      the resulting full page update is applied but the ViewState update is not applied to all the forms.

      If you then click a button that attempts to navigate to page 2, it will not work because the ViewState is not included. Instead, you'll get another ViewRoot update of the full page, which will then properly apply the ViewState to all the forms and the next click will work as designed and navigate you to page 2.

        Issue Links

          Activity

          Deryk Sinotte created issue -
          Deryk Sinotte made changes -
          Field Original Value New Value
          Salesforce Case []
          Assignee Mircea Toma [ mircea.toma ]
          Mircea Toma made changes -
          Salesforce Case []
          Fix Version/s 2.0-Alpha3 [ 10032 ]
          Mircea Toma made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Deryk Sinotte made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          Mircea Toma made changes -
          Status Reopened [ 4 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Mircea Toma made changes -
          Link This issue blocks ICE-5675 [ ICE-5675 ]
          Mircea Toma made changes -
          Link This issue blocks ICE-5675 [ ICE-5675 ]
          Mircea Toma made changes -
          Link This issue depends on ICE-5675 [ ICE-5675 ]
          Ken Fyten made changes -
          Fix Version/s 2.0.0 [ 10230 ]
          Ken Fyten made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              Mircea Toma
              Reporter:
              Deryk Sinotte
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: