ICEfaces
  1. ICEfaces
  2. ICE-5185

Next request is not an AJAX call if D2D rendering replaces <form>

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-Alpha1
    • Fix Version/s: 2.0-Beta1, 2.0.0
    • Component/s: Bridge
    • Labels:
      None
    • Environment:
      ICEfaces 2.0 SVN revision 19847

      Description

      If DOM-Diffing decides to send an updated <form> element to the bridge, the next request is a normal form post instead of an AJAX call.

      This is because this new <form> instance is not being decorated anymore with the logic to call "submit" on the bridge instead of a normal form post. This decoration only happens on window.onLoad() which is of course not called in the case of incremental page updates. Search for "onLoad(window, function()" in bridge.js

        Activity

        Hide
        Adrian Gygax added a comment -

        Added testcase for this bug.

        If the textfield doesn't have a defined ID, the whole form gets updated. If the textfield would have a defined ID the bug wouldn't occur.

        Show
        Adrian Gygax added a comment - Added testcase for this bug. If the textfield doesn't have a defined ID, the whole form gets updated. If the textfield would have a defined ID the bug wouldn't occur.
        Hide
        Mircea Toma added a comment -

        This issue is already fixed by ICE-5524.

        Show
        Mircea Toma added a comment - This issue is already fixed by ICE-5524 .

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Adrian Gygax
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: