it's hard for users of this class to change active tab on server side (i know that's not your intention, but users of your class could wish to), i would move  your tab iteration to onInitialize and during onConfigure i would set the active state.