your problem seems to be 100% presentation. Business logic shouldn't
know anything about confirmation pages, because it's not a part of the
business use case.
Business logic should provide you the methods to perform the checks.
like:
in First Update Action:
if (service.hasKeyPairMoved())
se
Um, what is a keypair? A primary key?
I personally prefer to have "store" actions and "view" actions. In my
"store" action I would call some business code which verifies that
object can be saved automatically. And if not, then if "overwrite"
flag is set by client. If yes, store and show "view".
I
2 matches
Mail list logo