Re: Seperation between Controller and Model

2005-05-04 Thread Leon Rosenberg
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

Re: Seperation between Controller and Model

2005-05-03 Thread Michael Jouravlev
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