Giovanni Trapattoni says his Republic of Ireland team did not have the correct mentality when they met Spain during last year's Euro 2012 finals.