So I have
But I want to pass in the tabChange event AND an ex
You can replace argument obj with additional property in bean and set needed value to this property on ajax request:
obj
See setPropertyActionListener