*
* @param attributes
*/
private void updateAjaxAttributesBackwardCompatibility(final AjaxRequestAttributes attributes)
{
AjaxCallListener backwardCompatibleAjaxCallListener = new AjaxCallListener();
backwardCompatibleAjaxCallListener.onSuccess(getSuccessScript());
backwardCompatibleAjaxCallListener.onFailure(getFailureScript());
backwardCompatibleAjaxCallListener.onPrecondition(getPreconditionScript());
attributes.getAjaxCallListeners().add(backwardCompatibleAjaxCallListener);
AjaxChannel channel = getChannel();
if (channel != null)
{