Hi, You could try using a StateTransition which would perform the control then return the current state value.
class A(Wizard):
real_state = StateView(...)
check_state = StateTransition()
def transition_check_state(self, session):
# perform checks using session.real_state
if errors:
self.raise_user_error(errors)
return 'real_state'
That should do it.
Jean CAVALLO
--
[email protected] mailing list
