private void applyChangesToContent() { if (_src == null) { if (!getChildren().isEmpty()) getChildren().clear(); else if (!_instantMode && getChildPage() != null) getChildPage().removeComponents(); } else { if (_instantMode && _afterComposed) afterCompose(); else if (!_instantMode && "auto".equals(getMode()) && !getChildren().isEmpty()) //Bug ZK-1437: auto mode has no chance to clear the content if src is changed (_instantMode become false) getChildren().clear(); } }