Also use `Widget::getAttributesFromDca()` in the `Ajax` class (see #6926)