Map<String, UIComponent> ajaxComponents = AjaxInternalUtils.parseAndStoreComponents(context);
if (ajaxComponents != null) {
// first decode the page
AbstractUIPage page = ComponentUtils.findPage(context);
page.decode(context);
page.markSubmittedForm(context);
FacesContextUtils.setAjax(context, true);
// decode the action if actionComponent not inside one of the ajaxComponents
// otherwise it is decoded there
decodeActionComponent(context, page, ajaxComponents);