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

-- 
tryton@googlegroups.com mailing list

Reply via email to