In an edition panel we have a bidirectional binding between UI elements and their models. But what happens when user wishes to cancel all changes?
And what happens if two users access the same view concurrently?
You define a transactional element in Arena using @Transactional annotation.
@Transactional @Observable class Customer extends Entity ...
There is also a @TransactionalAndObservable annotation:
@TransactionalAndObservable class Customer extends Entity ...
All classes marked with @Transactional work in a declarative transaction within a TransactionalDialog panel.