ICEfaces
  1. ICEfaces
  2. ICE-8581

ice.onElementUpdate not called when f:ajax does a submit

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.2.BETA1
    • Fix Version/s: 3.2
    • Component/s: Bridge
    • Labels:
      None
    • Environment:
      ICEfaces 3.2

      Description


      When an h: component is used with f:ajax, and that submit causes an update to a region of a page so that an element is updated or removed that had been registered with ice.onElementUpdate, the registered listener won't be called. This is because ice.onElementUpdate relies on ice.onBeforeUpdate, which does not get called when an f:ajax submit is made. We need to guarantee that ice.onElementUpdate will get called, to do component cleanup, regardless of which submit method was used.

        Activity

        Hide
        Arran Mccullough added a comment - - edited

        This could be similar to the issue I found in ICE-8574

        Show
        Arran Mccullough added a comment - - edited This could be similar to the issue I found in ICE-8574
        Hide
        Mircea Toma added a comment - - edited

        Indeed the issue is similar to ICE-8574. Whenever the submit is not triggered by the ICEfaces function the callbacks are not invoked.
        The fix applied for ICE-8574 changes the behaviour to always invoke the callbacks with the exception of submits triggered from non-ICEfaces views.

        Show
        Mircea Toma added a comment - - edited Indeed the issue is similar to ICE-8574 . Whenever the submit is not triggered by the ICEfaces function the callbacks are not invoked. The fix applied for ICE-8574 changes the behaviour to always invoke the callbacks with the exception of submits triggered from non-ICEfaces views.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: