Details
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.
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-8574changes the behaviour to always invoke the callbacks with the exception of submits triggered from non-ICEfaces views.