The relationship between contextual and dispositional variables and well-being and hopelessness in school context.